D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/perl-File-RsyncP-0.760.0-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LPHjSP Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3VRSrA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-File-RsyncP-0.760.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-File-RsyncP-0.760.0-build + rm -rf File-RsyncP-0.76 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/File-RsyncP-0.76.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd File-RsyncP-0.76 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/File-RsyncP-0.76-Fix-configure-check-with-optimizing-and-lto-enabled-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/perl-File-RsyncP-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub FileList/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cVpcdH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-File-RsyncP-0.760.0-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 File-RsyncP-0.76 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-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' Checking if your kit is complete... Looks good Writing MYMETA.yml and MYMETA.json Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for File::RsyncP Writing MYMETA.yml and MYMETA.json + make cp lib/File/RsyncP/FileIO.pm blib/lib/File/RsyncP/FileIO.pm cp lib/File/RsyncP.pm blib/lib/File/RsyncP.pm make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-File-RsyncP-0.760.0-build/File-RsyncP-0.76/Digest' cp Digest.pm ../blib/lib/File/RsyncP/Digest.pm AutoSplitting ../blib/lib/File/RsyncP/Digest.pm (../blib/lib/auto/File/RsyncP/Digest) Running Mkbootstrap for Digest () chmod 644 "Digest.bs" "/usr/bin/perl5.40.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- Digest.bs ../blib/arch/auto/File/RsyncP/Digest/Digest.bs 644 "/usr/bin/perl5.40.1" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-File-RsyncP-0.760.0-build/File-RsyncP-0.76/Digest/typemap' Digest.xs > Digest.xsc mv Digest.xsc Digest.c gcc -c -D_REENTRANT -D_GNU_SOURCE -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -DVERSION=\"0.76\" -DXS_VERSION=\"0.76\" -fPIC "-I/usr/lib64/perl5/CORE" -DPERL_BYTEORDER=12345678 Digest.c Digest.xs: In function 'XS_File__RsyncP__Digest_new': Digest.xs:45:13: error: too many arguments to function 'RsyncMD4Init'; expected 0, have 1 45 | RsyncMD4Init(RETVAL); | ^~~~~~~~~~~~ ~~~~~~ In file included from Digest.xs:25: md4.h:41:6: note: declared here 41 | void RsyncMD4Init PROTO_LIST ((RsyncMD4_CTX *)); | ^~~~~~~~~~~~ Digest.xs: In function 'XS_File__RsyncP__Digest_reset': Digest.xs:69:13: error: too many arguments to function 'RsyncMD4Init'; expected 0, have 1 69 | RsyncMD4Init(context); | ^~~~~~~~~~~~ ~~~~~~~ md4.h:41:6: note: declared here 41 | void RsyncMD4Init PROTO_LIST ((RsyncMD4_CTX *)); | ^~~~~~~~~~~~ Digest.xs: In function 'XS_File__RsyncP__Digest_add': Digest.xs:98:17: error: too many arguments to function 'RsyncMD4Update'; expected 0, have 3 98 | RsyncMD4Update(context, data, len); | ^~~~~~~~~~~~~~ ~~~~~~~ md4.h:42:6: note: declared here 42 | void RsyncMD4Update PROTO_LIST | ^~~~~~~~~~~~~~ Digest.xs: In function 'XS_File__RsyncP__Digest_digest': Digest.xs:109:13: error: too many arguments to function 'RsyncMD4FinalRsync'; expected 0, have 2 109 | RsyncMD4FinalRsync(digeststr, context); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ md4.h:47:6: note: declared here 47 | void RsyncMD4FinalRsync PROTO_LIST ((unsigned char [16], RsyncMD4_CTX *)); | ^~~~~~~~~~~~~~~~~~ Digest.xs: In function 'XS_File__RsyncP__Digest_digest2': Digest.xs:127:13: error: too many arguments to function 'RsyncMD4FinalRsync'; expected 0, have 2 127 | RsyncMD4FinalRsync(digeststr + 0, | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ md4.h:47:6: note: declared here 47 | void RsyncMD4FinalRsync PROTO_LIST ((unsigned char [16], RsyncMD4_CTX *)); | ^~~~~~~~~~~~~~~~~~ Digest.xs:129:13: error: too many arguments to function 'RsyncMD4FinalRsync'; expected 0, have 2 129 | RsyncMD4FinalRsync(digeststr + 16, | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ md4.h:47:6: note: declared here 47 | void RsyncMD4FinalRsync PROTO_LIST ((unsigned char [16], RsyncMD4_CTX *)); | ^~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:326: Digest.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-File-RsyncP-0.760.0-build/File-RsyncP-0.76/Digest' make: *** [Makefile:495: subdirs] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cVpcdH (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cVpcdH (%build) I: [iurt_root_command] ERROR: chroot