| Summary: | net-misc/bridge-utils-1.5 fails to build with sys-kernel/linux-headers-3.8: /usr/include/linux/if_bridge.h:172:20: error: field 'ip6' has incomplete type | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Guillaume Castagnino <casta> |
| Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ao, base-system, bruno.a.medeiros, frankiz.daniel, ikelos, polidevk.polidevk |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | brctl kernel headers 3.8 fix | ||
|
Description
Guillaume Castagnino
2013-03-04 12:28:17 UTC
Same happens to me. What's really unexpected is that emerge succeeds and installs some files even though the actual build threw errors. Created attachment 340968 [details, diff]
brctl kernel headers 3.8 fix
I fixed the build with this patch that add the missing include that defines the ip6 struct.
But honestly, I don't know if this is the correct fix, and I cannot check upstream, since their website is dead...
Fixed in tree. Indeed if_bridge.h is no longer self-contained. It's not unheard of, cdrom.h for example needs limits.h for INT_MAX, just to name one example. Linux headers are often like that :-/ *** Bug 460536 has been marked as a duplicate of this bug. *** *** Bug 470280 has been marked as a duplicate of this bug. *** For those wondering, this has been resolved for bridge-utils-1.5, but not 1.4 (which is the currently stable one), which is why we're still getting duplicates of it 6 months on ... |