Package: linux-libc-dev Version: 4.15.4-1 Severity: important Tags: fixed-upstream Control: affects -1 src:libreswan X-Debbugs-CC: libres...@packages.debian.org
Hi, I noticed libreswan FTBFS in unstable with this error: > In file included from > /<<PKGBUILDDIR>>/programs/pluto/linux-copy/linux/xfrm.h:4:0, > from /<<PKGBUILDDIR>>/programs/pluto/kernel_netlink.c:55: > /usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr' > struct in6_addr { > ^~~~~~~~ > In file included from /<<PKGBUILDDIR>>/linux/include/libreswan.h:76:0, > from /<<PKGBUILDDIR>>/programs/pluto/kernel_netlink.c:54: > /usr/include/netinet/in.h:211:8: note: originally defined here > struct in6_addr > ^~~~~~~~ > In file included from > /<<PKGBUILDDIR>>/programs/pluto/linux-copy/linux/xfrm.h:4:0, > from /<<PKGBUILDDIR>>/programs/pluto/kernel_netlink.c:55: > /usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6' > struct sockaddr_in6 { > ^~~~~~~~~~~~ > In file included from /<<PKGBUILDDIR>>/linux/include/libreswan.h:76:0, > from /<<PKGBUILDDIR>>/programs/pluto/kernel_netlink.c:54: > /usr/include/netinet/in.h:252:8: note: originally defined here > struct sockaddr_in6 > ^~~~~~~~~~~~ > In file included from > /<<PKGBUILDDIR>>/programs/pluto/linux-copy/linux/xfrm.h:4:0, > from /<<PKGBUILDDIR>>/programs/pluto/kernel_netlink.c:55: > /usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq' > struct ipv6_mreq { > ^~~~~~~~~ > In file included from /<<PKGBUILDDIR>>/linux/include/libreswan.h:76:0, > from /<<PKGBUILDDIR>>/programs/pluto/kernel_netlink.c:54: > /usr/include/netinet/in.h:288:8: note: originally defined here > struct ipv6_mreq > ^~~~~~~~~ > make[5]: *** [../../mk/depend.mk:34: kernel_netlink.o] Error 1 > make[4]: *** [../../mk/targets.mk:90: all] Error 2 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/programs/pluto' > make[3]: *** [../mk/targets.mk:90: recursive-all] Error 2 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/programs' > make[2]: *** [mk/targets.mk:90: recursive-all] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > make[1]: *** [debian/rules:23: override_dh_auto_build] Error 2 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > make: *** [debian/rules:6: binary-arch] Error 2 > dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit > status 2 See also this reproducible builds log: > https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/libreswan_3.23-4.rbuild.log This only happens when using linux headers from 4.15. I think the cause of this was a change in 4.15 in the if_ether.h header. It should be fixed by this upstream patch (applied in linus's tree but not yet in stable): https://www.spinics.net/lists/stable/msg215023.html da360299b6734135a5f66d7db458dcc7801c826a "uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define" Thanks, James
signature.asc
Description: OpenPGP digital signature