D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-RawIP-0.250.0-29.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DhQj5N + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Net-RawIP-0.25 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Net-RawIP-0.25.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-RawIP-0.25 + rm -rf /home/pterjan/rpmbuild/BUILD/Net-RawIP-0.25-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Net-RawIP-0.25-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type d -exec chmod 755 '{}' ';' + find . -type f -exec chmod 644 '{}' ';' + find . -type f + xargs file + grep CRLF + cut -d: -f1 + xargs perl -p -i -e 's/\r//' -i used with no filenames on the command line, reading from STDIN. + find . -type f + xargs file + grep text + cut -d: -f1 + xargs perl -p -i -e 's/\r//' + perl -pi -e 's!/usr/lib!/usr/lib64!g' Makefile.PL + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fsBzY4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Net-RawIP-0.25 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Compiler: gcc gcc (Mageia 14.1.0-1.mga10) 14.1.0 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::RawIP Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 Running Mkbootstrap for RawIP () chmod 644 "RawIP.bs" "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- RawIP.bs blib/arch/auto/Net/RawIP/RawIP.bs 644 cp lib/Net/RawIP/iphdr.pm blib/lib/Net/RawIP/iphdr.pm cp lib/Net/RawIP/tcphdr.pm blib/lib/Net/RawIP/tcphdr.pm cp lib/Net/RawIP/generichdr.pm blib/lib/Net/RawIP/generichdr.pm cp lib/Net/RawIP/icmphdr.pm blib/lib/Net/RawIP/icmphdr.pm cp RawIP/libpcap.pod blib/lib/Net/RawIP/libpcap.pod cp lib/Net/RawIP/opt.pm blib/lib/Net/RawIP/opt.pm cp lib/Net/RawIP/ethhdr.pm blib/lib/Net/RawIP/ethhdr.pm cp lib/Net/RawIP/udphdr.pm blib/lib/Net/RawIP/udphdr.pm cp lib/Net/RawIP.pm blib/lib/Net/RawIP.pm AutoSplitting blib/lib/Net/RawIP.pm (blib/lib/auto/Net/RawIP) gcc -c -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 -g -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ ifaddrlist.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ifaddrlist.c:6: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/Net-RawIP-0.25/typemap' RawIP.xs > RawIP.xsc mv RawIP.xsc RawIP.c gcc -c -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 -g -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ eth.c gcc -c -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 -g -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ util.c gcc -c -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 -g -DVERSION=\"0.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ RawIP.c RawIP.xs: In function 'XS_Net__RawIP_timem': RawIP.xs:614:27: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type '__time_t' {aka 'long int'} [-Wformat=] 614 | RETVAL = newSVpvf("%u.%06u",tv.tv_sec,tv.tv_usec); | ^~~~~~~~~ ~~~~~~~~~ | | | __time_t {aka long int} RawIP.xs:614:27: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 614 | RETVAL = newSVpvf("%u.%06u",tv.tv_sec,tv.tv_usec); | ^~~~~~~~~ ~~~~~~~~~~ | | | __suseconds_t {aka long int} RawIP.xs: In function 'XS_Net__RawIP_tap': RawIP.xs:660:14: error: implicit declaration of function 'tap'; did you mean 'tan'? [-Wimplicit-function-declaration] 660 | RETVAL = tap(device,&i,m); | ^~~ | tan RawIP.xs: In function 'XS_Net__RawIP_mac_disc': RawIP.xs:676:14: error: implicit declaration of function 'mac_disc' [-Wimplicit-function-declaration] 676 | RETVAL = mac_disc(addr,m); | ^~~~~~~~ RawIP.xs: In function 'XS_Net__RawIP_send_eth_packet': RawIP.xs:691:5: error: implicit declaration of function 'send_eth_packet' [-Wimplicit-function-declaration] 691 | send_eth_packet(fd, eth_device, (char*)SvPV(pkt,PL_na), SvCUR(pkt),flag); | ^~~~~~~~~~~~~~~ RawIP.xs: In function 'XS_Net__RawIP_lookupdev': RawIP.xs:1370:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 1370 | RETVAL = pcap_lookupdev(ebuf); | ^~~~~~ In file included from /usr/include/pcap.h:43, from RawIP.xs:36: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ make: *** [Makefile:363: RawIP.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.fsBzY4 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.fsBzY4 (%build) I: [iurt_root_command] ERROR: chroot