Mock Version: 1.4.21 Mock Version: 1.4.21 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/f33-build-284922-52985/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False sh: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1592784000 Wrote: /builddir/build/SRPMS/perl-IPTables-libiptc-0.52-34.fc33.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/f33-build-284922-52985/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1592784000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bgGHnc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf IPTables-libiptc-0.52 + /usr/bin/gzip -dc /builddir/build/SOURCES/IPTables-libiptc-0.52.tar.gz + /usr/bin/tar -xof - + 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 -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 -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 -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 -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 -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 + echo 'Patch #5 (IPTables-libiptc-0.52-Fix-GCC-format-security-warning.patch):' Patch #5 (IPTables-libiptc-0.52-Fix-GCC-format-security-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libiptc.xs + echo 'Patch #6 (IPTables-libiptc-0.52-Stop-linking-against-nsl-library.patch):' Patch #6 (IPTables-libiptc-0.52-Stop-linking-against-nsl-library.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL + echo 'Patch #7 (IPTables-libiptc-0.52-Disable-locking.patch):' Patch #7 (IPTables-libiptc-0.52-Disable-locking.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -p1 --fuzz=0 patching file Makefile.PL + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D4vh0a + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 'OPTIMIZE=-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' Checking if your kit is complete... Looks good 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.3 (vercode:67587) 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/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="67587" EXTRALIBS="-liptc -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' cc -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=\67587 -c -o iptables.o iptables-detect-version.c cc -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=\67587 -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:54: 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, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:67:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:468:42: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:139:24: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 139 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'print_firewall': iptables.c-v1.6.1:536:31: 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 * const In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle * const' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'append_entry': iptables.c-v1.6.1:684:40: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:89:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 89 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'replace_entry': iptables.c-v1.6.1:707:48: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:83:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 83 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'insert_entry': iptables.c-v1.6.1:734:49: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:77:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 77 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'delete_entry': iptables.c-v1.6.1:802:46: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:96:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 96 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'check_entry': iptables.c-v1.6.1:832:11: 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:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 849 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:852:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 852 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:857:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 857 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:861:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 861 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:867:9: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 867 | handle) == 1) | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'flush_entries4': iptables.c-v1.6.1:885:35: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:111:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 111 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'zero_entries': iptables.c-v1.6.1:897:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:115:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 115 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'delete_chain4': iptables.c-v1.6.1:909:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:123:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 123 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'list_entries': iptables.c-v1.6.1:935:31: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:937:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 937 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:948:29: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:51:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:955:32: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] 955 | iptc_get_target(i, handle), | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:59:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:959:26: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:55:32: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'print_rule4': iptables.c-v1.6.1:1126:35: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:59:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'list_rules': iptables.c-v1.6.1:1177:45: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1179:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1179 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1183:26: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 1183 | if (iptc_builtin(this, handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1185:59: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:67:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1194:31: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1196:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1196 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1204:29: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:51:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1209:26: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:55:32: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'do_command4': iptables.c-v1.6.1:1811:11: 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:11: 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:45: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1862:32: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1873:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1913:51: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:101:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 101 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1941:43: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1957:44: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1970:44: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1973:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:119:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 119 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1979:43: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:128:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 128 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1982:90: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:134:27: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 134 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1990:16: warning: passing argument 1 of 'dump_entries' from incompatible pointer type [-Wincompatible-pointer-types] 1990 | dump_entries(*handle); | ^~~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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="67587" EXTRALIBS="-liptc -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' cc -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=\67587 -c -o iptables.o iptables-detect-version.c cc -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=\67587 -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:54: 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, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:67:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:468:42: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:139:24: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 139 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'print_firewall': iptables.c-v1.6.1:536:31: 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 * const In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle * const' 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'append_entry': iptables.c-v1.6.1:684:40: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:89:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 89 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'replace_entry': iptables.c-v1.6.1:707:48: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:83:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 83 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'insert_entry': iptables.c-v1.6.1:734:49: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:77:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 77 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'delete_entry': iptables.c-v1.6.1:802:46: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:96:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 96 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'check_entry': iptables.c-v1.6.1:832:11: 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:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 849 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:852:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 852 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:857:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] 857 | chain = iptc_first_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:861:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 861 | chain = iptc_next_chain(handle); | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:867:9: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 867 | handle) == 1) | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'flush_entries4': iptables.c-v1.6.1:885:35: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:111:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 111 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'zero_entries': iptables.c-v1.6.1:897:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:115:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 115 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'delete_chain4': iptables.c-v1.6.1:909:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:123:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 123 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'list_entries': iptables.c-v1.6.1:935:31: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:937:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 937 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:948:29: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:51:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:955:32: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] 955 | iptc_get_target(i, handle), | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:59:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:959:26: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:55:32: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'print_rule4': iptables.c-v1.6.1:1126:35: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:59:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 59 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'list_rules': iptables.c-v1.6.1:1177:45: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1179:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1179 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1183:26: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] 1183 | if (iptc_builtin(this, handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1185:59: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:67:28: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 67 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1194:31: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1196:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] 1196 | this = iptc_next_chain(handle)) { | ^~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1204:29: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:51:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 51 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1209:26: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:55:32: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 55 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1: In function 'do_command4': iptables.c-v1.6.1:1811:11: 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:11: 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:45: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1862:32: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1873:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1913:51: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:101:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 101 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1941:43: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1957:44: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1970:44: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 149 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1973:34: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:119:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 119 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1979:43: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:128:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 128 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1982:90: 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 * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../include/libiptc/libiptc.h:134:27: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' 134 | struct iptc_handle *handle); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from iptables-detect-version.c:66: iptables.c-v1.6.1:1990:16: warning: passing argument 1 of 'dump_entries' from incompatible pointer type [-Wincompatible-pointer-types] 1990 | dump_entries(*handle); | ^~~~~~~ | | | struct xtc_handle * In file included from ../include/iptables.h:6, from iptables.c-v1.6.1:39, from iptables-detect-version.c:66: ../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 -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=\67587 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:435: note: this is the location of the previous definition 435 | # define PERL_UNUSED_DECL __attribute__unused__ | libiptc.xs: In function 'XS_IPTables__libiptc_get_references': libiptc.xs:217:27: 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.c: 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.c: 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:11: warning: implicit declaration of function 'do_command4'; did you mean 'do_command'? [-Wimplicit-function-declaration] 519 | */ | ^ | do_command libiptc.c: In function 'XS_IPTables__libiptc_set_policy': libiptc.xs:416:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | asprintf(&temp, "%llu", old_counters.pcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libiptc.xs:419:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 419 | asprintf(&temp, "%llu", old_counters.bcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libiptc.c: In function 'XS_IPTables__libiptc_get_policy': libiptc.xs:367:6: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | asprintf(&temp, "%llu", counters.pcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libiptc.xs:370:6: 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 -liptc -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.mp0JFc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64 + cd IPTables-libiptc-0.52 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.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-34.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64/usr/lib64/perl5/vendor_perl/IPTables/libiptc.pm Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/autosplit.ix Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64/usr/share/man/man3/IPTables::libiptc.3pm + find /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.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-34.fc33.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.52-34.fc33 --unique-debug-suffix -0.52-34.fc33.riscv64 --unique-debug-src-base perl-IPTables-libiptc-0.52-34.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/IPTables-libiptc-0.52 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so extracting debug info from /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so original debug info size: 284kB, size after compression: 272kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 258 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jooqGc + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + 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/04_chain_delete_commit.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/11_load_extention_tcp.t ... skipped: Need to be root t/IPTables-libiptc.t ........ ok All tests successful. Files=9, Tests=2, 8 wallclock secs ( 0.84 usr 0.33 sys + 6.15 cusr 1.39 csys = 8.71 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-IPTables-libiptc-0.52-34.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vQga1a + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + DOCDIR=/builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.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-34.fc33.riscv64/usr/share/doc/perl-IPTables-libiptc + cp -pr Changes /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64/usr/share/doc/perl-IPTables-libiptc + cp -pr README /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.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-34.fc33 perl-IPTables-libiptc(riscv-64) = 0.52-34.fc33 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) libdl.so.2()(64bit) libip4tc.so.2()(64bit) libiptc.so.0()(64bit) libperl.so.5.32()(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-debugsource-0.52-34.fc33.riscv64 Provides: perl-IPTables-libiptc-debugsource = 0.52-34.fc33 perl-IPTables-libiptc-debugsource(riscv-64) = 0.52-34.fc33 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-34.fc33.riscv64 Provides: debuginfo(build-id) = 5d681d111dbcb99e93bc5a02f59a8578e7182012 perl-IPTables-libiptc-debuginfo = 0.52-34.fc33 perl-IPTables-libiptc-debuginfo(riscv-64) = 0.52-34.fc33 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-34.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64 Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-0.52-34.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-debugsource-0.52-34.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-debuginfo-0.52-34.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OAR8La + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-34.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0