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/gcc-15.1.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f3L6vD sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8uhRpo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build + rm -rf gcc-15.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gcc-15.1.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-15.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc-12-linux32.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc-12-pass-slibdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc-12-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-12-libtool-no-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc15-d-shared-libphobos.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + [[ -n '' ]] + echo 15.1.0 + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nJKKWN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build + cd gcc-15.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ echo -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 ++ sed -e s/-fno-rtti//g -e s/-fno-exceptions//g -e s/-mcpu=pentiumpro//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' ++ echo -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 ++ sed -e 's/\(-m64\|-m32\)//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 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' ++ echo -O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ++ sed -e s/-fomit-frame-pointer//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 -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 -fr obj-x86_64-mageia-linux + mkdir obj-x86_64-mageia-linux + cd obj-x86_64-mageia-linux + LANGUAGES=c + LANGUAGES=c,c++ + LANGUAGES=c,c++,ada + LANGUAGES=c,c++,ada,fortran + LANGUAGES=c,c++,ada,fortran,objc + LANGUAGES=c,c++,ada,fortran,objc,obj-c++ + LANGUAGES=c,c++,ada,fortran,objc,obj-c++,d + LANGUAGES=c,c++,ada,fortran,objc,obj-c++,d,lto + PROGRAM_SUFFIX= + PROGRAM_PREFIX= + LIBSTDCXX_FLAGS='--enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions' + case glibc in + LIBSTDCXX_FLAGS='--enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu' + SSP_FLAGS='--disable-ssp --disable-libssp' + SSP_FLAGS='--enable-ssp --disable-libssp' + ISL_FLAGS=--with-isl + LIBFFI_FLAGS=--disable-libffi + case glibc in + LIBC_FLAGS='--enable-threads=posix --with-linker-hash-style=gnu' + LIBC_FLAGS='--enable-threads=posix --with-linker-hash-style=gnu --enable-shared' + case x86_64 in + TARGET_FLAGS='--enable-cet --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 -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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib64 '--with-pkgversion=Mageia 15.1.0-1.mga10' --with-bugurl=https://bugs.mageia.org/ --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,d,lto --enable-linker-build-id --build=x86_64-mageia-linux --host=x86_64-mageia-linux --enable-cet --with-cpu=generic --with-system-zlib --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 --disable-libffi --disable-werror --with-isl --with-python-dir=/lib/python3.13/site-packages --enable-gnu-indirect-function --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 libphobos support... yes checking for libgcobol support... yes checking for x86_64-mageia-linux-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 for gcc option to accept ISO C99... none needed checking for x86_64-mageia-linux-g++... x86_64-mageia-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-mageia-linux-g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for x86_64-mageia-linux-gnatbind... no checking for gnatbind... gnatbind checking for x86_64-mageia-linux-gnatmake... no checking for gnatmake... gnatmake checking whether compiler driver understands Ada and is recent enough... yes checking for x86_64-mageia-linux-gdc... x86_64-mageia-linux-gdc checking whether the D compiler works... yes checking for cargo... 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 libraries... yes checking for the correct version of the mpc libraries... yes checking for isl 0.15 or later... yes checking whether to enable libgdiagnostics... no checking for library containing dlopen... none required checking for library containing pthread_create... none required The following languages will be built: c,ada,c++,d,fortran,lto,objc,obj-c++ *** This configuration is not supported in the following subdirectories: zlib gotools libgrust target-libgcobol target-libgo target-libffi target-libgm2 target-libgrust 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-ar... x86_64-mageia-linux-ar checking for x86_64-mageia-linux-as... no checking for as... as checking for x86_64-mageia-linux-dlltool... no checking for dlltool... no checking for x86_64-mageia-linux-dsymutil... no checking for dsymutil... no checking for x86_64-mageia-linux-ld... no checking for ld... ld checking for x86_64-mageia-linux-lipo... no checking for lipo... no checking for x86_64-mageia-linux-nm... x86_64-mageia-linux-nm checking for x86_64-mageia-linux-ranlib... x86_64-mageia-linux-ranlib checking for x86_64-mageia-linux-strip... no checking for strip... strip checking for x86_64-mageia-linux-windres... no checking for windres... no checking for x86_64-mageia-linux-windmc... no checking for windmc... no checking for x86_64-mageia-linux-objcopy... no checking for objcopy... objcopy checking for x86_64-mageia-linux-objdump... no checking for objdump... objdump checking for x86_64-mageia-linux-otool... no checking for otool... no checking for x86_64-mageia-linux-readelf... no checking for readelf... readelf checking for -plugin option... checking for x86_64-mageia-linux-ar... (cached) x86_64-mageia-linux-ar --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gfortran... no checking for gccgo... no checking for gdc... gdc checking for gm2... 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... just compiled checking where to find the target gccgo... host tool checking where to find the target gdc... just compiled checking where to find the target gm2... 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 + /usr/bin/make -O -j48 V=1 VERBOSE=1 bootstrap-lean 'BOOT_CFLAGS=-O2 -g -pipe -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' echo stage3 > stage_final make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: Resource temporarily unavailable make[2]: *** [Makefile:9328: configure-stage1-libcody] Error 254 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: Resource temporarily unavailable make[2]: *** [Makefile:10239: configure-stage1-libdecnumber] Error 254 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: line 5: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 2 js.j_ndead = 0 /bin/sh: fork: retry: Resource temporarily unavailable 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... ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: line 1337: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 2 js.j_ndead = 0 x86_64-mageia-linux-gnu checking host system type... ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: line 62: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 2 js.j_ndead = 0 ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: fork: retry: Resource temporarily unavailable ../../libiberty/../config.sub: line 1337: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 2 js.j_ndead = 0 x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-ar... x86_64-mageia-linux-ar --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking for x86_64-mageia-linux-ranlib... x86_64-mageia-linux-ranlib --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking for -plugin option... checking for x86_64-mageia-linux-ar... (cached) x86_64-mageia-linux-ar --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking whether to install libiberty headers and static library... no configure: target_header_dir = checking for x86_64-mageia-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... configure: error: in `/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux/libiberty': configure: error: cannot compute suffix of executables: cannot compile and link See `config.log' for more details /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: line 12: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 2 js.j_ndead = 0 /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable make[2]: *** [Makefile:11356: configure-stage1-libiberty] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' /bin/sh: fork: retry: Resource temporarily unavailable ../mkinstalldirs: fork: retry: Resource temporarily unavailable ../mkinstalldirs: fork: retry: Resource temporarily unavailable ../mkinstalldirs: fork: retry: Resource temporarily unavailable ../mkinstalldirs: fork: retry: Resource temporarily unavailable mkdir -p -- build-x86_64-mageia-linux/fixincludes Configuring in build-x86_64-mageia-linux/fixincludes configure: creating cache ./config.cache checking build system type... ../../../fixincludes/../config.sub: fork: retry: Resource temporarily unavailable ../../../fixincludes/../config.sub: fork: retry: Resource temporarily unavailable ../../../fixincludes/../config.sub: fork: retry: Resource temporarily unavailable ../../../fixincludes/../config.sub: fork: retry: Resource temporarily unavailable ../../../fixincludes/../config.sub: fork: retry: Resource temporarily unavailable ../../../fixincludes/../config.sub: fork: retry: Resource temporarily unavailable ../../../fixincludes/../config.sub: fork: retry: Resource temporarily unavailable ../../../fixincludes/../config.sub: fork: Resource temporarily unavailable Invalid configuration `x86_64-mageia-linux': OS `' not recognized configure: error: /bin/sh ../../../fixincludes/../config.sub x86_64-mageia-linux failed /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/fixincludes/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/fixincludes/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/fixincludes/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/fixincludes/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/fixincludes/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/fixincludes/configure: fork: retry: Resource temporarily unavailable make[2]: *** [Makefile:3134: configure-build-fixincludes] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable 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-gcc... gcc checking whether the C compiler works... no configure: error: in `/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux/libbacktrace': configure: error: C compiler cannot create executables See `config.log' for more details /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libbacktrace/configure: line 39: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 3 js.j_ndead = 0 make[2]: *** [Makefile:7204: configure-stage1-libbacktrace] Error 77 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' mkdir -p -- build-x86_64-mageia-linux/libiberty Configuring in build-x86_64-mageia-linux/libiberty /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: line 11: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 2 js.j_ndead = 0 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-ar... x86_64-mageia-linux-ar --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking for x86_64-mageia-linux-ranlib... x86_64-mageia-linux-ranlib --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking for -plugin option... checking for x86_64-mageia-linux-ar... (cached) x86_64-mageia-linux-ar --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking whether to install libiberty headers and static library... no configure: target_header_dir = checking for x86_64-mageia-linux-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... no /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: Resource temporarily unavailable checking for sys/types.h... /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: line 1664: ${+:}: bad substitution /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libiberty/configure: line 39: DEBUG warning: delete_job (0 pgrp 3505936): js.c_reaped (-1) < 0 ndel = 3 js.j_ndead = 0 make[2]: *** [Makefile:3021: configure-build-libiberty] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable Configuring stage 1 in ./lto-plugin /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable 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-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 gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 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 /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/lto-plugin/configure: fork: retry: Resource temporarily unavailable 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 x86_64-mageia-linux-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 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 -Wall... yes checking for -static-libgcc... yes checking for CET support... yes checking whether symbol versioning is supported... gnu checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-mageia-linux-nm -p checking the name lister (/usr/bin/x86_64-mageia-linux-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld option to reload object files... -r checking for x86_64-mageia-linux-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-ar... x86_64-mageia-linux-ar --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking for x86_64-mageia-linux-strip... no checking for strip... strip checking for x86_64-mageia-linux-ranlib... x86_64-mageia-linux-ranlib --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking command to parse /usr/bin/x86_64-mageia-linux-nm -p output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for int64_t... yes checking for uint64_t... yes checking for sys/wait.h that is POSIX.1 compatible... yes configure: updating cache ./config.cache checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' ../mkinstalldirs: fork: retry: Resource temporarily unavailable ../mkinstalldirs: fork: retry: Resource temporarily unavailable mkdir -p -- build-x86_64-mageia-linux/libcpp Configuring in build-x86_64-mageia-linux/libcpp /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /bin/sh: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libcpp/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libcpp/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libcpp/configure: fork: retry: Resource temporarily unavailable /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libcpp/configure: fork: retry: Resource temporarily unavailable 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-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 x86_64-mageia-linux-g++ -std=c++14 accepts -g... yes checking for x86_64-mageia-linux-ranlib... x86_64-mageia-linux-ranlib --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so checking for x86_64-mageia-linux-ar... x86_64-mageia-linux-ar --plugin /usr/lib/gcc/x86_64-mageia-linux/15/liblto_plugin.so 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 x86_64-mageia-linux-g++ -std=c++14... 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 for setlocale... yes checking whether abort is declared... yes checking whether asprintf is declared... yes checking whether basename is declared... yes /home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/libcpp/configure: fork: retry: Resource temporarily unavailable 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 msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... no checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... yes checking for shared library run path origin... egrep: warning: egrep is obsolescent; using grep -E done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking whether to use NLS... no checking whether NLS is requested... no checking for uchar... checking size of ino_t... 8 checking size of dev_t... 8 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 config.status: executing default-1 commands make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gcc-15.1.0-build/gcc-15.1.0/obj-x86_64-mageia-linux' make[1]: *** [Makefile:29311: stage1-bubble] Error 2 make: *** [Makefile:29643: bootstrap-lean] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nJKKWN (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nJKKWN (%build) I: [iurt_root_command] ERROR: chroot