[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#891520: marked as done (linux-libc-dev: headers from 4.15 cause "redefinition of 'struct in6_addr'" in libreswan)



Your message dated Tue, 31 May 2022 15:37:22 +0200
with message-id <4810725.0VBMTVartN@bagend>
and subject line Re: linux-libc-dev: headers from 4.15 cause "redefinition of 'struct in6_addr'" in libreswan
has caused the Debian Bug report #891520,
regarding linux-libc-dev: headers from 4.15 cause "redefinition of 'struct in6_addr'" in libreswan
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
891520: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891520
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-libc-dev
Version: 4.15.4-1
Severity: important
Tags: fixed-upstream
Control: affects -1 src:libreswan
X-Debbugs-CC: libreswan@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

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: linux/4.16~rc5-1~exp1

On Mon, 26 Feb 2018 11:44:30 +0000 James Cowgill <jcowgill@debian.org> wrote:
> Package: linux-libc-dev
> Version: 4.15.4-1
> Severity: important
> Tags: fixed-upstream

Upstream commit da360299b6734135a5f66d7db458dcc7801c826a part of v4.16-rc3 and 
included in Debian with 4.16~rc5-1~exp1, so closing with that version.

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: