Thomas Backlund skrev 13.1.2013 20:40:
Christiaan Welvaart skrev 13.1.2013 18:18:
On Sun, 13 Jan 2013, Colin Guthrie wrote:

libvirt failed to build with mass-rebuild. I also tweaked it's tmpfiles
support but it too didn't build (unsurprising as it fails in configure).

I tried with both kernel-headers and kernel-source but it didn't help.

Can someone with more clue here have a look?

http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20130113155229.colin.valstar.17600/log/libvirt-1.0.1-5.mga3/build.0.20130113155250.log



This likely the same problem as:
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20130111161923.umeabot.valstar.10551/log/connman-1.9-4.mga3/build.0.20130111162158.log



I tried to fix one such issue in bridge-utils, but I think the header
file linux/if_bridge.h itself is wrong. It uses struct in6_addr but
doesn't #include in6.h .


Indeed looks that way.

or not...

building connman shows that was wrong:

In file included from /usr/include/arpa/inet.h:22:0,
                 from ./include/connman/inet.h:25,
                 from src/connman.h:128,
                 from src/tethering.c:40:
/usr/include/netinet/in.h:35:5: error: expected identifier before numeric constant
/usr/include/netinet/in.h:197:8: error: redefinition of 'struct in6_addr'
In file included from /usr/include/linux/if_bridge.h:17:0,
                 from src/tethering.c:38:
/usr/include/linux/in6.h:30:8: note: originally defined here
In file included from /usr/include/arpa/inet.h:22:0,
                 from ./include/connman/inet.h:25,
                 from src/connman.h:128,
                 from src/tethering.c:40:
/usr/include/netinet/in.h:238:8: error: redefinition of 'struct sockaddr_in6'
In file included from /usr/include/linux/if_bridge.h:17:0,
                 from src/tethering.c:38:
/usr/include/linux/in6.h:46:8: note: originally defined here
In file included from /usr/include/arpa/inet.h:22:0,
                 from ./include/connman/inet.h:25,
                 from src/connman.h:128,
                 from src/tethering.c:40:
/usr/include/netinet/in.h:274:8: error: redefinition of 'struct ipv6_mreq'
In file included from /usr/include/linux/if_bridge.h:17:0,
                 from src/tethering.c:38:
/usr/include/linux/in6.h:54:8: note: originally defined here
  CC       src/src_connmand-stats.o
make[1]: *** [src/src_connmand-tethering.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

--
Thomas

Reply via email to