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/compat-cuda-gcc11-11.3.1-0.20221104.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wPOXQb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build + test -d /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-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.7X50Ru + umask 022 + cd /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build + rm -rf gcc-11-20221104 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gcc-11-20221104.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-11-20221104 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc-11.2-linux32.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc-11.2-pass-slibdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc-11.2-multi-do-libdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc-11.2-libtool-no-rpath.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.AAZedh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.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 gcc-11-20221104 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ echo -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 ++ sed -e s/-fno-rtti//g -e s/-fno-exceptions//g -e s/-mcpu=pentiumpro//g + OPT_FLAGS='-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' ++ echo -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 ++ sed -e s/-Wformat//g -e s/-Werror=format-security//g + OPT_FLAGS='-O2 -g -pipe -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' + case " $OPT_FLAGS " in + perl -pi -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables /' gcc/Makefile.in + rm -rf obj-x86_64-mageia-linux-gnu + mkdir obj-x86_64-mageia-linux-gnu + cd obj-x86_64-mageia-linux-gnu + LANGUAGES=c,c++,fortran,lto + LANGUAGES=c,c++,lto + LIBSTDCXX_FLAGS='--enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu' + SSP_FLAGS='--enable-ssp --disable-libssp' + ISL_FLAGS=--with-isl + LIBFFI_FLAGS=--disable-libffi + LIBC_FLAGS='--enable-threads=posix --with-linker-hash-style=gnu --enable-shared' + TARGET_FLAGS=--with-cpu=generic + CC=gcc + CFLAGS='-O2 -g -pipe -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' + CXXFLAGS='-O2 -g -pipe -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' + XCFLAGS='-O2 -g -pipe -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' + TCFLAGS='-O2 -g -pipe -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' + ../configure --prefix=/usr/lib/compat-cuda-gcc11 --libexecdir=/usr/lib/compat-cuda-gcc11/lib --with-slibdir=/lib64 '--with-pkgversion=Mageia 11.3.1-0.20221104.mga10' --with-bugurl=https://bugs.mageia.org/ --enable-checking=release --enable-languages=c,c++,lto --enable-linker-build-id --build=x86_64-mageia-linux-gnu --host=x86_64-mageia-linux-gnu --with-cpu=generic --enable-threads=posix --with-linker-hash-style=gnu --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-ssp --disable-libssp --with-isl --disable-libffi --with-system-zlib --disable-werror --with-python-dir=/lib/python3.12/site-packages --enable-lto --with-gcc-major-version-only checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for libatomic support... yes checking for libitm support... yes checking for libsanitizer support... yes checking for libvtv support... yes checking for libhsail-rt support... yes checking for libphobos support... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for x86_64-mageia-linux-gnu-gnatbind... no checking for gnatbind... no checking for x86_64-mageia-linux-gnu-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes checking for isl 0.15 or later... yes *** This configuration is not supported in the following subdirectories: zlib gnattools gotools target-libada target-libhsail-rt target-libphobos target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi target-libobjc target-liboffloadmic target-libssp (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for --enable-vtable-verify... no checking for bison... bison -y checking for bison... bison checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... no checking for runtest... no checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for x86_64-mageia-linux-gnu-as... no checking for as... as checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking for x86_64-mageia-linux-gnu-dsymutil... no checking for dsymutil... no checking for x86_64-mageia-linux-gnu-ld... no checking for ld... ld checking for x86_64-mageia-linux-gnu-lipo... no checking for lipo... no checking for x86_64-mageia-linux-gnu-nm... no checking for nm... nm checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-windres... no checking for windres... no checking for x86_64-mageia-linux-gnu-windmc... no checking for windmc... no checking for x86_64-mageia-linux-gnu-objcopy... no checking for objcopy... objcopy checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking for x86_64-mageia-linux-gnu-otool... no checking for otool... no checking for x86_64-mageia-linux-gnu-readelf... no checking for readelf... readelf checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gfortran... no checking for gccgo... no checking for gdc... no checking for ar... no checking for ar... ar checking for as... no checking for as... as checking for dlltool... no checking for dlltool... no checking for dsymutil... no checking for dsymutil... no checking for ld... no checking for ld... ld checking for lipo... no checking for lipo... no checking for nm... no checking for nm... nm checking for objcopy... no checking for objcopy... objcopy checking for objdump... no checking for objdump... objdump checking for otool... no checking for otool... no checking for ranlib... no checking for ranlib... ranlib checking for readelf... no checking for readelf... readelf checking for strip... no checking for strip... strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... host tool checking where to find the target as... host tool checking where to find the target cc... just compiled checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled checking where to find the target dlltool... host tool checking where to find the target dsymutil... host tool checking where to find the target gcc... just compiled checking where to find the target gfortran... host tool checking where to find the target gccgo... host tool checking where to find the target gdc... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objcopy... host tool checking where to find the target objdump... host tool checking where to find the target otool... host tool checking where to find the target ranlib... host tool checking where to find the target readelf... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile + touch ../gcc/c-gperf.h + tick=3 + /usr/bin/make -O -j48 V=1 VERBOSE=1 [ -f stage_final ] || echo stage3 > stage_final make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' Configuring stage 1 in ./intl configure: creating cache ./config.cache checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu/intl': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make[2]: *** [Makefile:6511: configure-stage1-intl] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' Configuring stage 1 in ./libdecnumber configure: creating cache ./config.cache checking whether /usr/bin/make sets $(MAKE)... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu/libdecnumber': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make[2]: *** [Makefile:10844: configure-stage1-libdecnumber] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' Configuring stage 1 in ./libbacktrace configure: creating cache ./config.cache checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu/libbacktrace': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make[2]: *** [Makefile:7835: configure-stage1-libbacktrace] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' Configuring stage 1 in ./libcody configure: creating cache ./config.cache checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking maintainer-mode... checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu/libcody': configure: error: cannot run C++ compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make[2]: *** [Makefile:9911: configure-stage1-libcody] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' Configuring stage 1 in ./lto-plugin configure: creating cache ./config.cache checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether /usr/bin/make sets $(MAKE)... yes checking whether /usr/bin/make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by /usr/bin/make... GNU checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu/lto-plugin': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details make[2]: *** [Makefile:14858: configure-stage1-lto-plugin] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' Configuring stage 1 in ./libiberty configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000 checking for perl... perl checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-ar... ar checking for x86_64-mageia-linux-gnu-ranlib... ranlib checking whether to install libiberty headers and static library... no configure: target_header_dir = checking for x86_64-mageia-linux-gnu-gcc... gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wc++-compat... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wshadow=local... yes checking whether gcc supports -pedantic ... yes checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for CET support... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[2]: *** [Makefile:11949: configure-stage1-libiberty] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' mkdir -p -- build-x86_64-mageia-linux-gnu/fixincludes Configuring in build-x86_64-mageia-linux-gnu/fixincludes configure: creating cache ./config.cache checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Woverlength-strings... yes checking whether gcc supports -pedantic -Wlong-long... yes checking for ANSI C header files... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/stat.h... (cached) yes checking for clearerr_unlocked... yes checking for feof_unlocked... yes checking for ferror_unlocked... yes checking for fflush_unlocked... yes checking for fgetc_unlocked... yes checking for fgets_unlocked... yes checking for fileno_unlocked... yes checking for fprintf_unlocked... no checking for fputc_unlocked... yes checking for fputs_unlocked... yes checking for fread_unlocked... yes checking for fwrite_unlocked... yes checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking whether abort is declared... yes checking whether asprintf is declared... yes checking whether basename is declared... yes checking whether errno is declared... no checking whether vasprintf is declared... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgetc_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fileno_unlocked is declared... yes checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking for an ANSI C-conforming const... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating mkheaders.almost config.status: creating config.h make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' mkdir -p -- build-x86_64-mageia-linux-gnu/libcpp Configuring in build-x86_64-mageia-linux-gnu/libcpp configure: creating cache ./config.cache checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking whether /usr/bin/make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ -std=c++11 accepts -g... yes checking for x86_64-mageia-linux-gnu-ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... ar checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for aclocal... aclocal checking for autoconf... autoconf checking for autoheader... autoheader checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wnarrowing... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wc++-compat... yes checking whether gcc supports -pedantic -Wlong-long... yes checking whether gcc supports -fno-exceptions... yes checking whether gcc supports -fno-rtti... yes checking dependency style of g++ -std=c++11... gcc3 checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for obstacks... yes checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for uintptr_t... yes checking for ptrdiff_t... yes checking for uint64_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of int... 4 checking size of long... 8 checking for clearerr_unlocked... yes checking for feof_unlocked... yes checking for ferror_unlocked... yes checking for fflush_unlocked... yes checking for fgetc_unlocked... yes checking for fgets_unlocked... yes checking for fileno_unlocked... yes checking for fprintf_unlocked... no checking for fputc_unlocked... yes checking for fputs_unlocked... yes checking for fread_unlocked... yes checking for fwrite_unlocked... yes checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking whether abort is declared... yes checking whether asprintf is declared... yes checking whether basename is declared... yes checking whether errno is declared... no checking whether getopt is declared... yes checking whether vasprintf is declared... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgetc_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fileno_unlocked is declared... yes checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking for nl_langinfo and CODESET... yes checking whether NLS is requested... no checking for uchar... checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for shared library run path origin... egrep: warning: egrep is obsolescent; using grep -E done checking for iconv... (cached) no checking for CET support... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depdir commands mkdir -p -- .deps make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' mkdir -p -- build-x86_64-mageia-linux-gnu/libiberty Configuring in build-x86_64-mageia-linux-gnu/libiberty configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000 checking for perl... perl checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-ar... ar checking for x86_64-mageia-linux-gnu-ranlib... ranlib checking whether to install libiberty headers and static library... no configure: target_header_dir = checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wc++-compat... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wshadow=local... yes checking whether gcc supports -pedantic ... yes checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for CET support... yes checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... (cached) yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for alloca.h... yes checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... yes checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... no checking for sys/systemcfg.h... no checking for stdint.h... (cached) yes checking for stdio_ext.h... yes checking for process.h... no checking for sys/prctl.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking for long long... yes checking size of long long... 8 checking for a 64-bit type... uint64_t checking for intptr_t... yes checking for uintptr_t... yes checking for ssize_t... yes checking for pid_t... yes checking for library containing strerror... none required checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bsearch... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for ffs... yes checking for getcwd... yes checking for getpagesize... yes checking for gettimeofday... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmem... yes checking for memmove... yes checking for mempcpy... yes checking for memset... yes checking for mkstemps... yes checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for snprintf... yes checking for sigsetmask... yes checking for stpcpy... yes checking for stpncpy... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for strtoll... yes checking for strtoull... yes checking for strverscmp... yes checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsnprintf... yes checking for vsprintf... yes checking for waitpid... yes checking for setproctitle... no checking whether alloca needs Cray hooks... no checking stack direction for C alloca... -1 checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _doprnt... no checking for sys_errlist... no checking for sys_nerr... no checking for sys_siglist... no checking for external symbol _system_configuration... no checking for __fsetlocking... yes checking for canonicalize_file_name... yes checking for dup3... yes checking for getrlimit... yes checking for getrusage... yes checking for getsysinfo... no checking for gettimeofday... (cached) yes checking for on_exit... yes checking for pipe2... yes checking for psignal... yes checking for pstat_getdynamic... no checking for pstat_getstatic... no checking for realpath... yes checking for setrlimit... yes checking for spawnve... no checking for spawnvpe... no checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for sysctl... no checking for sysmp... no checking for table... no checking for times... yes checking for wait3... yes checking for wait4... yes checking for sbrk... yes checking whether basename is declared... yes checking whether ffs is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether calloc is declared... yes checking whether getenv is declared... yes checking whether getopt is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether sbrk is declared... yes checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking whether strverscmp is declared... yes checking whether strnlen is declared... yes checking whether canonicalize_file_name must be declared... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for working strncmp... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: executing default commands make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/compat-cuda-gcc11-11.3.1-build/gcc-11-20221104/obj-x86_64-mageia-linux-gnu' make[1]: *** [Makefile:23599: stage1-bubble] Error 2 make: *** [Makefile:1015: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AAZedh (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AAZedh (%build) I: [iurt_root_command] ERROR: chroot