Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604190 - dev-libs/libnl-3.2.28 with sys-kernel/linux-headers-3.4 - In file included from ../include/linux-private/linux/if_bridge.h:18:0, from route/link/bridge.c:26: /usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
Summary: dev-libs/libnl-3.2.28 with sys-kernel/linux-headers-3.4 - In file included fr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-30 21:30 UTC by pavel sanda
Modified: 2017-01-01 19:18 UTC (History)
1 user (show)

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


Attachments
emergeinfo.txt (info.txt,5.70 KB, text/plain)
2016-12-30 21:36 UTC, pavel sanda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pavel sanda 2016-12-30 21:30:48 UTC
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -I../include/linux-private -I../include -I../include -I./route -I./route/cls -D_GNU_SOURCE -DSYSCONFDIR=\"/etc/libnl\" -O2 -march=core2 -pipe -fomit-frame-pointer -c route/link/inet6.c  -fPIC -DPIC -o route/link/.libs/inet6.o
In file included from ../include/linux-private/linux/if_bridge.h:18:0,
                 from route/link/bridge.c:26:
/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
 struct in6_addr {
        ^
In file included from /usr/include/arpa/inet.h:22:0,
                 from ../include/netlink-private/netlink.h:33,
                 from route/link/bridge.c:20:
/usr/include/netinet/in.h:209:8: note: originally defined here
 struct in6_addr
        ^
In file included from ../include/linux-private/linux/if_bridge.h:18:0,
                 from route/link/bridge.c:26:
/usr/include/linux/in6.h:46:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^
In file included from ../include/netlink-private/netlink.h:27:0,
                 from route/link/bridge.c:20:
/usr/include/sys/socket.h:90:17: note: originally defined here
 typedef union { __SOCKADDR_ALLTYPES
                 ^
In file included from ../include/linux-private/linux/if_bridge.h:18:0,
                 from route/link/bridge.c:26:
/usr/include/linux/in6.h:54:8: error: redefinition of 'struct ipv6_mreq'
 struct ipv6_mreq {
        ^
In file included from /usr/include/arpa/inet.h:22:0,
                 from ../include/netlink-private/netlink.h:33,
                 from route/link/bridge.c:20:
/usr/include/netinet/in.h:288:8: note: originally defined here
 struct ipv6_mreq
        ^
Makefile:1315: recipe for target 'route/link/bridge.lo' failed
make[2]: *** [route/link/bridge.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libnl-3.2.28/work/libnl-3.2.28-abi_x86_32.x86/lib'
Makefile:687: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libnl-3.2.28/work/libnl-3.2.28-abi_x86_32.x86/lib'
Makefile:514: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Comment 1 pavel sanda 2016-12-30 21:36:30 UTC
Created attachment 458062 [details]
emergeinfo.txt
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-01 18:28:50 UTC
Please attach the entire build log to this bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-01 18:47:50 UTC
Never mind the build log. I already fixed this elsewhere but not in Gentoo.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-01 19:18:50 UTC
Fixed without revision bump. Thanks for the report!