meta-openembedded/meta-python
Yoann Congal 20ac5b207d
python3-evdev: Use Yocto kernel headers instead of host's
Commit 01ebfecf1c ("python3-evdev: switch to PEP-517 build backend")
did not update the way build arguments are passed to the build making
them unused. In python3-evdev case that meant that the build used host
kernel headers instead of Yocto's.

When host's and Yocto's headers were different (currently the case on
Debian 12 as seen on AB[0]), that triggered:

| src/evdev/ecodes.c:542:29: error: 'KEY_LINK_PHONE' undeclared (first use in this function); did you mean 'KEY_PICKUP_PHONE'?
|   542 |     PyModule_AddIntMacro(m, KEY_LINK_PHONE);
|       |                             ^~~~~~~~~~~~~~
[...]
ERROR: Task (.../../../layers/meta-openembedded/meta-python/recipes-devtools/python/python3-evdev_1.9.1.bb:do_compile) failed with exit code '1'

To fix this, use PEP517_BUILD_OPTS with the working (but weird looking) escaping.

Now that correct headers are used, their paths end up in the ecode.c
file which lead to a buildpaths error, skip the check for this patch.
This will be fixed in a following patch.

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/40/steps/40/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-15 12:52:17 -07:00
..
classes
conf ptest-packagelists-meta-python: Move passing tests out of PTESTS_PROBLEMS_META_PYTHON 2025-04-12 08:30:48 -07:00
licenses python3-crc32c: Declare Zlib license 2025-02-03 20:16:25 -08:00
recipes/devtool python3-breathe: Inherit ptest-python-pytest instead of ptest 2025-04-02 09:27:44 -07:00
recipes-connectivity Use https:// in HOMEPAGE variable instead of http:// 2025-03-25 18:32:07 -07:00
recipes-core meta-python-image-ptest-all: Do not run PTESTS_PROBLEMS_META_PYTHON 2025-04-12 08:30:48 -07:00
recipes-devtools python3-evdev: Use Yocto kernel headers instead of host's 2025-04-15 12:52:17 -07:00
recipes-extended python3-gpt-image: Use PEP-517 build backend 2025-04-10 18:39:31 -07:00
recipes-networking/python Use https:// in HOMEPAGE variable instead of http:// 2025-03-25 18:32:07 -07:00
COPYING.MIT
README.md
SECURITY.md

meta-python

Introduction

This layer is intended to be the home of python modules for OpenEmbedded.

Dependencies

The meta-python layer depends on:

URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master

URI: git://git.openembedded.org/meta-openembedded
layers: meta-oe
branch: master

Contributing

The meta-openembedded mailinglist (openembedded-devel@lists.openembedded.org) is used for questions, comments and patch review. It is subscriber only, so please register before posting.

Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-python]' in the subject.

When sending single patches, please use something like: git send-email -M -1 --to=openembedded-devel@lists.openembedded.org --subject-prefix='meta-python][PATCH'

Maintenance

Layer maintainers: Tim "moto-timo" Orling TicoTimo@gmail.com Derek Straka derek@asterius.io