diff mbox

[2/2] libnl: bump to version 3.2.29

Message ID 4ebba581b256855a7e36993f044ef2b6a6cdfd72.1489136084.git.baruch@tkos.co.il
State Accepted
Headers show

Commit Message

Baruch Siach March 10, 2017, 8:54 a.m. UTC
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/libnl/libnl.hash | 4 ++--
 package/libnl/libnl.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Gustavo Zacarias March 10, 2017, 9:56 a.m. UTC | #1
On 10/03/17 05:54, Baruch Siach wrote:

> -LIBNL_VERSION = 3.2.27
> +LIBNL_VERSION = 3.2.29

Hi Baruch.
Did you try with older headers?
Beacuse last time i tried 3.2.{28,29} weren't happy at least with 3.2.x 
hence i refrained from bumping and carrying that dependency along a few 
packages.
Regards.
Gustavo Zacarias March 10, 2017, 9:57 a.m. UTC | #2
On 10/03/17 06:56, Gustavo Zacarias wrote:

> On 10/03/17 05:54, Baruch Siach wrote:
>
>> -LIBNL_VERSION = 3.2.27
>> +LIBNL_VERSION = 3.2.29
>
> Hi Baruch.
> Did you try with older headers?
> Beacuse last time i tried 3.2.{28,29} weren't happy at least with 3.2.x
> hence i refrained from bumping and carrying that dependency along a few
> packages.
> Regards.

That's kernel headers at least 3.2.x, coffee isn't it yet, sorry.
Regards.
Baruch Siach March 10, 2017, 10:34 a.m. UTC | #3
Hi Gustavo,

On Fri, Mar 10, 2017 at 06:57:10AM -0300, Gustavo Zacarias wrote:
> On 10/03/17 06:56, Gustavo Zacarias wrote:
> > On 10/03/17 05:54, Baruch Siach wrote:
> > 
> > > -LIBNL_VERSION = 3.2.27
> > > +LIBNL_VERSION = 3.2.29
> > 
> > Did you try with older headers?
> > Beacuse last time i tried 3.2.{28,29} weren't happy at least with 3.2.x
> > hence i refrained from bumping and carrying that dependency along a few
> > packages.
> 
> That's kernel headers at least 3.2.x, coffee isn't it yet, sorry.
> Regards.

Right. Build breaks with our 3.5 headers based CodeSourcery SH toolchain:

In file included from ../include/linux-private/linux/ipv6.h:5:0,
                 from ../include/netlink-private/netlink.h:55,
                 from addr.c:30:
.../output/host/usr/sh4a-buildroot-linux-gnu/sysroot/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'

[... many more errors of this type]

The x86_64 toolchain (also using 3.5 headers) is most likely also affected.

Have you investigated this issue any further? Do you know which libnl commit 
introduced it?

Adding kernel headers dependency to all reverse dependencies of libnl would 
not be nice. So unless we find an acceptable solution we'll have to revert 
this bump.

Thanks for your input.

baruch
Thomas Petazzoni March 10, 2017, 11:03 a.m. UTC | #4
Hello,

On Fri, 10 Mar 2017 06:56:00 -0300, Gustavo Zacarias wrote:

> Did you try with older headers?
> Beacuse last time i tried 3.2.{28,29} weren't happy at least with 3.2.x 
> hence i refrained from bumping and carrying that dependency along a few 
> packages.

Thanks for this report. To avoid such bumps, it would be nice when you
realize a bump shouldn't be done for reason X, Y or Z, to send a patch
that adds a comment above the <pkg>_VERSION variable that indicates why
it shouldn't be bumped, or at least what the person doing the bump
should take care of :)

Thanks!

Thomas
Baruch Siach March 10, 2017, 12:55 p.m. UTC | #5
Hi Gustavo,

On Fri, Mar 10, 2017 at 12:34:07PM +0200, Baruch Siach wrote:
> On Fri, Mar 10, 2017 at 06:57:10AM -0300, Gustavo Zacarias wrote:
> > On 10/03/17 06:56, Gustavo Zacarias wrote:
> > > On 10/03/17 05:54, Baruch Siach wrote:
> > > 
> > > > -LIBNL_VERSION = 3.2.27
> > > > +LIBNL_VERSION = 3.2.29
> > > 
> > > Did you try with older headers?
> > > Beacuse last time i tried 3.2.{28,29} weren't happy at least with 3.2.x
> > > hence i refrained from bumping and carrying that dependency along a few
> > > packages.
> > 
> > That's kernel headers at least 3.2.x, coffee isn't it yet, sorry.
> > Regards.
> 
> Right. Build breaks with our 3.5 headers based CodeSourcery SH toolchain:
> 
> In file included from ../include/linux-private/linux/ipv6.h:5:0,
>                  from ../include/netlink-private/netlink.h:55,
>                  from addr.c:30:
> .../output/host/usr/sh4a-buildroot-linux-gnu/sysroot/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
> 
> [... many more errors of this type]
> 
> The x86_64 toolchain (also using 3.5 headers) is most likely also affected.

