D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/tcc-0.9.27-6.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sT29q9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf tcc-0.9.27 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/tcc-0.9.27.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tcc-0.9.27 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/tcc-0.9.26-arm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -type f + xargs perl -pi -e 's|^#\!/usr/local/bin|#\!/usr/bin|g' + perl -pi -e 's!/usr/lib!/usr/lib64!' libtcc.c tcc.h + chmod 644 examples/ex1.c examples/ex2.c examples/ex3.c examples/ex4.c examples/ex5.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wxn39e + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd tcc-0.9.27 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized option --host=x86_64-mageia-linux-gnu configure: WARNING: unrecognized option --build=x86_64-mageia-linux-gnu configure: WARNING: unrecognized option --program-prefix= configure: WARNING: unrecognized option --disable-dependency-tracking configure: WARNING: unrecognized option --sbindir=/usr/sbin configure: WARNING: unrecognized option --sysconfdir=/etc configure: WARNING: unrecognized option --datadir=/usr/share configure: WARNING: unrecognized option --libexecdir=/usr/libexec configure: WARNING: unrecognized option --localstatedir=/var configure: WARNING: unrecognized option --sharedstatedir=/var/lib Binary directory /usr/bin TinyCC directory /usr/lib64/tcc Library directory /usr/lib64 Include directory /usr/include Manual directory /usr/share/man Info directory /usr/share/info Doc directory /usr/share/doc Source path /home/pterjan/rpmbuild/BUILD/tcc-0.9.27 C compiler gcc (12.0) Target OS Linux CPU x86_64 Creating config.mak and config.h + /usr/bin/make -O -j12 V=1 VERBOSE=1 -j4 gcc -o tcc.o -c tcc.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. gcc -o libtcc.o -c libtcc.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. gcc -o tccasm.o -c tccasm.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. gcc -o tccrun.o -c tccrun.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. gcc -o tccpp.o -c tccpp.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. gcc -o tccelf.o -c tccelf.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. gcc -o x86_64-link.o -c x86_64-link.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. ./texi2pod.pl tcc-doc.texi tcc.pod \ && pod2man --section=1 --center="Tiny C Compiler" --release="0.9.27" tcc.pod >tmp.1 \ && mv tmp.1 tcc.1 || rm -f tmp.1 gcc -o x86_64-gen.o -c x86_64-gen.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. gcc -o i386-asm.o -c i386-asm.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. makeinfo tcc-doc.texi || true gcc -o tccgen.o -c tccgen.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE=0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -Wdeclaration-after-statement -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -I. ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o x86_64-gen.o x86_64-link.o i386-asm.o gcc -o tcc tcc.o libtcc.a -lm -ldl -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' ../tcc -c libtcc1.c -o libtcc1.o -B.. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' ../tcc -c alloca86_64.S -o alloca86_64.o -B.. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' ../tcc -c alloca86_64-bt.S -o alloca86_64-bt.o -B.. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' ../tcc -c va_list.c -o va_list.o -B.. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' ../tcc -c bcheck.c -o bcheck.o -B.. bcheck.c:738: error: '__malloc_hook' undeclared make[1]: *** [Makefile:64: bcheck.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcc-0.9.27/lib' make: *** [Makefile:230: libtcc1.a] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wxn39e (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wxn39e (%build) I: [iurt_root_command] ERROR: chroot