Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 779459 Details for
Bug 846377
net-firewall/iptables-1.8.8-r2 build failure with musl: f_ether.h:115:8: error: redefinition of 'struct ethhdr'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/x-log), 18.10 KB, created by
Carlos
on 2022-05-18 21:58:04 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Carlos
Created:
2022-05-18 21:58:04 UTC
Size:
18.10 KB
patch
obsolete
> * Package: net-firewall/iptables-1.8.8-r1 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux split-usr userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Applying iptables-1.8.4-no-symlinks.patch ... > [ ok ] > * Applying iptables-1.8.2-link.patch ... >patching file iptables/Makefile.am >Hunk #1 succeeded at 23 with fuzz 2 (offset -3 lines). > [ ok ] > * Applying iptables-1.8.8-format-security.patch ... > [ ok ] > * Applying iptables-1.8.8-uint-musl.patch ... > [ ok ] > * Running eautoreconf in '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4 --system-acdir=/run/portage/net-firewall/iptables-1.8.8-r1/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: iptables-1.8.8/ > * Running elibtoolize in: iptables-1.8.8/build-aux/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-clang >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 the compiler supports GNU C... yes >checking whether x86_64-gentoo-linux-musl-clang accepts -g... yes >checking for x86_64-gentoo-linux-musl-clang option to enable C11 features... none needed >checking whether x86_64-gentoo-linux-musl-clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-gentoo-linux-musl-clang... none >checking for x86_64-gentoo-linux-musl-ar... llvm-ar >checking the archiver (llvm-ar) interface... ar >checking build system type... x86_64-gentoo-linux-musl >checking host system type... x86_64-gentoo-linux-musl >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-gentoo-linux-musl-clang... /usr/bin/x86_64-gentoo-linux-musl-ld >checking if the linker (/usr/bin/x86_64-gentoo-linux-musl-ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B >checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 98304 >checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop >checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop >checking for /usr/bin/x86_64-gentoo-linux-musl-ld option to reload object files... -r >checking for x86_64-gentoo-linux-musl-file... no >checking for file... file >checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-gentoo-linux-musl-dlltool... x86_64-gentoo-linux-musl-dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-gentoo-linux-musl-ar... (cached) llvm-ar >checking for archiver @FILE support... @ >checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip >checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib >checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-clang object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-gentoo-linux-musl-mt... x86_64-gentoo-linux-musl-mt >checking if x86_64-gentoo-linux-musl-mt is a manifest tool... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-gentoo-linux-musl-clang supports -fno-rtti -fno-exceptions... yes >checking for x86_64-gentoo-linux-musl-clang option to produce PIC... -fPIC -DPIC >checking if x86_64-gentoo-linux-musl-clang PIC flag -fPIC -DPIC works... yes >checking if x86_64-gentoo-linux-musl-clang static flag -static works... yes >checking if x86_64-gentoo-linux-musl-clang supports -c -o file.o... yes >checking if x86_64-gentoo-linux-musl-clang supports -c -o file.o... (cached) yes >checking whether the x86_64-gentoo-linux-musl-clang linker (/usr/bin/x86_64-gentoo-linux-musl-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 /usr/bin/x86_64-gentoo-linux-musl-ld knows -Wl,--no-undefined... yes >checking for linux/dccp.h... yes >checking for linux/ip_vs.h... yes >checking for linux/magic.h... yes >checking for linux/proc_fs.h... no >checking for linux/bpf.h... yes >checking size of struct ip6_hdr... 40 >checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for libnfnetlink... no >checking for libnetfilter_conntrack... no >WARNING: libnetfilter_conntrack not found, connlabel match will not be built >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 iptables/xtables-monitor.8 >config.status: creating utils/nfnl_osf.8 >config.status: creating utils/nfbpf_compile.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: no > nfsynproxy util support: no > nftables support: no > connlabel support: no > >Build parameters: > Put plugins into executable (static): no > Support plugins via dlopen (shared): yes > Installation prefix (--prefix): /usr > Xtables extension directory: /usr/lib/xtables > Pkg-config directory: /usr/lib/pkgconfig > Xtables lock file: /run/xtables.lock > Host: x86_64-gentoo-linux-musl > GCC binary: x86_64-gentoo-linux-musl-clang > >Iptables modules that will not be built: connlabel >make all-recursive >make[1]: Entering directory '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8' >Making all in libiptc >make[2]: Entering directory '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8/libiptc' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib/xtables\" -DXTABLES_INTERNAL -I../include -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c -o libip4tc.lo libip4tc.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib/xtables\" -DXTABLES_INTERNAL -I../include -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c -o libip6tc.lo libip6tc.c >libtool: compile: x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT "-DXTABLES_LIBDIR=\"/usr/lib/xtables\"" -DXTABLES_INTERNAL -I../include -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c libip6tc.c -fPIC -DPIC -o .libs/libip6tc.o >libtool: compile: x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT "-DXTABLES_LIBDIR=\"/usr/lib/xtables\"" -DXTABLES_INTERNAL -I../include -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c libip4tc.c -fPIC -DPIC -o .libs/libip4tc.o >[0;1;35m[0;1;35mwarning: warning: [0m[0m[1m[1munknownunknown warningwarning optionoption '-Wlogical-op';'-Wlogical-op'; diddid youyou meanmean '-Wlong-long'?'-Wlong-long'? [-Wunknown-warning-option][-Wunknown-warning-option][0m[0m > >1 warning generated. >/bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-clang -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -version-info 2:0:0 -Wl,--as-needed -Wl,-z,relro,-z,now -o libip4tc.la -rpath /usr/lib libip4tc.lo >1 warning generated. >/bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-clang -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -version-info 2:0:0 -Wl,--as-needed -Wl,-z,relro,-z,now -o libip6tc.la -rpath /usr/lib libip6tc.lo >libtool: link: x86_64-gentoo-linux-musl-clang -shared -fPIC -DPIC .libs/libip4tc.o -Wl,--as-needed -march=skylake -mtune=skylake -O3 -flto=thin -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libip4tc.so.2 -o .libs/libip4tc.so.2.0.0 >libtool: link: x86_64-gentoo-linux-musl-clang -shared -fPIC -DPIC .libs/libip6tc.o -Wl,--as-needed -march=skylake -mtune=skylake -O3 -flto=thin -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libip6tc.so.2 -o .libs/libip6tc.so.2.0.0 >libtool: link: (cd ".libs" && rm -f "libip6tc.so.2" && ln -s "libip6tc.so.2.0.0" "libip6tc.so.2") >libtool: link: (cd ".libs" && rm -f "libip4tc.so.2" && ln -s "libip4tc.so.2.0.0" "libip4tc.so.2") >libtool: link: (cd ".libs" && rm -f "libip6tc.so" && ln -s "libip6tc.so.2.0.0" "libip6tc.so") >libtool: link: (cd ".libs" && rm -f "libip4tc.so" && ln -s "libip4tc.so.2.0.0" "libip4tc.so") >libtool: link: ( cd ".libs" && rm -f "libip6tc.la" && ln -s "../libip6tc.la" "libip6tc.la" ) >libtool: link: ( cd ".libs" && rm -f "libip4tc.la" && ln -s "../libip4tc.la" "libip4tc.la" ) >make[2]: Leaving directory '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8/libiptc' >Making all in libxtables >make[2]: Entering directory '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8/libxtables' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c -o libxtables_la-xtables.lo `test -f 'xtables.c' || echo './'`xtables.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c -o libxtables_la-xtoptions.lo `test -f 'xtoptions.c' || echo './'`xtoptions.c >/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib/xtables\" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c -o libxtables_la-getethertype.lo `test -f 'getethertype.c' || echo './'`getethertype.c >libtool: compile: x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT "-DXTABLES_LIBDIR=\"/usr/lib/xtables\"" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c xtoptions.c -fPIC -DPIC -o .libs/libxtables_la-xtoptions.o >libtool: compile: x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT "-DXTABLES_LIBDIR=\"/usr/lib/xtables\"" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c getethertype.c -fPIC -DPIC -o .libs/libxtables_la-getethertype.o >libtool: compile: x86_64-gentoo-linux-musl-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT "-DXTABLES_LIBDIR=\"/usr/lib/xtables\"" -DXTABLES_INTERNAL -I../include -I../include -I../iptables -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -march=skylake -mtune=skylake -O3 -pipe -flto=thin -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -c xtables.c -fPIC -DPIC -o .libs/libxtables_la-xtables.o >[0;1;35mwarning: [0m[1munknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option][0m >[0;1;35mwarning: [0m[1munknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option][0m >[0;1;35mwarning: [0m[1munknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option][0m >1 warning generated. >In file included from xtables.c:2248: >In file included from /usr/include/netinet/ether.h:8: >[1m/usr/include/netinet/if_ether.h:115:8: [0m[0;1;31merror: [0m[1mredefinition of 'ethhdr'[0m >struct ethhdr { >[0;1;32m ^ >[0m[1m/usr/include/linux/if_ether.h:169:8: [0m[0;1;30mnote: [0mprevious definition is here[0m >struct ethhdr { >[0;1;32m ^ >[0m1 warning and 1 error generated. >make[2]: *** [Makefile:487: libxtables_la-xtables.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >1 warning generated. >make[2]: Leaving directory '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8/libxtables' >make[1]: *** [Makefile:500: all-recursive] Error 1 >make[1]: Leaving directory '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8' >make: *** [Makefile:409: all] Error 2 > * ERROR: net-firewall/iptables-1.8.8-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-firewall/iptables-1.8.8-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-firewall/iptables-1.8.8-r1::gentoo'`. > * The complete build log is located at '/run/portage/net-firewall/iptables-1.8.8-r1/temp/build.log'. > * The ebuild environment file is located at '/run/portage/net-firewall/iptables-1.8.8-r1/temp/environment'. > * Working directory: '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8' > * S: '/run/portage/net-firewall/iptables-1.8.8-r1/work/iptables-1.8.8'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 846377
:
779456
| 779459 |
779462