On 18 Mar 2024, at 17:17, Bratiranjan Acharya via lists.yoctoproject.org <[email protected]> wrote: > ERROR: easyloggingpp-1.0+gitAUTOINC+f1f6d98c4c-r0 do_package: QA Issue: > easyloggingpp: Files/directories were installed but not shipped in any > package: > /usr/lib > /usr/lib/libeasyloggingpp.a
The default packaging rules put $libdir/*.a into $PN-staticdev, so you should have nothing left to do. But that relies on the files being put in the correct location in the first place. I suspect this package’s CMakeLists.txt is broken, run the following command: $ bitbake-getvar -r easyloggingpp libdir I expect the value it prints is _not_ /usr/lib, which is where easyloggingpp is installing files. This is because the CMakeLists.txt hardcodes the location of the library, and it’s wrong. There’s an upstream fix submitted at https://github.com/abumq/easyloggingpp/pull/815 but upstream appears to have ignored it for two years. I’d try grabbing https://github.com/abumq/easyloggingpp/pull/815/commits/afe010435d0511363d0255b3ad3afbd423251e44 and applying that patch. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62793): https://lists.yoctoproject.org/g/yocto/message/62793 Mute This Topic: https://lists.yoctoproject.org/mt/105008765/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
