D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/fish-3.7.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tiTkZV sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mtg7SU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/fish-3.7.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/fish-3.7.1-build + rm -rf fish-3.7.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/fish-3.7.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd fish-3.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf 'pcre2*' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NN5sjf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/fish-3.7.1-build + 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 + cd fish-3.7.1 + '[' 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 -GNinja -- The C compiler identification is GNU 15.1.0 -- The CXX compiler identification is GNU 15.1.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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAS_NO_REDUNDANT_MOVE -- Performing Test HAS_NO_REDUNDANT_MOVE - Failed -- Performing Test HAS_REDUNDANT_MOVE -- Performing Test HAS_REDUNDANT_MOVE - Success -- Performing Test EMPTY_VALUE_INIT_ACCEPTED -- Performing Test EMPTY_VALUE_INIT_ACCEPTED - Success -- Performing Test DISABLE_STATIC_DESTRUCTORS -- Performing Test DISABLE_STATIC_DESTRUCTORS - Failed -- Found Curses: /usr/lib64/libcurses.so -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for backtrace_symbols -- Looking for backtrace_symbols - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for futimens -- Looking for futimens - found -- Looking for ctermid_r -- Looking for ctermid_r - not found -- Performing Test HAVE_STRUCT_DIRENT_D_TYPE -- Performing Test HAVE_STRUCT_DIRENT_D_TYPE - Success -- Looking for dirfd -- Looking for dirfd - found -- Looking for C++ include execinfo.h -- Looking for C++ include execinfo.h - found -- Looking for flock -- Looking for flock - found -- Looking for getpwent -- Looking for getpwent - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for gettext -- Looking for gettext - found -- Looking for killpg -- Looking for killpg - found -- Looking for mkostemp -- Looking for mkostemp - found -- Looking for include files curses.h, term.h -- Looking for include files curses.h, term.h - found -- Looking for C++ include siginfo.h -- Looking for C++ include siginfo.h - not found -- Looking for C++ include spawn.h -- Looking for C++ include spawn.h - found -- Performing Test HAVE_STRUCT_STAT_ST_CTIME_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_CTIME_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for C++ include sys/ioctl.h -- Looking for C++ include sys/ioctl.h - found -- Looking for C++ include sys/select.h -- Looking for C++ include sys/select.h - found -- Looking for include files sys/types.h, sys/sysctl.h -- Looking for include files sys/types.h, sys/sysctl.h - not found -- Looking for eventfd -- Looking for eventfd - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for wcscasecmp -- Looking for wcscasecmp - found -- Looking for wcsncasecmp -- Looking for wcsncasecmp - found -- Looking for include file xlocale.h -- Looking for include file xlocale.h - not found -- Looking for wcstod_l -- Looking for wcstod_l - found -- Looking for uselocale -- Looking for uselocale - not found -- Performing Test _HAVE_WINSIZE -- Performing Test _HAVE_WINSIZE - Success -- Looking for TIOCGWINSZ -- Looking for TIOCGWINSZ - found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of wchar_t[8] -- Check size of wchar_t[8] - done -- Performing Test TPARM_TAKES_VARARGS -- Performing Test TPARM_TAKES_VARARGS - Success -- Performing Test TPUTS_USES_INT_ARG -- Performing Test TPUTS_USES_INT_ARG - Success -- Performing Test HAVE_STD__MAKE_UNIQUE -- Performing Test HAVE_STD__MAKE_UNIQUE - Failed -- Performing Test HAVE_CX11_THREAD_LOCAL -- Performing Test HAVE_CX11_THREAD_LOCAL - Success -- Performing Test LIBATOMIC_NOT_NEEDED -- Performing Test LIBATOMIC_NOT_NEEDED - Success -- Performing Test HAVE_WAITSTATUS_SIGNAL_RET -- Performing Test HAVE_WAITSTATUS_SIGNAL_RET - Failed -- Found Gettext: /usr/bin/msgmerge (found version "0.22.5") -- Performing Test HAVE__NL_MSG_CAT_CNTR -- Performing Test HAVE__NL_MSG_CAT_CNTR - Success -- Using system PCRE2 library /usr/include CMake Error at cmake/Tests.cmake:48 (cmake_policy): Policy CMP0037 may not be set to OLD behavior because this version of CMake no longer supports it. The policy was introduced in CMake version 3.0.0, and use of NEW behavior is now required. Please either update your CMakeLists.txt files to conform to the new behavior or use an older version of CMake that still supports the old behavior. Run cmake --help-policy CMP0037 for more information. Call Stack (most recent call first): CMakeLists.txt:204 (include) -- The following features have been enabled: * gettext, translate messages with gettext * Documentation, user manual and documentation -- The following OPTIONAL packages have been found: * Curses * Gettext -- The following REQUIRED packages have been found: * Threads CMake Error at cmake/Tests.cmake:49 (add_custom_target): The target name "test" is reserved when CTest testing is enabled. Call Stack (most recent call first): CMakeLists.txt:204 (include) -- Configuring incomplete, errors occurred! error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NN5sjf (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NN5sjf (%build) I: [iurt_root_command] ERROR: chroot