> I'm not sure how you got there bitbake python3-gpiod
it builds the 2.2 recipe: bitbake -n python3-gpiod | grep gpiod.*do_compile NOTE: Running task 1878 of 2433 (/OE/build/oe-core/meta-openembedded/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb:do_compile) NOTE: Running task 1886 of 2433 (/OE/build/oe-core/meta-openembedded/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb:do_compile_ptest_base) NOTE: Running task 1984 of 2433 (/OE/build/oe-core/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb:do_compile) NOTE: Running task 2041 of 2433 (/OE/build/oe-core/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb:do_compile_ptest_base) I don't use either libgpiod nor python3-gpiod, it's just one of new failures detected in my world builds after the libgpiod-2.2 was merged in master. On Tue, Oct 29, 2024 at 5:45 PM Bartosz Golaszewski <[email protected]> wrote: > > On Tue, Oct 29, 2024 at 1:39 PM Martin Jansa <[email protected]> wrote: > > > > Doesn't this upgrade break python3-gpiod > > (meta-oe/meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb)? > > > > No. The release is fully backward compatible and python bindings > v2.2.1 build fine against it. > > Please note: the versioning of libgpiod and python3-gpiod is > independent since v2.0. > > > In world builds I'm seeing new build failure which looks like caused > > by update libgpiod API: > > > > [] > > > gpiod/ext/chip.c: In function 'chip_fd': > > gpiod/ext/chip.c:48:32: error: implicit declaration of function > > 'gpiod_chip_get_fd'; did you mean 'gpiod_chip_get_line'? > > [-Wimplicit-function-declaration] > > 48 | return PyLong_FromLong(gpiod_chip_get_fd(self->chip)); > > | ^~~~~~~~~~~~~~~~~ > > | gpiod_chip_get_line > > gpiod/ext/chip.c: In function 'chip_get_info': > > gpiod/ext/chip.c:82:16: error: implicit declaration of function > > 'gpiod_chip_get_info'; did you mean 'gpiod_chip_get_lines'? > > [-Wimplicit-function-declaration] > > 82 | info = gpiod_chip_get_info(self->chip); > > | ^~~~~~~~~~~~~~~~~~~ > > | gpiod_chip_get_lines > > gpiod/ext/chip.c:82:14: error: assignment to 'struct gpiod_chip_info > > *' from 'int' makes pointer from integer without a cast > > [-Wint-conversion] > > 82 | info = gpiod_chip_get_info(self->chip); > > | ^ > > gpiod/ext/chip.c:87:38: error: implicit declaration of function > > 'gpiod_chip_info_get_name'; did you mean 'gpiod_chip_open_by_name'? > > [-Wimplicit-function-declaration] > > What you're seeing here is caused by trying to build python bindings > for libgpiod API v2 with headers from libgpiod v1.6.x. I'm not sure > how you got there because the recipe sets the run-time dependency on > libgpiod to version >= v2.1. > > Bart > > [0] > https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb#n19
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#113328): https://lists.openembedded.org/g/openembedded-devel/message/113328 Mute This Topic: https://lists.openembedded.org/mt/109190169/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
