D: [iurt_root_command] chroot warning: line 11: It's not recommended to have unversioned Obsoletes: Obsoletes: jam warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/ftjam-2.5.3rc2-0.20.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QZ0WKZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ftjam-2.5.3rc2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ftjam-2.5.3rc2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd ftjam-2.5.3rc2 + rm -rf /home/pterjan/rpmbuild/BUILD/ftjam-2.5.3rc2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ftjam-2.5.3rc2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ftjam-2.5.3-nostrip.patch):' Patch #0 (ftjam-2.5.3-nostrip.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Jamfile + dos2unix README RELNOTES Porting dos2unix: converting file README to Unix format... dos2unix: converting file RELNOTES to Unix format... dos2unix: converting file Porting to Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Z2wYVA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ftjam-2.5.3rc2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CCFLAGS=-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' 'LINKFLAGS=-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' + CCFLAGS='-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' + LINKFLAGS='-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' + 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 + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./builds/unix/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./builds/unix/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./builds/unix/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./builds/unix/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./builds/unix/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./builds/unix/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 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 for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 rm... rm -f checking for rmdir... rmdir checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating ../../Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating ../../patchlevel.h config.status: creating ../../Jamrules + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -o jam0 -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 builtins.c command.c compile.c execnt.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rope.c rules.c scan.c search.c spawn.c spawnmac.c spawnnt.c spawnos2.c spawnunix.c timestamp.c variable.c expand.c: In function 'var_expand': expand.c:86:32: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 86 | printf( "expand '%.*s'\n", end - in, in ); | ~~^~ ~~~~~~~~ | | | | int long int hash.c: In function 'hashstat': hash.c:321:43: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] 321 | printf( "%s table: %d+%d+%d (%dK+%dK) items+table+hash, %f density\n", | ~^ | | | int | %ld ...... 327 | hp->tab.nel * sizeof( ITEM ** ) / 1024, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int make1.c: In function 'make1d': make1.c:389:22: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 389 | if( !unlink( targets->string ) ) | ^~~~~~ make: *** [common.mk:17: jam0] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Z2wYVA (%build) RPM build warnings: line 11: It's not recommended to have unversioned Obsoletes: Obsoletes: jam %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Z2wYVA (%build) I: [iurt_root_command] ERROR: chroot