[Openembedded-issues] Question on the libgpiod recipe

Daren Thomas dthomas at sensonix.com
Mon Dec 2 14:17:28 UTC 2019


Greetings,

I added the libgpiod v1.4.1 recipe from the meta-openembedded zeus branch to my custom image.  The command line gpio tools are working successfully.  Now I would like to add the python3 bindings.

To enable the bindings, I changed the PACKAGECONFIG line in the bb file to:

     # enable tools and cxx bindings
     PACKAGECONFIG ?= "python3 cxx tools"

When I did this, I observed the following error:

ERROR: libgpiod-1.4.1-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: libgpiod-python path '/work/cortexa5hf-neon-poky-linux-gnueabi/libgpiod/1.4.1-r0/packages-split/libgpiod-python/usr/lib/python3.5/site-packages/gpiod.a' [staticdev]

I fixed this error by adding the following to the bb file:

     do_install_append () {
         rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/*.a
     }

Unfortunately that does not install the python bindings to libgpiod in the image.  What can I do to install the bindings?  I can use the command line gpio tools, but I would like to use the python bindings if possible.

Thanks,

Daren Thomas

[cid:image001.jpg at 01D5828E.77667D30]
Sensonix Incorporated
15755 32nd Avenue N
Plymouth, Minnesota 55447
dthomas at sensonix.com<mailto:dthomas at sensonix.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-issues/attachments/20191202/246c80a1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1869 bytes
Desc: image001.jpg
URL: <http://lists.openembedded.org/pipermail/openembedded-issues/attachments/20191202/246c80a1/attachment.jpg>


More information about the Openembedded-issues mailing list