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

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 30 10:41:53 UTC 2020


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.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list