D: [iurt_root_command] chroot warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/ncftp-3.2.6-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RaOiEn + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ncftp-3.2.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ncftp-3.2.6-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ncftp-3.2.6 + rm -rf /home/pterjan/rpmbuild/BUILD/ncftp-3.2.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ncftp-3.2.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ncftp-confirm.patch):' Patch #0 (ncftp-confirm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .confirm --fuzz=0 patching file ncftp/pref.c + echo 'Patch #3 (ncftp-3.2.5-resume.patch):' Patch #3 (ncftp-3.2.5-resume.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .resume --fuzz=0 patching file ncftp/pref.c Hunk #1 succeeded at 613 (offset 4 lines). + echo 'Patch #5 (ncftp-3.1.9-suspend.patch):' Patch #5 (ncftp-3.1.9-suspend.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .suspend --fuzz=0 patching file ncftp/gl_getline.c Hunk #1 succeeded at 1103 (offset 17 lines). + echo 'Patch #7 (ncftp-3.2.6-EPLF.diff):' Patch #7 (ncftp-3.2.6-EPLF.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .eplf --fuzz=0 patching file libncftp/io_listmem.c + echo 'Patch #8 (ncftp-3.2.3-fix-help-cmd.patch):' Patch #8 (ncftp-3.2.3-fix-help-cmd.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .help --fuzz=0 patching file ncftp/cmds.c Hunk #1 succeeded at 1389 (offset 10 lines). + echo 'Patch #9 (ncftp-3.2.6-gcc10.patch):' Patch #9 (ncftp-3.2.6-gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file ncftp/bookmark.h patching file ncftp/cmds.c patching file ncftp/main.c Hunk #1 succeeded at 38 (offset -2 lines). patching file sh_util/gpshare.c patching file sh_util/ncftpget.c patching file sh_util/ncftpls.c patching file sh_util/ncftpput.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cns9YC + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ncftp-3.2.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + 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 ./sh/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./sh/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./sh/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./sh/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./sh/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./sh/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 --enable-signals creating cache ./config.cache checking if you set and exported the environment variable CC... gcc checking for environment variable CFLAGS... -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full checking for environment variable CPPFLAGS... no checking for environment variable LDFLAGS... -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags checking for environment variable LIBS... no checking for clang C compiler... no checking if CC should now be set... no checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags) works... no configure: error: installation or configuration problem: C compiler cannot create executables. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cns9YC (%build) RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cns9YC (%build) I: [iurt_root_command] ERROR: chroot