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/iptables.spec'], chrootPath='/var/lib/mock/f29-build-22217-11524/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=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/iptables.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 Wrote: /builddir/build/SRPMS/iptables-1.8.0-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/iptables.spec'], chrootPath='/var/lib/mock/f29-build-22217-11524/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=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/iptables.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RO7lbX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptables-1.8.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/iptables-1.8.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iptables-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (iptables-1.6.0-iptables-apply_mktemp.patch):' Patch #1 (iptables-1.6.0-iptables-apply_mktemp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .iptables-apply_mktemp --fuzz=0 patching file iptables/iptables-apply + echo 'Patch #2 (iptables-1.8.0-xtables-nft-multi.patch):' Patch #2 (iptables-1.8.0-xtables-nft-multi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .iptables-xtables_nft_multi --fuzz=0 patching file iptables/xtables-nft-multi.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C7ia3S + umask 022 + cd /builddir/build/BUILD + cd iptables-1.8.0 + CFLAGS='-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 -fno-strict-aliasing ' + CFLAGS='-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 -fno-strict-aliasing ' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-devel --enable-bpf-compiler --with-kernel=/usr --with-kbuild=/usr --with-ksource=/usr checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether the linker accepts -Wl,--no-as-needed... yes checking whether /usr/bin/ld knows -Wl,--no-undefined... yes checking linux/dccp.h usability... yes checking linux/dccp.h presence... yes checking for linux/dccp.h... yes checking linux/ip_vs.h usability... yes checking linux/ip_vs.h presence... yes checking for linux/ip_vs.h... yes checking linux/magic.h usability... yes checking linux/magic.h presence... yes checking for linux/magic.h... yes checking linux/proc_fs.h usability... no checking linux/proc_fs.h presence... no checking for linux/proc_fs.h... no checking linux/bpf.h usability... yes checking linux/bpf.h presence... yes checking for linux/bpf.h... yes checking size of struct ip6_hdr... 40 checking for pcap_compile in -lpcap... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libnfnetlink... yes checking for libmnl... yes checking for libnftnl... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking for libnetfilter_conntrack... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating extensions/GNUmakefile config.status: creating include/Makefile config.status: creating iptables/Makefile config.status: creating iptables/xtables.pc config.status: creating iptables/iptables.8 config.status: creating iptables/iptables-extensions.8.tmpl config.status: creating iptables/iptables-save.8 config.status: creating iptables/iptables-restore.8 config.status: creating iptables/iptables-apply.8 config.status: creating iptables/iptables-xml.1 config.status: creating libipq/Makefile config.status: creating libipq/libipq.pc config.status: creating libiptc/Makefile config.status: creating libiptc/libiptc.pc config.status: creating libiptc/libip4tc.pc config.status: creating libiptc/libip6tc.pc config.status: creating libxtables/Makefile config.status: creating utils/Makefile config.status: creating include/xtables-version.h config.status: creating include/iptables/internal.h config.status: creating iptables/xtables-monitor.8 config.status: creating utils/nfnl_osf.8 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Iptables Configuration: IPv4 support: yes IPv6 support: yes Devel support: yes IPQ support: no Large file support: yes BPF utils support: yes nfsynproxy util support: no nftables support: yes connlabel support: yes Build parameters: Put plugins into executable (static): no Support plugins via dlopen (shared): yes Installation prefix (--prefix): /usr Xtables extension directory: /usr/lib64/xtables Pkg-config directory: /usr/lib64/pkgconfig Xtables lock file: /run/xtables.lock Kernel source directory: /usr Kernel build directory: /usr Host: riscv64-koji-linux-gnu GCC binary: gcc + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + rm -f include/linux/types.h + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/iptables-1.8.0' Making all in libiptc make[2]: Entering directory '/builddir/build/BUILD/iptables-1.8.0/libiptc' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c -o libip4tc.lo libip4tc.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c -o libip6tc.lo libip6tc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c libip4tc.c -fPIC -DPIC -o .libs/libip4tc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c libip6tc.c -fPIC -DPIC -o .libs/libip6tc.o /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -version-info 1:0:1 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libip4tc.la -rpath /usr/lib64 libip4tc.lo -lpcap /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -version-info 1:0:1 -Wl,--no-as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libip6tc.la -rpath /usr/lib64 libip6tc.lo -lpcap libtool: link: gcc -shared -fPIC -DPIC .libs/libip4tc.o -lpcap -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libip4tc.so.0 -o .libs/libip4tc.so.0.1.0 libtool: link: gcc -shared -fPIC -DPIC .libs/libip6tc.o -lpcap -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--no-as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libip6tc.so.0 -o .libs/libip6tc.so.0.1.0 libtool: link: (cd ".libs" && rm -f "libip4tc.so.0" && ln -s "libip4tc.so.0.1.0" "libip4tc.so.0") libtool: link: (cd ".libs" && rm -f "libip4tc.so" && ln -s "libip4tc.so.0.1.0" "libip4tc.so") libtool: link: ( cd ".libs" && rm -f "libip4tc.la" && ln -s "../libip4tc.la" "libip4tc.la" ) libtool: link: (cd ".libs" && rm -f "libip6tc.so.0" && ln -s "libip6tc.so.0.1.0" "libip6tc.so.0") libtool: link: (cd ".libs" && rm -f "libip6tc.so" && ln -s "libip6tc.so.0.1.0" "libip6tc.so") libtool: link: ( cd ".libs" && rm -f "libip6tc.la" && ln -s "../libip6tc.la" "libip6tc.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -version-info 0:0:0 -Wl,--no-as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libiptc.la -rpath /usr/lib64 libip4tc.la libip6tc.la -lpcap libtool: link: gcc -shared -fPIC -DPIC ./.libs/libip4tc.so ./.libs/libip6tc.so -lpcap -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--no-as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libiptc.so.0 -o .libs/libiptc.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libiptc.so.0" && ln -s "libiptc.so.0.0.0" "libiptc.so.0") libtool: link: (cd ".libs" && rm -f "libiptc.so" && ln -s "libiptc.so.0.0.0" "libiptc.so") libtool: link: ( cd ".libs" && rm -f "libiptc.la" && ln -s "../libiptc.la" "libiptc.la" ) make[2]: Leaving directory '/builddir/build/BUILD/iptables-1.8.0/libiptc' Making all in libxtables make[2]: Entering directory '/builddir/build/BUILD/iptables-1.8.0/libxtables' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c -o libxtables_la-xtables.lo `test -f 'xtables.c' || echo './'`xtables.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c -o libxtables_la-xtoptions.lo `test -f 'xtoptions.c' || echo './'`xtoptions.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c xtoptions.c -fPIC -DPIC -o .libs/libxtables_la-xtoptions.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -I/usr/include/uapi -I/usr/include -I/usr/include/uapi -I/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c xtables.c -fPIC -DPIC -o .libs/libxtables_la-xtables.o /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -version-info 12:0:0 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libxtables.la -rpath /usr/lib64 libxtables_la-xtables.lo libxtables_la-xtoptions.lo -ldl -lpcap libtool: link: gcc -shared -fPIC -DPIC .libs/libxtables_la-xtables.o .libs/libxtables_la-xtoptions.o -ldl -lpcap -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libxtables.so.12 -o .libs/libxtables.so.12.0.0 libtool: link: (cd ".libs" && rm -f "libxtables.so.12" && ln -s "libxtables.so.12.0.0" "libxtables.so.12") libtool: link: (cd ".libs" && rm -f "libxtables.so" && ln -s "libxtables.so.12.0.0" "libxtables.so") libtool: link: ( cd ".libs" && rm -f "libxtables.la" && ln -s "../libxtables.la" "libxtables.la" ) make[2]: Leaving directory '/builddir/build/BUILD/iptables-1.8.0/libxtables' Making all in include make[2]: Entering directory '/builddir/build/BUILD/iptables-1.8.0/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/iptables-1.8.0/include' Making all in utils make[2]: Entering directory '/builddir/build/BUILD/iptables-1.8.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c -o nfnl_osf.o nfnl_osf.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -c -o nfbpf_compile.o nfbpf_compile.c /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nfbpf_compile nfbpf_compile.o -lpcap -lpcap BUILDSTDERR: nfnl_osf.c: In function 'osf_load_line': BUILDSTDERR: nfnl_osf.c:387:2: warning: 'nfnl_talk' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: return nfnl_talk(nfnlh, nmh, 0, 0, NULL, NULL, NULL); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from nfnl_osf.c:45: BUILDSTDERR: /usr/include/libnfnetlink/libnfnetlink.h:94:1: note: declared here BUILDSTDERR: nfnl_talk(struct nfnl_handle *, struct nlmsghdr *, pid_t, BUILDSTDERR: ^~~~~~~~~ libtool: link: gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nfbpf_compile nfbpf_compile.o -lpcap /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nfnl_osf nfnl_osf.o -lnfnetlink -lpcap libtool: link: gcc -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -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 -fno-strict-aliasing -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o nfnl_osf nfnl_osf.o -lnfnetlink -lpcap make[2]: Leaving directory '/builddir/build/BUILD/iptables-1.8.0/utils' Making all in extensions make[2]: Entering directory '/builddir/build/BUILD/iptables-1.8.0/extensions' CC libxt_CHECKSUM.oo CC libxt_AUDIT.oo CC libxt_CLASSIFY.oo CC libxt_CONNMARK.oo CC libxt_CONNSECMARK.oo CC libxt_CT.oo CC libxt_DSCP.oo CC libxt_HMARK.oo CC libxt_IDLETIMER.oo CC libxt_LED.oo CC libxt_MARK.oo CC libxt_NFLOG.oo CC libxt_NFQUEUE.oo CC libxt_RATEEST.oo CC libxt_SECMARK.oo CC libxt_SET.oo CC libxt_SYNPROXY.oo CC libxt_TCPMSS.oo CC libxt_TCPOPTSTRIP.oo CC libxt_TEE.oo CC libxt_TOS.oo CC libxt_TPROXY.oo CC libxt_TRACE.oo CC libxt_addrtype.oo CC libxt_bpf.oo CC libxt_cgroup.oo CC libxt_cluster.oo CC libxt_comment.oo CC libxt_connbytes.oo CC libxt_connlabel.oo CC libxt_connlimit.oo CC libxt_connmark.oo CC libxt_conntrack.oo CC libxt_cpu.oo CC libxt_dccp.oo CC libxt_devgroup.oo CC libxt_dscp.oo CC libxt_ecn.oo CC libxt_esp.oo CC libxt_hashlimit.oo CC libxt_helper.oo CC libxt_ipcomp.oo CC libxt_iprange.oo CC libxt_ipvs.oo CC libxt_length.oo CC libxt_limit.oo CC libxt_mac.oo CC libxt_mangle.oo BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP' BUILDSTDERR: IPPROTO_IP = 0, /* Dummy protocol for TCP */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here BUILDSTDERR: IPPROTO_IP = 0, /* Dummy protocol for TCP. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP' BUILDSTDERR: IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here BUILDSTDERR: IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP' BUILDSTDERR: IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here BUILDSTDERR: IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:35:3: error: redeclaration of enumerator 'IPPROTO_IPIP' BUILDSTDERR: IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:48:5: note: previous definition of 'IPPROTO_IPIP' was here BUILDSTDERR: IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP' BUILDSTDERR: IPPROTO_TCP = 6, /* Transmission Control Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here BUILDSTDERR: IPPROTO_TCP = 6, /* Transmission Control Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP' BUILDSTDERR: IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here BUILDSTDERR: IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP' BUILDSTDERR: IPPROTO_PUP = 12, /* PUP protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here BUILDSTDERR: IPPROTO_PUP = 12, /* PUP protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP' BUILDSTDERR: IPPROTO_UDP = 17, /* User Datagram Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here BUILDSTDERR: IPPROTO_UDP = 17, /* User Datagram Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP' BUILDSTDERR: IPPROTO_IDP = 22, /* XNS IDP protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here BUILDSTDERR: IPPROTO_IDP = 22, /* XNS IDP protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP' BUILDSTDERR: IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:60:5: note: previous definition of 'IPPROTO_TP' was here BUILDSTDERR: IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP' BUILDSTDERR: IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here BUILDSTDERR: IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6' BUILDSTDERR: IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here BUILDSTDERR: IPPROTO_IPV6 = 41, /* IPv6 header. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP' BUILDSTDERR: IPPROTO_RSVP = 46, /* RSVP Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here BUILDSTDERR: IPPROTO_RSVP = 46, /* Reservation Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE' BUILDSTDERR: IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here BUILDSTDERR: IPPROTO_GRE = 47, /* General Routing Encapsulation. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP' BUILDSTDERR: IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here BUILDSTDERR: IPPROTO_ESP = 50, /* encapsulating security payload. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH' BUILDSTDERR: IPPROTO_AH = 51, /* Authentication Header protocol */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here BUILDSTDERR: IPPROTO_AH = 51, /* authentication header. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP' BUILDSTDERR: IPPROTO_MTP = 92, /* Multicast Transport Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here BUILDSTDERR: IPPROTO_MTP = 92, /* Multicast Transport Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH' BUILDSTDERR: IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:76:5: note: previous definition of 'IPPROTO_BEETPH' was here BUILDSTDERR: IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP' BUILDSTDERR: IPPROTO_ENCAP = 98, /* Encapsulation Header */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here BUILDSTDERR: IPPROTO_ENCAP = 98, /* Encapsulation Header. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM' BUILDSTDERR: IPPROTO_PIM = 103, /* Protocol Independent Multicast */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here BUILDSTDERR: IPPROTO_PIM = 103, /* Protocol Independent Multicast. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP' BUILDSTDERR: IPPROTO_COMP = 108, /* Compression Header Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here BUILDSTDERR: IPPROTO_COMP = 108, /* Compression Header Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP' BUILDSTDERR: IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here BUILDSTDERR: IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE' BUILDSTDERR: IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here BUILDSTDERR: IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS' BUILDSTDERR: IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here BUILDSTDERR: IPPROTO_MPLS = 137, /* MPLS in IP. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW' BUILDSTDERR: IPPROTO_RAW = 255, /* Raw IP packets */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:90:5: note: previous definition of 'IPPROTO_RAW' was here BUILDSTDERR: IPPROTO_RAW = 255, /* Raw IP packets. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX' BUILDSTDERR: IPPROTO_MAX BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here BUILDSTDERR: IPPROTO_MAX BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr' BUILDSTDERR: struct in_addr { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:31:8: note: originally defined here BUILDSTDERR: struct in_addr BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq' BUILDSTDERR: struct ip_mreq { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:264:8: note: originally defined here BUILDSTDERR: struct ip_mreq BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn' BUILDSTDERR: struct ip_mreqn { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:37, BUILDSTDERR: from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/bits/in.h:149:8: note: originally defined here BUILDSTDERR: struct ip_mreqn BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source' BUILDSTDERR: struct ip_mreq_source { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:273:8: note: originally defined here BUILDSTDERR: struct ip_mreq_source BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter' BUILDSTDERR: struct ip_msfilter { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:323:8: note: originally defined here BUILDSTDERR: struct ip_msfilter BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req' BUILDSTDERR: struct group_req { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:300:8: note: originally defined here BUILDSTDERR: struct group_req BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req' BUILDSTDERR: struct group_source_req { BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:309:8: note: originally defined here BUILDSTDERR: struct group_source_req BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter' BUILDSTDERR: struct group_filter { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:344:8: note: originally defined here BUILDSTDERR: struct group_filter BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo' BUILDSTDERR: struct in_pktinfo { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:37, BUILDSTDERR: from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/bits/in.h:157:8: note: originally defined here BUILDSTDERR: struct in_pktinfo BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:6, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in' BUILDSTDERR: struct sockaddr_in { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:237:8: note: originally defined here BUILDSTDERR: struct sockaddr_in BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:7, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr' BUILDSTDERR: struct in6_addr { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:211:8: note: originally defined here BUILDSTDERR: struct in6_addr BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:7, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6' BUILDSTDERR: struct sockaddr_in6 { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:252:8: note: originally defined here BUILDSTDERR: struct sockaddr_in6 BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from ../include/linux/netfilter.h:7, BUILDSTDERR: from ../include/xtables.h:18, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq' BUILDSTDERR: struct ipv6_mreq { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from ../include/xtables.h:15, BUILDSTDERR: from libxt_mac.c:7: BUILDSTDERR: /usr/include/netinet/in.h:288:8: note: originally defined here BUILDSTDERR: struct ipv6_mreq BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: make[2]: *** [GNUmakefile:107: libxt_mac.oo] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/iptables-1.8.0/extensions' BUILDSTDERR: make[1]: *** [Makefile:507: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/iptables-1.8.0' BUILDSTDERR: make: *** [Makefile:414: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.C7ia3S (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.C7ia3S (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/iptables.spec