D: [iurt_root_command] chroot warning: line 31: It's not recommended to have unversioned Obsoletes: Obsoletes: perl-B-C-devel Installing /home/pterjan/rpmbuild/SRPMS/perl-B-C-1.570.0-8.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.64wTin + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf B-C-1.57 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/B-C-1.57.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd B-C-1.57 + rm -rf /home/pterjan/rpmbuild/BUILD/B-C-1.57-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/B-C-1.57-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IVsrJz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd B-C-1.57 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Warning: Perl handling of new unicode identifiers - package and symbol names - without proper TR39 handling is considered a security risc and is not fully supported. See http://websec.github.io/unicode-security-guide/ Check your code for syntax spoofs, confusables, strip \0 from package names. Enable use warnings 'syscalls'. Warning: Unsupported perl version 5.038002 Perl5 broke Carp for the compiler with 5.26 with a dynamic _fetch_sub() Either use an earlier Carp (<1.42) or check the cperl patches, replacing it with a simple version check. Checking if your kit is complete... Looks good Writing MYMETA.yml and MYMETA.json Writing MYMETA.yml and MYMETA.json Empty %B::C::Config::Config at lib/B/C.pm line 22. Generating a Unix-style Makefile Writing Makefile for B::C Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j8 V=1 VERBOSE=1 "/usr/bin/perl5.38.2" bytecode.pl Running Mkbootstrap for C () chmod 644 "C.bs" "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- C.bs blib/arch/auto/B/C/C.bs 644 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' Running Mkbootstrap for ByteLoader () chmod 644 "ByteLoader.bs" make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- ByteLoader.bs ../blib/arch/auto/ByteLoader/ByteLoader.bs 644 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' cp ByteLoader.pm ../blib/lib/ByteLoader.pm cp BcVersions.pod ../blib/lib/BcVersions.pod make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' cp lib/B/Bytecode56.pm blib/lib/B/Bytecode56.pm cp perlcompile.pod blib/lib/B/perlcompile.pod cp lib/B/Assembler.pm blib/lib/B/Assembler.pm cp lib/B/CC.pm blib/lib/B/CC.pm cp lib/B/Disassembler.pm blib/lib/B/Disassembler.pm cp lib/B/Stackobj.pm blib/lib/B/Stackobj.pm cp lib/B/C.pm blib/lib/B/C.pm cp lib/B/Bblock.pm blib/lib/B/Bblock.pm cp lib/B/Bytecode.pm blib/lib/B/Bytecode.pm cp lib/B/C/Config.pm blib/lib/B/C/Config.pm cp lib/B/Asmdata.pm blib/lib/B/Asmdata.pm cp perloptree.pod blib/lib/B/perloptree.pod "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/B-C-1.57/typemap' C.xs > C.xsc mv C.xsc C.c make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' ByteLoader.xs > ByteLoader.xsc mv ByteLoader.xsc ByteLoader.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' "/usr/bin/perl5.38.2" "-Iblib/arch" "-Iblib/lib" script/perlcc.PL script/perlcc Extracting perlcc (with variable substitutions) make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' /usr/bin/cc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" -fPIC "-I/usr/lib64/perl5/CORE" byterun.c In file included from /usr/lib64/perl5/CORE/perl.h:4544, from byterun.c:18: byterun.c: In function 'byterun': /usr/lib64/perl5/CORE/warnings.h:23:58: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 23 | #define specialWARN(x) ((x) == pWARN_STD || (x) == pWARN_ALL || \ | ^~ bytecode.h:731:17: note: in expansion of macro 'specialWARN' 731 | if (specialWARN((STRLEN *)w)) { \ | ^~~~~~~~~~~ byterun.c:1605:17: note: in expansion of macro 'BSET_cop_warnings' 1605 | BSET_cop_warnings(cCOP, arg); | ^~~~~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/warnings.h:24:38: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 24 | (x) == pWARN_NONE) | ^~ bytecode.h:731:17: note: in expansion of macro 'specialWARN' 731 | if (specialWARN((STRLEN *)w)) { \ | ^~~~~~~~~~~ byterun.c:1605:17: note: in expansion of macro 'BSET_cop_warnings' 1605 | BSET_cop_warnings(cCOP, arg); | ^~~~~~~~~~~~~~~~~ In file included from byterun.c:35: bytecode.h:732:33: error: assignment to 'char *' from incompatible pointer type 'STRLEN *' {aka 'long unsigned int *'} [-Wincompatible-pointer-types] 732 | c->cop_warnings = (STRLEN *)w; \ | ^ byterun.c:1605:17: note: in expansion of macro 'BSET_cop_warnings' 1605 | BSET_cop_warnings(cCOP, arg); | ^~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:339: byterun.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' /usr/bin/cc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" -fPIC "-I/usr/lib64/perl5/CORE" ByteLoader.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/B-C-1.57/ByteLoader' make: *** [Makefile:638: subdirs] Error 2 make: *** Waiting for unfinished jobs.... /usr/bin/cc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"1.57\" -DXS_VERSION=\"1.57\" -fPIC "-I/usr/lib64/perl5/CORE" C.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IVsrJz (%build) RPM build warnings: line 31: It's not recommended to have unversioned Obsoletes: Obsoletes: perl-B-C-devel RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IVsrJz (%build) I: [iurt_root_command] ERROR: chroot