On 15 Mar 2024, at 06:20, Ashu Joshi via lists.yoctoproject.org <ashujoshi35=gmail....@lists.yoctoproject.org> wrote: > > Added DEPENDS += "python3-pkgconfig python3 python3-pip" > > but still face the same error. I can see its recipe in meta-python. Also, in > the work directory recipe-sysroot/usr/lib pkgconfig directory is there with > multiple .pc files. I can also see pkgconfig in > recipe-syysroot/usr/lib/python3.8/site-packages/pkgconfig. pkgconfig here has > _pycache_ directory, __init__.py and pkgconfig.py > Still setup.py is not able to find pkgconfig
It’s built-time Python trying to find code, so you want python3-pkgconfig-native. Built-time Python won’t run code in the _target_ sysroot. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62766): https://lists.yoctoproject.org/g/yocto/message/62766 Mute This Topic: https://lists.yoctoproject.org/mt/104927594/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-