Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846545 - net-firewall/iptables-1.8.8-r2::gentoo failed - error: redefinition of 'struct ethhdr'
Summary: net-firewall/iptables-1.8.8-r2::gentoo failed - error: redefinition of 'stru...
Status: RESOLVED DUPLICATE of bug 846377
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-20 07:55 UTC by Oleksa
Modified: 2022-05-20 12:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksa 2022-05-20 07:55:05 UTC
Hello there!

This bug was declared many times before, but for now next package affected:
ERROR: net-firewall/iptables-1.8.8-r2::gentoo failed (compile phase)

My profile:
default/linux/amd64/17.0/musl, gcc-11.3.0, musl-1.2.3, 5.15.35-gentoo x86_64)

Error looks like:

In file included from /usr/include/netinet/ether.h:8,
                 from xtables.c:2248:
/usr/include/netinet/if_ether.h:115:8: error: redefinition of 'struct ethhdr'
  115 | struct ethhdr {
      |        ^~~~~~
In file included from xtables.c:48:
/usr/include/linux/if_ether.h:168:8: note: originally defined here
  168 | struct ethhdr {
      |        ^~~~~~
make[2]: *** [Makefile:487: libxtables_la-xtables.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-firewall/iptables-1.8.8-r2/work/iptables-1.8.8/libxtables'
make[1]: *** [Makefile:500: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-firewall/iptables-1.8.8-r2/work/iptables-1.8.8'
make: *** [Makefile:409: all] Error 2

Please take care, thanks!
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-20 12:33:15 UTC
Please always include the full build.log and emerge --info.

*** This bug has been marked as a duplicate of bug 846377 ***