[Buildroot] [PATCH] package/libgpiod: bump version to 1.6

Bartosz Golaszewski brgl at bgdev.pl
Fri Oct 30 10:53:23 UTC 2020


On Fri, Oct 30, 2020 at 11:41 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> On Fri, 30 Oct 2020 11:16:04 +0100
> Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> > > Well, that is an issue. An application that builds with 1.6 may not
> > > build with 1.4, so they are not compatible API-wise, and therefore
> > > having libgpiod.mk fall back to 1.4 automatically when the kernel
> > > headers are too old is going to potentially break applications that use
> > > 1.6-specific APIs.
> >
> > Versioning of libgpiod just follows the regular MAJOR.MINOR.BUGFIX
> > scheme. Major releases break API. Minor releases don't break API but
> > (may) introduce new features. Bugfix releases don't change API. I
> > think this is the standard for most libraries. So far no buildroot
> > package even depends on libgpiod so this could only affect out-of-tree
> > users. I'm not sure what the policy here is @buildroot though.
>
> This is perfectly OK. Where it clashes is when a new MAJOR.MINOR
> release drops support for kernels older than 5.5, which is a
> super-recent kernel version. This prevents from simply updating to the
> latest 1.6 release in all situations, causing a compatibility problem
> that is quite annoying to handle.
>

In that case I would advise to keep v1.4 exclusively in buildroot -
just like we do in meta-openembedded.

Bartosz



More information about the buildroot mailing list