Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-IPTables-libiptc.spec'], chrootPath='/var/lib/mock/f37-build-665790-74231/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-IPTables-libiptc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False sh: line 1: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/perl-IPTables-libiptc-0.52-42.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-IPTables-libiptc.spec'], chrootPath='/var/lib/mock/f37-build-665790-74231/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-IPTables-libiptc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uxBpmY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf IPTables-libiptc-0.52 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/IPTables-libiptc-0.52.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd IPTables-libiptc-0.52 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl-IPTables-libiptc-0.51-Support-iptables-1.4.12.patch):' Patch #0 (perl-IPTables-libiptc-0.51-Support-iptables-1.4.12.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file iptables/iptables-blocking.c patching file iptables/iptables-detect-version.c patching file iptables/iptables-standalone.c patching file iptables/iptables-standalone.c-old patching file iptables/iptables-standalone.c-v1.4.12 patching file iptables/iptables.c-v1.4.12 patching file iptables/xshared.c patching file iptables/xshared.c-old patching file iptables/xshared.c-v1.4.12 patching file iptables/xshared.h patching file iptables/xshared.h-old patching file iptables/xshared.h-v1.4.12 patching file libiptc.xs Hunk #1 succeeded at 437 (offset 1 line). Hunk #2 succeeded at 517 (offset 1 line). Patch #1 (IPTables-libiptc-0.52-Support-for-1.4.16.2.patch): + echo 'Patch #1 (IPTables-libiptc-0.52-Support-for-1.4.16.2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file iptables/Makefile patching file iptables/iptables-detect-version.c patching file iptables/iptables-standalone.c patching file iptables/iptables-standalone.c-v1.4.16.2 patching file iptables/iptables.c-v1.4.16.2 patching file iptables/xshared.c patching file iptables/xshared.c-v1.4.16.2 patching file iptables/xshared.h patching file iptables/xshared.h-v1.4.16.2 Patch #2 (IPTables-libiptc-0.52-Support-for-1.4.18.patch): + echo 'Patch #2 (IPTables-libiptc-0.52-Support-for-1.4.18.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file iptables/iptables-detect-version.c patching file iptables/iptables-standalone.c patching file iptables/iptables-standalone.c-v1.4.18 patching file iptables/iptables.c-v1.4.18 patching file iptables/xshared.c patching file iptables/xshared.c-v1.4.18 patching file iptables/xshared.h patching file iptables/xshared.h-v1.4.18 Patch #3 (IPTables-libiptc-0.52-Support-for-1.6.0.patch): + echo 'Patch #3 (IPTables-libiptc-0.52-Support-for-1.6.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file iptables/iptables-detect-version.c patching file iptables/iptables-standalone.c patching file iptables/iptables-standalone.c-v1.6.0 patching file iptables/iptables.c-v1.6.0 patching file iptables/xshared.c patching file iptables/xshared.c-v1.6.0 patching file iptables/xshared.h patching file iptables/xshared.h-v1.6.0 Patch #4 (IPTables-libiptc-0.52-Support-for-1.6.1.patch): + echo 'Patch #4 (IPTables-libiptc-0.52-Support-for-1.6.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file iptables/iptables-detect-version.c patching file iptables/iptables-standalone.c patching file iptables/iptables-standalone.c-v1.6.1 patching file iptables/iptables.c-v1.6.1 patching file iptables/xshared.c patching file iptables/xshared.c-v1.6.1 patching file iptables/xshared.h patching file iptables/xshared.h-v1.6.1 Patch #5 (IPTables-libiptc-0.52-Fix-GCC-format-security-warning.patch): + echo 'Patch #5 (IPTables-libiptc-0.52-Fix-GCC-format-security-warning.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libiptc.xs Patch #6 (IPTables-libiptc-0.52-Stop-linking-against-nsl-library.patch): + echo 'Patch #6 (IPTables-libiptc-0.52-Stop-linking-against-nsl-library.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.PL Patch #7 (IPTables-libiptc-0.52-Disable-locking.patch): + echo 'Patch #7 (IPTables-libiptc-0.52-Disable-locking.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libiptc.xs Patch #8 (IPTables-libiptc-0.52-Fix-make-install.patch): + echo 'Patch #8 (IPTables-libiptc-0.52-Fix-make-install.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.PL + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/00simple.t + chmod +x t/00simple.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/01_chain_create.t + chmod +x t/01_chain_create.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/02_chain_create_commit.t + chmod +x t/02_chain_create_commit.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/03_chain_exist.t + chmod +x t/03_chain_exist.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/04_chain_delete_commit.t + chmod +x t/04_chain_delete_commit.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/05_list_rules_IPs.t + chmod +x t/05_list_rules_IPs.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/10_rule_create.t + chmod +x t/10_rule_create.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/11_load_extention_tcp.t + chmod +x t/11_load_extention_tcp.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' t/IPTables-libiptc.t + chmod +x t/IPTables-libiptc.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RgvcrK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd IPTables-libiptc-0.52 + perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -liptc Detect iptables version via command: "iptables -V" Detect the xtables libdir path of: "iptables" - detected xtables libdir: "/usr/libexec/xtables" Detected iptables version: 1.8.8 (vercode:67592) Module only supports version 1.4.x, fallback Using iptables version: 1.4.4 Checking for header files - detected include path: "/usr/include" - check-header: xtables.h Generating a Unix-style Makefile Writing Makefile for IPTables::libiptc + /usr/bin/make -O -j4 V=1 VERBOSE=1 Running Mkbootstrap for libiptc () chmod 644 "libiptc.bs" cp lib/IPTables/libiptc.pm blib/lib/IPTables/libiptc.pm AutoSplitting blib/lib/IPTables/libiptc.pm (blib/lib/auto/IPTables/libiptc) "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- libiptc.bs blib/arch/auto/IPTables/libiptc/libiptc.bs 644 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/IPTables-libiptc-0.52/libiptc.typemap' libiptc.xs > libiptc.xsc mv libiptc.xsc libiptc.c Please specify prototyping behavior for libiptc.xs (see perlxs manual) make -C iptables/ all PREFIX="/usr" IPTABLES_VERSION="1.4.4" XTABLES_LIBDIR="/usr/libexec/xtables" IPTABLES_VERSION_CODE="67592" EXTRALIBS="-lip4tc -lxtables" make[1]: Entering directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' make[1]: Leaving directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' make[1]: Entering directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' gcc -O2 -Wall -Wunused -I/include -I/usr/include -I../include/ -fPIC -DXTABLES_INTERNAL -g -DIPTABLES_VERSION=\"1.4.4\" -DXTABLES_LIBDIR=\"/usr/libexec/xtables\" -DIPTABLES_VERSION_CODE=\67592 -c -o iptables.o iptables-detect-version.c gcc -O2 -Wall -Wunused -I/include -I/usr/include -I../include/ -fPIC -DXTABLES_INTERNAL -g -DIPTABLES_VERSION=\"1.4.4\" -DXTABLES_LIBDIR=\"/usr/libexec/xtables\" -DIPTABLES_VERSION_CODE=\67592 -c -o xshared.o xshared.c make[1]: Leaving directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. iptables-detect-version.c:65:2: warning: #warning "This version of xtables is currently not supported by this Perl package" [-Wcpp] 65 | #warning "This version of xtables is currently not supported by this Perl package" | ^~~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'print_header': iptables.c-v1.6.1:454:61: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] 454 | const char *pol = iptc_get_policy(chain, &counters, handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39: ../include/libiptc/libiptc.h:67:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:468:56: warning: passing argument 3 of 'iptc_get_references' from incompatible pointer type [-Wincompatible-pointer-types] 468 | if (!iptc_get_references(&refs, chain, handle)) | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:139:45: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 139 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'print_firewall': iptables.c-v1.6.1:536:38: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 536 | if (!iptc_is_chain(targname, handle)) | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'append_entry': iptables.c-v1.6.1:684:61: warning: passing argument 3 of 'iptc_append_entry' from incompatible pointer type [-Wincompatible-pointer-types] 684 | ret &= iptc_append_entry(chain, fw, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:89:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 89 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'replace_entry': iptables.c-v1.6.1:707:55: warning: passing argument 4 of 'iptc_replace_entry' from incompatible pointer type [-Wincompatible-pointer-types] 707 | return iptc_replace_entry(chain, fw, rulenum, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:83:44: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 83 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'insert_entry': iptables.c-v1.6.1:734:70: warning: passing argument 4 of 'iptc_insert_entry' from incompatible pointer type [-Wincompatible-pointer-types] 734 | ret &= iptc_insert_entry(chain, fw, rulenum, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:77:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 77 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'delete_entry': iptables.c-v1.6.1:802:67: warning: passing argument 4 of 'iptc_delete_entry' from incompatible pointer type [-Wincompatible-pointer-types] 802 | ret &= iptc_delete_entry(chain, fw, mask, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:96:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 96 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'check_entry': iptables.c-v1.6.1:832:32: warning: implicit declaration of function 'iptc_check_entry'; did you mean 'check_entry'? [-Wimplicit-function-declaration] 832 | ret &= iptc_check_entry(chain, fw, mask, handle); | ^~~~~~~~~~~~~~~~ | check_entry iptables.c-v1.6.1: In function 'for_each_chain4': iptables.c-v1.6.1:849:34: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 849 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:852:41: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 852 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:857:34: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 857 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:861:41: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 861 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:867:37: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 867 | handle) == 1) | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'flush_entries4': iptables.c-v1.6.1:885:42: warning: passing argument 2 of 'iptc_flush_entries' from incompatible pointer type [-Wincompatible-pointer-types] 885 | return iptc_flush_entries(chain, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:111:44: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 111 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'zero_entries': iptables.c-v1.6.1:897:41: warning: passing argument 2 of 'iptc_zero_entries' from incompatible pointer type [-Wincompatible-pointer-types] 897 | return iptc_zero_entries(chain, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:115:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 115 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'delete_chain4': iptables.c-v1.6.1:909:41: warning: passing argument 2 of 'iptc_delete_chain' from incompatible pointer type [-Wincompatible-pointer-types] 909 | return iptc_delete_chain(chain, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:123:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 123 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'list_entries': iptables.c-v1.6.1:935:38: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 935 | for (this = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:937:37: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 937 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:948:43: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] 948 | i = iptc_first_rule(this, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:51:61: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:955:67: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] 955 | iptc_get_target(i, handle), | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:59:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:959:47: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] 959 | i = iptc_next_rule(i, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:55:60: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'print_rule4': iptables.c-v1.6.1:1126:42: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] 1126 | target_name = iptc_get_target(e, h); | ^ | | | struct xtc_handle * ../include/libiptc/libiptc.h:59:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'list_rules': iptables.c-v1.6.1:1177:52: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1177 | if (!rulenum) for (this = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1179:37: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1179 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1183:40: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 1183 | if (iptc_builtin(this, handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1185:80: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] 1185 | printf("-P %s %s", this, iptc_get_policy(this, &count, handle)); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:67:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1194:38: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1194 | for (this = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1196:37: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1196 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1204:43: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] 1204 | e = iptc_first_rule(this, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:51:61: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1209:47: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] 1209 | e = iptc_next_rule(e, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:55:60: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'do_command4': iptables.c-v1.6.1:1811:25: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] 1811 | *handle = iptc_init(*table); | ^ iptables.c-v1.6.1:1815:25: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] 1815 | *handle = iptc_init(*table); | ^ iptables.c-v1.6.1:1847:59: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1847 | if (cs.target && iptc_is_chain(cs.jumpto, *handle)) { | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1862:53: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1862 | || iptc_is_chain(cs.jumpto, *handle))) { | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1873:55: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1873 | if (!iptc_is_chain(cs.jumpto, *handle)) | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1913:65: warning: passing argument 3 of 'iptc_delete_num_entry' from incompatible pointer type [-Wincompatible-pointer-types] 1913 | ret = iptc_delete_num_entry(chain, rulenum - 1, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:101:47: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 101 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1941:57: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] 1941 | ret = iptc_zero_counter(chain, rulenum, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:149:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1957:65: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] 1957 | ret = iptc_zero_counter(chain, rulenum, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:149:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1970:65: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] 1970 | ret = iptc_zero_counter(chain, rulenum, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:149:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1973:48: warning: passing argument 2 of 'iptc_create_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1973 | ret = iptc_create_chain(chain, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:119:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 119 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1979:57: warning: passing argument 3 of 'iptc_rename_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1979 | ret = iptc_rename_chain(chain, newname, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:128:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 128 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1982:104: warning: passing argument 4 of 'iptc_set_policy' from incompatible pointer type [-Wincompatible-pointer-types] 1982 | ret = iptc_set_policy(chain, policy, cs.options&OPT_COUNTERS ? &cs.fw.counters : NULL, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:134:41: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 134 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1990:30: warning: passing argument 1 of 'dump_entries' from incompatible pointer type [-Wincompatible-pointer-types] 1990 | dump_entries(*handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:166:26: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 166 | extern void dump_entries(struct iptc_handle *const); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make -C iptables/ all PREFIX="/usr" IPTABLES_VERSION="1.4.4" XTABLES_LIBDIR="/usr/libexec/xtables" IPTABLES_VERSION_CODE="67592" EXTRALIBS="-lip4tc -lxtables" make[1]: Entering directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' make[1]: Leaving directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' make[1]: Entering directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' gcc -O2 -Wall -Wunused -I/include -I/usr/include -I../include/ -fPIC -DXTABLES_INTERNAL -g -DIPTABLES_VERSION=\"1.4.4\" -DXTABLES_LIBDIR=\"/usr/libexec/xtables\" -DIPTABLES_VERSION_CODE=\67592 -c -o iptables.o iptables-detect-version.c gcc -O2 -Wall -Wunused -I/include -I/usr/include -I../include/ -fPIC -DXTABLES_INTERNAL -g -DIPTABLES_VERSION=\"1.4.4\" -DXTABLES_LIBDIR=\"/usr/libexec/xtables\" -DIPTABLES_VERSION_CODE=\67592 -c -o xshared.o xshared.c make[1]: Leaving directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. iptables-detect-version.c:65:2: warning: #warning "This version of xtables is currently not supported by this Perl package" [-Wcpp] 65 | #warning "This version of xtables is currently not supported by this Perl package" | ^~~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'print_header': iptables.c-v1.6.1:454:61: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] 454 | const char *pol = iptc_get_policy(chain, &counters, handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39: ../include/libiptc/libiptc.h:67:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:468:56: warning: passing argument 3 of 'iptc_get_references' from incompatible pointer type [-Wincompatible-pointer-types] 468 | if (!iptc_get_references(&refs, chain, handle)) | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:139:45: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 139 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'print_firewall': iptables.c-v1.6.1:536:38: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 536 | if (!iptc_is_chain(targname, handle)) | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'append_entry': iptables.c-v1.6.1:684:61: warning: passing argument 3 of 'iptc_append_entry' from incompatible pointer type [-Wincompatible-pointer-types] 684 | ret &= iptc_append_entry(chain, fw, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:89:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 89 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'replace_entry': iptables.c-v1.6.1:707:55: warning: passing argument 4 of 'iptc_replace_entry' from incompatible pointer type [-Wincompatible-pointer-types] 707 | return iptc_replace_entry(chain, fw, rulenum, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:83:44: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 83 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'insert_entry': iptables.c-v1.6.1:734:70: warning: passing argument 4 of 'iptc_insert_entry' from incompatible pointer type [-Wincompatible-pointer-types] 734 | ret &= iptc_insert_entry(chain, fw, rulenum, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:77:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 77 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'delete_entry': iptables.c-v1.6.1:802:67: warning: passing argument 4 of 'iptc_delete_entry' from incompatible pointer type [-Wincompatible-pointer-types] 802 | ret &= iptc_delete_entry(chain, fw, mask, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:96:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 96 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'check_entry': iptables.c-v1.6.1:832:32: warning: implicit declaration of function 'iptc_check_entry'; did you mean 'check_entry'? [-Wimplicit-function-declaration] 832 | ret &= iptc_check_entry(chain, fw, mask, handle); | ^~~~~~~~~~~~~~~~ | check_entry iptables.c-v1.6.1: In function 'for_each_chain4': iptables.c-v1.6.1:849:34: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 849 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:852:41: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 852 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:857:34: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 857 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:861:41: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 861 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:867:37: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 867 | handle) == 1) | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'flush_entries4': iptables.c-v1.6.1:885:42: warning: passing argument 2 of 'iptc_flush_entries' from incompatible pointer type [-Wincompatible-pointer-types] 885 | return iptc_flush_entries(chain, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:111:44: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 111 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'zero_entries': iptables.c-v1.6.1:897:41: warning: passing argument 2 of 'iptc_zero_entries' from incompatible pointer type [-Wincompatible-pointer-types] 897 | return iptc_zero_entries(chain, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:115:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 115 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'delete_chain4': iptables.c-v1.6.1:909:41: warning: passing argument 2 of 'iptc_delete_chain' from incompatible pointer type [-Wincompatible-pointer-types] 909 | return iptc_delete_chain(chain, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:123:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 123 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'list_entries': iptables.c-v1.6.1:935:38: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 935 | for (this = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:937:37: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 937 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:948:43: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] 948 | i = iptc_first_rule(this, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:51:61: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:955:67: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] 955 | iptc_get_target(i, handle), | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:59:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:959:47: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] 959 | i = iptc_next_rule(i, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:55:60: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'print_rule4': iptables.c-v1.6.1:1126:42: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] 1126 | target_name = iptc_get_target(e, h); | ^ | | | struct xtc_handle * ../include/libiptc/libiptc.h:59:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'list_rules': iptables.c-v1.6.1:1177:52: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1177 | if (!rulenum) for (this = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1179:37: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1179 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1183:40: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 1183 | if (iptc_builtin(this, handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1185:80: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] 1185 | printf("-P %s %s", this, iptc_get_policy(this, &count, handle)); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:67:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1194:38: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1194 | for (this = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:46:50: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 46 | const char *iptc_first_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1196:37: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1196 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:47:49: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 47 | const char *iptc_next_chain(struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1204:43: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] 1204 | e = iptc_first_rule(this, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:51:61: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1209:47: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] 1209 | e = iptc_next_rule(e, handle); | ^~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:55:60: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1: In function 'do_command4': iptables.c-v1.6.1:1811:25: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] 1811 | *handle = iptc_init(*table); | ^ iptables.c-v1.6.1:1815:25: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] 1815 | *handle = iptc_init(*table); | ^ iptables.c-v1.6.1:1847:59: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1847 | if (cs.target && iptc_is_chain(cs.jumpto, *handle)) { | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1862:53: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1862 | || iptc_is_chain(cs.jumpto, *handle))) { | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1873:55: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1873 | if (!iptc_is_chain(cs.jumpto, *handle)) | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1913:65: warning: passing argument 3 of 'iptc_delete_num_entry' from incompatible pointer type [-Wincompatible-pointer-types] 1913 | ret = iptc_delete_num_entry(chain, rulenum - 1, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:101:47: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 101 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1941:57: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] 1941 | ret = iptc_zero_counter(chain, rulenum, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:149:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1957:65: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] 1957 | ret = iptc_zero_counter(chain, rulenum, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:149:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1970:65: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] 1970 | ret = iptc_zero_counter(chain, rulenum, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:149:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1973:48: warning: passing argument 2 of 'iptc_create_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1973 | ret = iptc_create_chain(chain, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:119:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 119 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1979:57: warning: passing argument 3 of 'iptc_rename_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1979 | ret = iptc_rename_chain(chain, newname, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:128:43: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 128 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1982:104: warning: passing argument 4 of 'iptc_set_policy' from incompatible pointer type [-Wincompatible-pointer-types] 1982 | ret = iptc_set_policy(chain, policy, cs.options&OPT_COUNTERS ? &cs.fw.counters : NULL, *handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:134:41: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 134 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ iptables.c-v1.6.1:1990:30: warning: passing argument 1 of 'dump_entries' from incompatible pointer type [-Wincompatible-pointer-types] 1990 | dump_entries(*handle); | ^~~~~~~ | | | struct xtc_handle * ../include/libiptc/libiptc.h:166:26: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' 166 | extern void dump_entries(struct iptc_handle *const); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I/usr/local/include -I./include -I. -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" -fPIC "-I/usr/lib64/perl5/CORE" -g -DIPTABLES_VERSION=\"1.4.4\" -DXTABLES_LIBDIR=\"\/usr/libexec/xtables\" -DIPTABLES_VERSION_CODE=\67592 libiptc.c In file included from libiptc.xs:5: ppport.h:231: warning: "PERL_UNUSED_DECL" redefined 231 | # define PERL_UNUSED_DECL | In file included from libiptc.xs:2: /usr/lib64/perl5/CORE/perl.h:468: note: this is the location of the previous definition 468 | # define PERL_UNUSED_DECL __attribute__unused__ | libiptc.xs: In function 'XS_IPTables__libiptc_get_references': libiptc.xs:217:34: warning: pointer targets in passing argument 1 of 'iptc_get_references' differ in signedness [-Wpointer-sign] 217 | if (!iptc_get_references(&RETVAL, chain, self)) { | ^~~~~~~ | | | int * In file included from libiptc.xs:7: ./include/libiptc/libiptc.h:137:39: note: expected 'unsigned int *' but argument is of type 'int *' 137 | int iptc_get_references(unsigned int *ref, | ~~~~~~~~~~~~~~^~~ libiptc.xs: In function 'XS_IPTables__libiptc_list_chains': libiptc.xs:276:12: warning: variable 'sv' set but not used [-Wunused-but-set-variable] 276 | SV * sv; | ^~ libiptc.xs: In function 'XS_IPTables__libiptc_get_policy': libiptc.xs:358:26: warning: variable 'sv' set but not used [-Wunused-but-set-variable] 358 | SV * sv; | ^~ libiptc.xs: In function 'XS_IPTables__libiptc_iptables_delete_chain': libiptc.xs:441:22: warning: implicit declaration of function 'delete_chain4'; did you mean 'delete_chain'? [-Wimplicit-function-declaration] 441 | #define delete_chain delete_chain4 | ^~~~~~~~~~~~~ libiptc.xs:441:22: note: in definition of macro 'delete_chain' 441 | #define delete_chain delete_chain4 | ^~~~~~~~~~~~~ libiptc.xs: In function 'XS_IPTables__libiptc_iptables_do_command': libiptc.xs:497:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 497 | argv[0] = iptables_globals.program_name; | ^ libiptc.xs:519:18: warning: implicit declaration of function 'do_command4'; did you mean 'do_command'? [-Wimplicit-function-declaration] 519 | */ | ^ | do_command libiptc.xs: In function 'XS_IPTables__libiptc_set_policy': libiptc.xs:416:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | asprintf(&temp, "%llu", old_counters.pcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libiptc.xs:419:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 419 | asprintf(&temp, "%llu", old_counters.bcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libiptc.xs: In function 'XS_IPTables__libiptc_get_policy': libiptc.xs:367:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | asprintf(&temp, "%llu", counters.pcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libiptc.xs:370:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 370 | asprintf(&temp, "%llu", counters.bcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/IPTables/libiptc/libiptc.so gcc -shared -L/usr/lib libiptc.o iptables/iptables.o iptables/xshared.o -o blib/arch/auto/IPTables/libiptc/libiptc.so \ -ldl -lip4tc -lxtables -lperl \ chmod 755 blib/arch/auto/IPTables/libiptc/libiptc.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FZkIbv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd IPTables-libiptc-0.52 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- libiptc.bs blib/arch/auto/IPTables/libiptc/libiptc.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/autosplit.ix Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/lib64/perl5/vendor_perl/IPTables/libiptc.pm Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/share/man/man3/IPTables::libiptc.3pm + find /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr + mkdir -p /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/libexec/perl-IPTables-libiptc + cp -a t /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/libexec/perl-IPTables-libiptc + cat + chmod +x /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/libexec/perl-IPTables-libiptc/test + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.52-42.fc37 --unique-debug-suffix -0.52-42.fc37.riscv64 --unique-debug-src-base perl-IPTables-libiptc-0.52-42.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/IPTables-libiptc-0.52 extracting debug info from /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so original debug info size: 464kB, size after compression: 452kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 267 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/libexec/perl-IPTables-libiptc/test from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Y6zTHK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd IPTables-libiptc-0.52 ++ perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- -j4 + export HARNESS_OPTIONS=j4 + HARNESS_OPTIONS=j4 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- libiptc.bs blib/arch/auto/IPTables/libiptc/libiptc.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00simple.t ................ skipped: Need to be root t/01_chain_create.t ......... skipped: Need to be root t/02_chain_create_commit.t .. skipped: Need to be root t/03_chain_exist.t .......... skipped: Need to be root t/05_list_rules_IPs.t ....... skipped: Need to be root t/10_rule_create.t .......... skipped: Need to be root t/04_chain_delete_commit.t .. skipped: Need to be root t/11_load_extention_tcp.t ... skipped: Need to be root t/IPTables-libiptc.t ........ ok All tests successful. Files=9, Tests=2, 1 wallclock secs ( 0.26 usr 0.04 sys + 1.32 cusr 0.24 csys = 1.86 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-IPTables-libiptc-0.52-42.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VnA4Kv + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + DOCDIR=/builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/share/doc/perl-IPTables-libiptc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/share/doc/perl-IPTables-libiptc + cp -pr Changes /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/share/doc/perl-IPTables-libiptc + cp -pr README /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64/usr/share/doc/perl-IPTables-libiptc + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(iptables) = 1.6.1 perl(IPTables::libiptc) = 0.52 perl-IPTables-libiptc = 0.52-42.fc37 perl-IPTables-libiptc(riscv-64) = 0.52-42.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libip4tc.so.2()(64bit) libperl.so.5.36()(64bit) libxtables.so.12()(64bit) perl(:VERSION) >= 5.8.4 perl(AutoLoader) perl(Carp) perl(DynaLoader) perl(Exporter) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-IPTables-libiptc-tests-0.52-42.fc37.noarch Provides: perl-IPTables-libiptc-tests = 0.52-42.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl /usr/bin/sh perl(IPTables::libiptc) perl(Test::More) Processing files: perl-IPTables-libiptc-debugsource-0.52-42.fc37.riscv64 Provides: perl-IPTables-libiptc-debugsource = 0.52-42.fc37 perl-IPTables-libiptc-debugsource(riscv-64) = 0.52-42.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-IPTables-libiptc-debuginfo-0.52-42.fc37.riscv64 Provides: debuginfo(build-id) = 5522d3866fc0ff4c8260781881ddb5cb1c986db8 perl-IPTables-libiptc-debuginfo = 0.52-42.fc37 perl-IPTables-libiptc-debuginfo(riscv-64) = 0.52-42.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-IPTables-libiptc-debugsource(riscv-64) = 0.52-42.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-tests-0.52-42.fc37.noarch.rpm Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-0.52-42.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-debugsource-0.52-42.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-debuginfo-0.52-42.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0uv3Pb + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-42.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.d7yftp + umask 022 + cd /builddir/build/BUILD + rm -rf IPTables-libiptc-0.52 IPTables-libiptc-0.52.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0