Adding in6.h and libc-compat.h from the libnl git repo to the tarball seems to 
fix this error. This has been fixed in upstream commit 6c7f4215003 ("build: 
distribute in.h in6.h libc-compat.h").

I don't have time for a proper patch at the moment, so either revert the bump 
and I'll send a revised version later, or create an equivalent patch to 
upstream fix.

baruch
Jeroen Roovers March 10, 2017, 1:05 p.m. UTC | #6
You can use this:

https://dev.gentoo.org/~jer/libnl-3.2.28-in6.patch.xz

On 10 March 2017 at 13:55, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Gustavo,
>
> On Fri, Mar 10, 2017 at 12:34:07PM +0200, Baruch Siach wrote:
>> On Fri, Mar 10, 2017 at 06:57:10AM -0300, Gustavo Zacarias wrote:
>> > On 10/03/17 06:56, Gustavo Zacarias wrote:
>> > > On 10/03/17 05:54, Baruch Siach wrote:
>> > >
>> > > > -LIBNL_VERSION = 3.2.27
>> > > > +LIBNL_VERSION = 3.2.29
>> > >
>> > > Did you try with older headers?
>> > > Beacuse last time i tried 3.2.{28,29} weren't happy at least with 3.2.x
>> > > hence i refrained from bumping and carrying that dependency along a few
>> > > packages.
>> >
>> > That's kernel headers at least 3.2.x, coffee isn't it yet, sorry.
>> > Regards.
>>
>> Right. Build breaks with our 3.5 headers based CodeSourcery SH toolchain:
>>
>> In file included from ../include/linux-private/linux/ipv6.h:5:0,
>>                  from ../include/netlink-private/netlink.h:55,
>>                  from addr.c:30:
>> .../output/host/usr/sh4a-buildroot-linux-gnu/sysroot/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
>>
>> [... many more errors of this type]
>>
>> The x86_64 toolchain (also using 3.5 headers) is most likely also affected.
>
> Adding in6.h and libc-compat.h from the libnl git repo to the tarball seems to
> fix this error. This has been fixed in upstream commit 6c7f4215003 ("build:
> distribute in.h in6.h libc-compat.h").
>
> I don't have time for a proper patch at the moment, so either revert the bump
> and I'll send a revised version later, or create an equivalent patch to
> upstream fix.
>
> baruch
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Baruch Siach March 10, 2017, 2:17 p.m. UTC | #7
Hi Jeroen,

On Fri, Mar 10, 2017 at 02:05:52PM +0100, Jeroen Roovers wrote:
> You can use this:
> 
> https://dev.gentoo.org/~jer/libnl-3.2.28-in6.patch.xz

We'll probably need to add our local libc-compat.h workaround for musl like we 
have for iproute2 (commit bd9549610f3b), so this patch is most likely not 
enough as is.

Thanks,
baruch

> On 10 March 2017 at 13:55, Baruch Siach <baruch@tkos.co.il> wrote:
> > On Fri, Mar 10, 2017 at 12:34:07PM +0200, Baruch Siach wrote:
> >> On Fri, Mar 10, 2017 at 06:57:10AM -0300, Gustavo Zacarias wrote:
> >> > On 10/03/17 06:56, Gustavo Zacarias wrote:
> >> > > On 10/03/17 05:54, Baruch Siach wrote:
> >> > >
> >> > > > -LIBNL_VERSION = 3.2.27
> >> > > > +LIBNL_VERSION = 3.2.29
> >> > >
> >> > > Did you try with older headers?
> >> > > Beacuse last time i tried 3.2.{28,29} weren't happy at least with 3.2.x
> >> > > hence i refrained from bumping and carrying that dependency along a few
> >> > > packages.
> >> >
> >> > That's kernel headers at least 3.2.x, coffee isn't it yet, sorry.
> >> > Regards.
> >>
> >> Right. Build breaks with our 3.5 headers based CodeSourcery SH toolchain:
> >>
> >> In file included from ../include/linux-private/linux/ipv6.h:5:0,
> >>                  from ../include/netlink-private/netlink.h:55,
> >>                  from addr.c:30:
> >> .../output/host/usr/sh4a-buildroot-linux-gnu/sysroot/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
> >>
> >> [... many more errors of this type]
> >>
> >> The x86_64 toolchain (also using 3.5 headers) is most likely also affected.
> >
> > Adding in6.h and libc-compat.h from the libnl git repo to the tarball seems to
> > fix this error. This has been fixed in upstream commit 6c7f4215003 ("build:
> > distribute in.h in6.h libc-compat.h").
> >
> > I don't have time for a proper patch at the moment, so either revert the bump
> > and I'll send a revised version later, or create an equivalent patch to
> > upstream fix.
Thomas Petazzoni March 10, 2017, 8:41 p.m. UTC | #8
Hello,

On Fri, 10 Mar 2017 10:54:44 +0200, Baruch Siach wrote:
> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  package/libnl/libnl.hash | 4 ++--
>  package/libnl/libnl.mk   | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)

As discussed, I have reverted this commit, which causes too many
autobuilder issues.

Best regards,

Thomas
diff mbox

Patch

diff --git a/package/libnl/libnl.hash b/package/libnl/libnl.hash
index 2f1a3cb1b322..9761a9580cc9 100644
--- a/package/libnl/libnl.hash
+++ b/package/libnl/libnl.hash
@@ -1,2 +1,2 @@ 
-# From https://github.com/thom311/libnl/releases/download/libnl3_2_27/libnl-3.2.27.tar.gz.sha256sum
-sha256	4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6	libnl-3.2.27.tar.gz
+# From https://github.com/thom311/libnl/releases/download/libnl3_2_29/libnl-3.2.29.tar.gz.sha256sum
+sha256	0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922	libnl-3.2.29.tar.gz
diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk
index 85c0db86f6cd..d168885560d9 100644
--- a/package/libnl/libnl.mk
+++ b/package/libnl/libnl.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-LIBNL_VERSION = 3.2.27
+LIBNL_VERSION = 3.2.29
 LIBNL_SITE = https://github.com/thom311/libnl/releases/download/libnl$(subst .,_,$(LIBNL_VERSION))
 LIBNL_LICENSE = LGPLv2.1+
 LIBNL_LICENSE_FILES = COPYING