D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-Libdnet-0.990.0-9.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.96eTSE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Net-Libdnet-0.99 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Net-Libdnet-0.99.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-Libdnet-0.99 + rm -rf /home/pterjan/rpmbuild/BUILD/Net-Libdnet-0.99-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Net-Libdnet-0.99-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.HRvlRr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Net-Libdnet-0.99 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + /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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'LIBS=-L/usr/lib64 -ldnet' INC=-I/usr/include Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::Libdnet Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 LD_RUN_PATH= cp lib/Net/Libdnet/Tun.pm blib/lib/Net/Libdnet/Tun.pm cp lib/Net/Libdnet/Intf.pm blib/lib/Net/Libdnet/Intf.pm cp lib/Net/Libdnet.pm blib/lib/Net/Libdnet.pm cp lib/Net/Libdnet/Eth.pm blib/lib/Net/Libdnet/Eth.pm cp lib/Net/Libdnet/Fw.pm blib/lib/Net/Libdnet/Fw.pm cp lib/Net/Libdnet/Arp.pm blib/lib/Net/Libdnet/Arp.pm cp lib/Net/Libdnet/Route.pm blib/lib/Net/Libdnet/Route.pm cp lib/Net/Libdnet/Entry/Intf.pm blib/lib/Net/Libdnet/Entry/Intf.pm cp lib/Net/Libdnet/Ip.pm blib/lib/Net/Libdnet/Ip.pm Running Mkbootstrap for Libdnet () chmod 644 "Libdnet.bs" "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- Libdnet.bs blib/arch/auto/Net/Libdnet/Libdnet.bs 644 "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/Net-Libdnet-0.99/typemap' Libdnet.xs > Libdnet.xsc mv Libdnet.xsc Libdnet.c gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -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 -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DVERSION=\"0.99\" -DXS_VERSION=\"0.99\" -fPIC "-I/usr/lib64/perl5/CORE" Libdnet.c In file included from /usr/lib64/perl5/CORE/perl.h:4530, from Libdnet.xs:33: Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_addr_cmp': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:281:41: note: in expansion of macro 'SvPV' 281 | StrA = (char *) SvPV(SvA, len); | ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:7812: /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:288:49: note: in expansion of macro 'SvPV' 288 | StrB = (char *) SvPV(SvB, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_addr_bcast': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:317:42: note: in expansion of macro 'SvPV' 317 | StrAd = (char *) SvPV(SvAd, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_addr_net': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:355:42: note: in expansion of macro 'SvPV' 355 | StrAd = (char *) SvPV(SvAd, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_arp_add': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:405:52: note: in expansion of macro 'SvPV' 405 | StrAddr = (char *) SvPV(SvProtoAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:416:60: note: in expansion of macro 'SvPV' 416 | StrAddr = (char *) SvPV(SvHwAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_arp_delete': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:465:52: note: in expansion of macro 'SvPV' 465 | StrAddr = (char *) SvPV(SvProtoAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_arp_get': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:514:52: note: in expansion of macro 'SvPV' 514 | StrAddr = (char *) SvPV(SvProtoAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_intf_get': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:573:52: note: in expansion of macro 'SvPV' 573 | StrName = (char *) SvPV(SvName, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_intf_get_src': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:619:52: note: in expansion of macro 'SvPV' 619 | StrAddr = (char *) SvPV(SvAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_intf_get_dst': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:670:52: note: in expansion of macro 'SvPV' 670 | StrAddr = (char *) SvPV(SvAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_route_add': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:721:52: note: in expansion of macro 'SvPV' 721 | StrAddr = (char *) SvPV(SvDstAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:732:60: note: in expansion of macro 'SvPV' 732 | StrAddr = (char *) SvPV(SvGwAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_route_delete': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:781:52: note: in expansion of macro 'SvPV' 781 | StrAddr = (char *) SvPV(SvDstAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ Libdnet.xs: In function 'XS_Net__Libdnet__obsolete_route_get': /usr/lib64/perl5/CORE/sv.h:1952:31: error: passing argument 3 of 'Perl_SvPV_helper' from incompatible pointer type [-Wincompatible-pointer-types] 1952 | Perl_SvPV_helper(aTHX_ sv, &len, flags, SvPVnormal_type_, \ /usr/lib64/perl5/CORE/sv.h:1972:37: note: in expansion of macro 'SvPV_flags' 1972 | #define SvPV(sv, len) SvPV_flags(sv, len, SV_GMAGIC) | ^~~~~~~~~~ Libdnet.xs:830:52: note: in expansion of macro 'SvPV' 830 | StrAddr = (char *) SvPV(SvDstAddr, len); | ^~~~ /usr/lib64/perl5/CORE/sv_inline.h:908:33: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' 908 | STRLEN * const lp, | ~~~~~~~~~~~~~~~^~ make: *** [Makefile:360: Libdnet.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HRvlRr (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HRvlRr (%build) I: [iurt_root_command] ERROR: chroot