Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-IPTables-libiptc.spec'], chrootPath='/var/lib/mock/f31-build-43987-25818/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-IPTables-libiptc-0.52-31.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-IPTables-libiptc.spec'], chrootPath='/var/lib/mock/f31-build-43987-25818/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Rt399W + 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 . Patch #0 (perl-IPTables-libiptc-0.51-Support-iptables-1.4.12.patch): + echo '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 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 -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 -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 -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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bisTeU + 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 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 BUILDSTDERR: 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' BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. BUILDSTDERR: iptables-detect-version.c:65:2: warning: #warning "This version of xtables is currently not supported by this Perl package" [-Wcpp] BUILDSTDERR: 65 | #warning "This version of xtables is currently not supported by this Perl package" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'print_header': BUILDSTDERR: iptables.c-v1.6.1:454:54: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 454 | const char *pol = iptc_get_policy(chain, &counters, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:65:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 65 | const char *iptc_get_policy(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:468:42: warning: passing argument 3 of 'iptc_get_references' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 468 | if (!iptc_get_references(&refs, chain, handle)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:139:24: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 139 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'print_firewall': BUILDSTDERR: iptables.c-v1.6.1:536:31: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 536 | if (!iptc_is_chain(targname, handle)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * const BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle * const' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'append_entry': BUILDSTDERR: iptables.c-v1.6.1:684:40: warning: passing argument 3 of 'iptc_append_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 684 | ret &= iptc_append_entry(chain, fw, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:89:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 89 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'replace_entry': BUILDSTDERR: iptables.c-v1.6.1:707:48: warning: passing argument 4 of 'iptc_replace_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 707 | return iptc_replace_entry(chain, fw, rulenum, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:83:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 83 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'insert_entry': BUILDSTDERR: iptables.c-v1.6.1:734:49: warning: passing argument 4 of 'iptc_insert_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 734 | ret &= iptc_insert_entry(chain, fw, rulenum, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:77:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 77 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'delete_entry': BUILDSTDERR: iptables.c-v1.6.1:802:46: warning: passing argument 4 of 'iptc_delete_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 802 | ret &= iptc_delete_entry(chain, fw, mask, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:96:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 96 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'check_entry': BUILDSTDERR: iptables.c-v1.6.1:832:11: warning: implicit declaration of function 'iptc_check_entry'; did you mean 'check_entry'? [-Wimplicit-function-declaration] BUILDSTDERR: 832 | ret &= iptc_check_entry(chain, fw, mask, handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | check_entry BUILDSTDERR: iptables.c-v1.6.1: In function 'for_each_chain4': BUILDSTDERR: iptables.c-v1.6.1:849:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 849 | chain = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:852:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 852 | chain = iptc_next_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:857:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 857 | chain = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:861:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 861 | chain = iptc_next_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:867:9: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 867 | handle) == 1) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'flush_entries4': BUILDSTDERR: iptables.c-v1.6.1:885:35: warning: passing argument 2 of 'iptc_flush_entries' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 885 | return iptc_flush_entries(chain, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:111:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 111 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'zero_entries': BUILDSTDERR: iptables.c-v1.6.1:897:34: warning: passing argument 2 of 'iptc_zero_entries' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 897 | return iptc_zero_entries(chain, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:115:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 115 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'delete_chain4': BUILDSTDERR: iptables.c-v1.6.1:909:34: warning: passing argument 2 of 'iptc_delete_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 909 | return iptc_delete_chain(chain, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:123:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 123 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'list_entries': BUILDSTDERR: iptables.c-v1.6.1:935:31: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 935 | for (this = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:937:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 937 | this = iptc_next_chain(handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:948:29: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 948 | i = iptc_first_rule(this, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:50:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 50 | const struct ipt_entry *iptc_first_rule(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:955:32: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 955 | iptc_get_target(i, handle), BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:58:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 58 | const char *iptc_get_target(const struct ipt_entry *e, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:959:26: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 959 | i = iptc_next_rule(i, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:54:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 54 | const struct ipt_entry *iptc_next_rule(const struct ipt_entry *prev, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'print_rule4': BUILDSTDERR: iptables.c-v1.6.1:1126:35: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1126 | target_name = iptc_get_target(e, h); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:58:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 58 | const char *iptc_get_target(const struct ipt_entry *e, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'list_rules': BUILDSTDERR: iptables.c-v1.6.1:1177:45: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1177 | if (!rulenum) for (this = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1179:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1179 | this = iptc_next_chain(handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1183:26: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1183 | if (iptc_builtin(this, handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1185:59: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1185 | printf("-P %s %s", this, iptc_get_policy(this, &count, handle)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:65:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 65 | const char *iptc_get_policy(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1194:31: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1194 | for (this = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1196:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1196 | this = iptc_next_chain(handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1204:29: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1204 | e = iptc_first_rule(this, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:50:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 50 | const struct ipt_entry *iptc_first_rule(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1209:26: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1209 | e = iptc_next_rule(e, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:54:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 54 | const struct ipt_entry *iptc_next_rule(const struct ipt_entry *prev, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'do_command4': BUILDSTDERR: iptables.c-v1.6.1:1811:11: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] BUILDSTDERR: 1811 | *handle = iptc_init(*table); BUILDSTDERR: | ^ BUILDSTDERR: iptables.c-v1.6.1:1815:11: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] BUILDSTDERR: 1815 | *handle = iptc_init(*table); BUILDSTDERR: | ^ BUILDSTDERR: iptables.c-v1.6.1:1847:45: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1847 | if (cs.target && iptc_is_chain(cs.jumpto, *handle)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1862:32: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1862 | || iptc_is_chain(cs.jumpto, *handle))) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1873:34: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1873 | if (!iptc_is_chain(cs.jumpto, *handle)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1913:51: warning: passing argument 3 of 'iptc_delete_num_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1913 | ret = iptc_delete_num_entry(chain, rulenum - 1, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:101:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 101 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1941:43: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1941 | ret = iptc_zero_counter(chain, rulenum, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 149 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1957:44: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1957 | ret = iptc_zero_counter(chain, rulenum, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 149 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1970:44: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1970 | ret = iptc_zero_counter(chain, rulenum, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 149 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1973:34: warning: passing argument 2 of 'iptc_create_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1973 | ret = iptc_create_chain(chain, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:119:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 119 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1979:43: warning: passing argument 3 of 'iptc_rename_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1979 | ret = iptc_rename_chain(chain, newname, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:128:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 128 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1982:90: warning: passing argument 4 of 'iptc_set_policy' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1982 | ret = iptc_set_policy(chain, policy, cs.options&OPT_COUNTERS ? &cs.fw.counters : NULL, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:134:27: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 134 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1990:16: warning: passing argument 1 of 'dump_entries' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1990 | dump_entries(*handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:166:26: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 166 | extern void dump_entries(struct iptc_handle *const); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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' BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. BUILDSTDERR: iptables-detect-version.c:65:2: warning: #warning "This version of xtables is currently not supported by this Perl package" [-Wcpp] BUILDSTDERR: 65 | #warning "This version of xtables is currently not supported by this Perl package" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'print_header': BUILDSTDERR: iptables.c-v1.6.1:454:54: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 454 | const char *pol = iptc_get_policy(chain, &counters, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:65:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 65 | const char *iptc_get_policy(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:468:42: warning: passing argument 3 of 'iptc_get_references' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 468 | if (!iptc_get_references(&refs, chain, handle)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:139:24: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 139 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'print_firewall': BUILDSTDERR: iptables.c-v1.6.1:536:31: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 536 | if (!iptc_is_chain(targname, handle)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * const BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle * const' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'append_entry': BUILDSTDERR: iptables.c-v1.6.1:684:40: warning: passing argument 3 of 'iptc_append_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 684 | ret &= iptc_append_entry(chain, fw, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:89:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 89 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'replace_entry': BUILDSTDERR: iptables.c-v1.6.1:707:48: warning: passing argument 4 of 'iptc_replace_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 707 | return iptc_replace_entry(chain, fw, rulenum, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:83:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 83 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'insert_entry': BUILDSTDERR: iptables.c-v1.6.1:734:49: warning: passing argument 4 of 'iptc_insert_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 734 | ret &= iptc_insert_entry(chain, fw, rulenum, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:77:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 77 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'delete_entry': BUILDSTDERR: iptables.c-v1.6.1:802:46: warning: passing argument 4 of 'iptc_delete_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 802 | ret &= iptc_delete_entry(chain, fw, mask, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:96:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 96 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'check_entry': BUILDSTDERR: iptables.c-v1.6.1:832:11: warning: implicit declaration of function 'iptc_check_entry'; did you mean 'check_entry'? [-Wimplicit-function-declaration] BUILDSTDERR: 832 | ret &= iptc_check_entry(chain, fw, mask, handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | check_entry BUILDSTDERR: iptables.c-v1.6.1: In function 'for_each_chain4': BUILDSTDERR: iptables.c-v1.6.1:849:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 849 | chain = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:852:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 852 | chain = iptc_next_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:857:27: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 857 | chain = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:861:27: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 861 | chain = iptc_next_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:867:9: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 867 | handle) == 1) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'flush_entries4': BUILDSTDERR: iptables.c-v1.6.1:885:35: warning: passing argument 2 of 'iptc_flush_entries' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 885 | return iptc_flush_entries(chain, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:111:30: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 111 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'zero_entries': BUILDSTDERR: iptables.c-v1.6.1:897:34: warning: passing argument 2 of 'iptc_zero_entries' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 897 | return iptc_zero_entries(chain, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:115:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 115 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'delete_chain4': BUILDSTDERR: iptables.c-v1.6.1:909:34: warning: passing argument 2 of 'iptc_delete_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 909 | return iptc_delete_chain(chain, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:123:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 123 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'list_entries': BUILDSTDERR: iptables.c-v1.6.1:935:31: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 935 | for (this = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:937:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 937 | this = iptc_next_chain(handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:948:29: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 948 | i = iptc_first_rule(this, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:50:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 50 | const struct ipt_entry *iptc_first_rule(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:955:32: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 955 | iptc_get_target(i, handle), BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:58:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 58 | const char *iptc_get_target(const struct ipt_entry *e, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:959:26: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 959 | i = iptc_next_rule(i, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:54:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 54 | const struct ipt_entry *iptc_next_rule(const struct ipt_entry *prev, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'print_rule4': BUILDSTDERR: iptables.c-v1.6.1:1126:35: warning: passing argument 2 of 'iptc_get_target' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1126 | target_name = iptc_get_target(e, h); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:58:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 58 | const char *iptc_get_target(const struct ipt_entry *e, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'list_rules': BUILDSTDERR: iptables.c-v1.6.1:1177:45: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1177 | if (!rulenum) for (this = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1179:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1179 | this = iptc_next_chain(handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1183:26: warning: passing argument 2 of 'iptc_builtin' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1183 | if (iptc_builtin(this, handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:62:63: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 62 | int iptc_builtin(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1185:59: warning: passing argument 3 of 'iptc_get_policy' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1185 | printf("-P %s %s", this, iptc_get_policy(this, &count, handle)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:65:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 65 | const char *iptc_get_policy(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1194:31: warning: passing argument 1 of 'iptc_first_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1194 | for (this = iptc_first_chain(handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:46:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 46 | const char *iptc_first_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1196:30: warning: passing argument 1 of 'iptc_next_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1196 | this = iptc_next_chain(handle)) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:47:13: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 47 | const char *iptc_next_chain(struct iptc_handle *handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1204:29: warning: passing argument 2 of 'iptc_first_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1204 | e = iptc_first_rule(this, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:50:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 50 | const struct ipt_entry *iptc_first_rule(const char *chain, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1209:26: warning: passing argument 2 of 'iptc_next_rule' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1209 | e = iptc_next_rule(e, handle); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:54:25: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 54 | const struct ipt_entry *iptc_next_rule(const struct ipt_entry *prev, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1: In function 'do_command4': BUILDSTDERR: iptables.c-v1.6.1:1811:11: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] BUILDSTDERR: 1811 | *handle = iptc_init(*table); BUILDSTDERR: | ^ BUILDSTDERR: iptables.c-v1.6.1:1815:11: warning: assignment to 'struct xtc_handle *' from incompatible pointer type 'struct iptc_handle *' [-Wincompatible-pointer-types] BUILDSTDERR: 1815 | *handle = iptc_init(*table); BUILDSTDERR: | ^ BUILDSTDERR: iptables.c-v1.6.1:1847:45: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1847 | if (cs.target && iptc_is_chain(cs.jumpto, *handle)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1862:32: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1862 | || iptc_is_chain(cs.jumpto, *handle))) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1873:34: warning: passing argument 2 of 'iptc_is_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1873 | if (!iptc_is_chain(cs.jumpto, *handle)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:37:64: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 37 | int iptc_is_chain(const char *chain, struct iptc_handle *const handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1913:51: warning: passing argument 3 of 'iptc_delete_num_entry' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1913 | ret = iptc_delete_num_entry(chain, rulenum - 1, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:101:26: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 101 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1941:43: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1941 | ret = iptc_zero_counter(chain, rulenum, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 149 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1957:44: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1957 | ret = iptc_zero_counter(chain, rulenum, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 149 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1970:44: warning: passing argument 3 of 'iptc_zero_counter' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1970 | ret = iptc_zero_counter(chain, rulenum, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:149:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 149 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1973:34: warning: passing argument 2 of 'iptc_create_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1973 | ret = iptc_create_chain(chain, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:119:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 119 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1979:43: warning: passing argument 3 of 'iptc_rename_chain' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1979 | ret = iptc_rename_chain(chain, newname, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:128:29: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 128 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1982:90: warning: passing argument 4 of 'iptc_set_policy' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1982 | ret = iptc_set_policy(chain, policy, cs.options&OPT_COUNTERS ? &cs.fw.counters : NULL, *handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:134:27: note: expected 'struct iptc_handle *' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 134 | struct iptc_handle *handle); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: In file included from iptables-detect-version.c:66: BUILDSTDERR: iptables.c-v1.6.1:1990:16: warning: passing argument 1 of 'dump_entries' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 1990 | dump_entries(*handle); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct xtc_handle * BUILDSTDERR: In file included from ../include/iptables.h:6, BUILDSTDERR: from iptables.c-v1.6.1:39, BUILDSTDERR: from iptables-detect-version.c:66: BUILDSTDERR: ../include/libiptc/libiptc.h:166:26: note: expected 'struct iptc_handle * const' but argument is of type 'struct xtc_handle *' BUILDSTDERR: 166 | extern void dump_entries(struct iptc_handle *const); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I/usr/local/include -I./include -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 BUILDSTDERR: In file included from libiptc.xs:5: BUILDSTDERR: ppport.h:231: warning: "PERL_UNUSED_DECL" redefined BUILDSTDERR: 231 | # define PERL_UNUSED_DECL BUILDSTDERR: | BUILDSTDERR: In file included from libiptc.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/perl.h:328: note: this is the location of the previous definition BUILDSTDERR: 328 | # define PERL_UNUSED_DECL __attribute__unused__ BUILDSTDERR: | BUILDSTDERR: libiptc.xs: In function 'XS_IPTables__libiptc_get_references': BUILDSTDERR: libiptc.xs:217:27: warning: pointer targets in passing argument 1 of 'iptc_get_references' differ in signedness [-Wpointer-sign] BUILDSTDERR: 217 | if (!iptc_get_references(&RETVAL, chain, self)) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from libiptc.xs:7: BUILDSTDERR: ./include/libiptc/libiptc.h:137:39: note: expected 'unsigned int *' but argument is of type 'int *' BUILDSTDERR: 137 | int iptc_get_references(unsigned int *ref, BUILDSTDERR: | ~~~~~~~~~~~~~~^~~ BUILDSTDERR: libiptc.c: In function 'XS_IPTables__libiptc_list_chains': BUILDSTDERR: libiptc.xs:276:12: warning: variable 'sv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 276 | SV * sv; BUILDSTDERR: | ^~ BUILDSTDERR: libiptc.c: In function 'XS_IPTables__libiptc_get_policy': BUILDSTDERR: libiptc.xs:358:26: warning: variable 'sv' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 358 | SV * sv; BUILDSTDERR: | ^~ BUILDSTDERR: libiptc.xs: In function 'XS_IPTables__libiptc_iptables_delete_chain': BUILDSTDERR: libiptc.xs:441:22: warning: implicit declaration of function 'delete_chain4'; did you mean 'delete_chain'? [-Wimplicit-function-declaration] BUILDSTDERR: 441 | #define delete_chain delete_chain4 BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: libiptc.xs:441:22: note: in definition of macro 'delete_chain' BUILDSTDERR: 441 | #define delete_chain delete_chain4 BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: libiptc.xs: In function 'XS_IPTables__libiptc_iptables_do_command': BUILDSTDERR: libiptc.xs:497:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 497 | argv[0] = iptables_globals.program_name; BUILDSTDERR: | ^ BUILDSTDERR: libiptc.xs:519:11: warning: implicit declaration of function 'do_command4'; did you mean 'do_command'? [-Wimplicit-function-declaration] BUILDSTDERR: 519 | */ BUILDSTDERR: | ^ BUILDSTDERR: | do_command BUILDSTDERR: libiptc.c: In function 'XS_IPTables__libiptc_set_policy': BUILDSTDERR: libiptc.xs:416:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 416 | asprintf(&temp, "%llu", old_counters.pcnt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libiptc.xs:419:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 419 | asprintf(&temp, "%llu", old_counters.bcnt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libiptc.c: In function 'XS_IPTables__libiptc_get_policy': BUILDSTDERR: libiptc.xs:367:6: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 367 | asprintf(&temp, "%llu", counters.pcnt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libiptc.xs:370:6: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 370 | asprintf(&temp, "%llu", counters.bcnt); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lZoFiW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64 + cd IPTables-libiptc-0.52 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.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-31.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/autosplit.ix Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64/usr/lib64/perl5/vendor_perl/IPTables/libiptc.pm Installing /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64/usr/share/man/man3/IPTables::libiptc.3pm + find /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.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-31.fc31.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.52-31.fc31 --unique-debug-suffix -0.52-31.fc31.riscv64 --unique-debug-src-base perl-IPTables-libiptc-0.52-31.fc31.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-31.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so extracting debug info from /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/IPTables/libiptc/libiptc.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 258 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5X7gbX Processing files: perl-IPTables-libiptc-0.52-31.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KcdHMT + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + DOCDIR=/builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.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-31.fc31.riscv64/usr/share/doc/perl-IPTables-libiptc + cp -pr Changes /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64/usr/share/doc/perl-IPTables-libiptc + cp -pr README /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64/usr/share/doc/perl-IPTables-libiptc + exit 0 BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Provides: bundled(iptables) = 1.6.1 perl(IPTables::libiptc) = 0.52 perl-IPTables-libiptc = 0.52-31.fc31 perl-IPTables-libiptc(riscv-64) = 0.52-31.fc31 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.28()(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-31.fc31.riscv64 Provides: perl-IPTables-libiptc-debugsource = 0.52-31.fc31 perl-IPTables-libiptc-debugsource(riscv-64) = 0.52-31.fc31 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-31.fc31.riscv64 Provides: debuginfo(build-id) = eb00e0405dae48d60f274c2e86041ab466e2478b perl-IPTables-libiptc-debuginfo = 0.52-31.fc31 perl-IPTables-libiptc-debuginfo(riscv-64) = 0.52-31.fc31 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-31.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64 Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-0.52-31.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-debugsource-0.52-31.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-IPTables-libiptc-debuginfo-0.52-31.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MB0KqU + umask 022 + cd /builddir/build/BUILD + cd IPTables-libiptc-0.52 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-IPTables-libiptc-0.52-31.fc31.riscv64 + exit 0 Child return code was: 0