Bug#860013: Bug#824442: <linux/if.h> and <net/if.h> conflict needs to be resolved
- To: Ben Hutchings <ben@decadent.org.uk>, 860013@bugs.debian.org
- Cc: Aurelien Jarno <aurelien@aurel32.net>, Niels Thykier <niels@thykier.net>
- Subject: Bug#860013: Bug#824442: <linux/if.h> and <net/if.h> conflict needs to be resolved
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Sat, 22 Feb 2025 21:13:02 +0100
- Message-id: <[🔎] Z7ovzqQI8eFmkd_E@eldamar.lan>
- Reply-to: Salvatore Bonaccorso <carnil@debian.org>, 860013@bugs.debian.org
- In-reply-to: <1491949721.2409.76.camel@decadent.org.uk>
- References: <1463364771.2631.73.camel@decadent.org.uk> <9a218a47-3a4a-2e05-01ce-58b0f0590d7b@thykier.net> <20170214193643.hal3qqjqhfvlvtse@aurel32.net> <20170214193643.hal3qqjqhfvlvtse@aurel32.net> <640e2be9-c711-1e4d-3656-16240249afa1@thykier.net> <20170409201505.yimjp6zf56a4or6s@aurel32.net> <20170410084845.q7liytrkamannn5a@aurel32.net> <1491878122.2409.65.camel@decadent.org.uk> <20170411212052.ou3fypkc3ectue2m@aurel32.net> <1491949721.2409.76.camel@decadent.org.uk> <1463364771.2631.73.camel@decadent.org.uk>
Hi,
On Tue, Apr 11, 2017 at 11:28:41PM +0100, Ben Hutchings wrote:
> Control: severity -1 important
> Control: severity 824442 important
>
> On Tue, 2017-04-11 at 23:20 +0200, Aurelien Jarno wrote:
> > On 2017-04-11 03:35, Ben Hutchings wrote:
> > > Control: tag -1 moreinfo
> > >
> > > On Mon, 10 Apr 2017 10:48:45 +0200 Aurelien Jarno <aurelien@aurel32.net> wrote:
> > > [...]
> > > > Unfortunately I have been pointed on the libc-alpha mailing list that
> > > > it doesn't work if another file which includes <linux/libc-compat.h>
> > > > (e.g. <linux/xattr.h>) is included before <net/if.h>. The problem is
> > > > that the __UAPI_DEF_IF_* constants are set to 1 in <linux/libc-compat.h>
> > > > even if <linux/if.h> is not included.
> > >
> > > [...]
> > >
> > > Does this affect any real programs, or is this just theoretical (and
> > > therefore should be downgraded)?
> >
> > It depends what do you mean by real program. I doubt it still affect
> > debian packages. The change has been introduced by kernel 4.5, and I
> > guess by now all the FTBFS have been fixed. At least for stretch, they
> > might be a few left in sid.
>
> While the fix in the kernel is clearly incomplete, I think it must have
> worked for most programs.
>
> > Now some of the fixes might not have reached upstream yet.
> >
> > If we consider that acceptable, we can lower the severity of the bugs on
> > both the kernel and the glibc side.
>
> Let's do that.
I see there were back in history two commits which had fixes for
4a91cb61bb99 ("uapi glibc compat: fix compile errors when glibc
net/if.h included before linux/if.h") .
Is there still something which needs to be done on either side (glibc,
kernel) or should we close this issue?
Regards,
Salvatore
Reply to: