D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/gl2ps-1.4.2-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ozVx6A + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + test -d /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2lUCae + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + rm -rf gl2ps-1.4.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gl2ps-1.4.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd gl2ps-1.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gl2ps-1.4.2-soversion.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gl2ps-1.4.2-so-link-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YUdzv5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + cd gl2ps-1.4.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -- The C compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for vsnprintf -- Looking for vsnprintf - found -- Found OpenGL: /usr/lib64/libOpenGL.so -- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.44") -- Could NOT find LATEX (missing: LATEX_COMPILER) -- Configuring done (0.4s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_RUNSTATEDIR CMAKE_INSTALL_SYSCONFDIR INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build + /usr/bin/cmake --build build -j48 --verbose Change Dir: '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j48 /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 -B/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/gmake -f CMakeFiles/lib.dir/build.make CMakeFiles/lib.dir/depend /usr/bin/gmake -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles/lib.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles/shared.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/gmake -f CMakeFiles/lib.dir/build.make CMakeFiles/lib.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/gmake -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' [ 25%] Building C object CMakeFiles/lib.dir/gl2ps.c.o /usr/bin/gcc -DHAVE_PNG -DHAVE_ZLIB -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -MD -MT CMakeFiles/lib.dir/gl2ps.c.o -MF CMakeFiles/lib.dir/gl2ps.c.o.d -o CMakeFiles/lib.dir/gl2ps.c.o -c /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/gl2ps.c [ 50%] Building C object CMakeFiles/shared.dir/gl2ps.c.o /usr/bin/gcc -DHAVE_PNG -DHAVE_ZLIB -Dshared_EXPORTS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -MD -MT CMakeFiles/shared.dir/gl2ps.c.o -MF CMakeFiles/shared.dir/gl2ps.c.o.d -o CMakeFiles/shared.dir/gl2ps.c.o -c /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/gl2ps.c [ 75%] Linking C shared library libgl2ps.so /usr/bin/cmake -E cmake_link_script CMakeFiles/shared.dir/link.txt --verbose=1 [100%] Linking C static library libgl2ps.a /usr/bin/cmake -P CMakeFiles/lib.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/lib.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -Wl,--dependency-file=CMakeFiles/shared.dir/link.d -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libgl2ps.so.1 -o libgl2ps.so.1.4.2 CMakeFiles/shared.dir/gl2ps.c.o -lGL -lz -lpng -lz -lm -lm -lpng -lm -lm /usr/bin/cmake -E cmake_symlink_library libgl2ps.so.1.4.2 libgl2ps.so.1 libgl2ps.so /usr/bin/ar qc libgl2ps.a CMakeFiles/lib.dir/gl2ps.c.o /usr/bin/ranlib libgl2ps.a gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' [100%] Built target lib [100%] Built target shared gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RaZuA4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build + mkdir /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/BUILDROOT + cd gl2ps-1.4.2 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR= 'INSTALL=/usr/bin/install -p' -C build make: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 -B/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/make -f CMakeFiles/lib.dir/build.make CMakeFiles/lib.dir/depend make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles/lib.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/make -f CMakeFiles/lib.dir/build.make CMakeFiles/lib.dir/build make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' make[2]: Nothing to be done for 'CMakeFiles/lib.dir/build'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' [ 50%] Built target lib /usr/bin/make -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/depend make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' cd /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2 /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles/shared.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/make -f CMakeFiles/shared.dir/build.make CMakeFiles/shared.dir/build make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' make[2]: Nothing to be done for 'CMakeFiles/shared.dir/build'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' [100%] Built target shared make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "RelWithDebInfo" -- Installing: /usr/lib64/libgl2ps.a CMake Error at cmake_install.cmake:46 (file): file INSTALL cannot copy file "/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build/libgl2ps.a" to "/usr/lib64/libgl2ps.a": Permission denied. make: *** [Makefile:123: install] Error 1 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/gl2ps-1.4.2-build/gl2ps-1.4.2/build' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RaZuA4 (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RaZuA4 (%install) I: [iurt_root_command] ERROR: chroot