On Mon, 26 Feb 2024 at 19:27, Trevor Gamblin <tgamb...@baylibre.com> wrote:
> I've got an upgrade ready for this, but it seems to be introducing a
> buildpaths QA issue:
>
> WARNING: rpm-1_4.19.1.1-r0 do_package_qa: QA Issue: File
> /usr/lib/cmake/rpm/rpm-targets.cmake in package rpm-dev contains
> reference to TMPDIR [buildpaths]
>
> I've traced it to this part of
> tmp/work/core2-64-poky-linux/rpm/4.19.1.1/image/usr/lib/cmake/rpm/rpm-targets.cmake,
> but I'm not sure how to fix it (my CMake-fu is weak):
>
> set_target_properties(rpm::librpm PROPERTIES
>    INTERFACE_INCLUDE_DIRECTORIES
> "/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/rpm/4.19.1.1/recipe-sysroot/usr/include"
>
>    INTERFACE_LINK_LIBRARIES "rpm::librpmio"
> )
>
>
> Anyone know how to fix that?

This sort of thing is usually fixed with sed after the fact in
do_install:append. Examples everywhere in oe-core, even rpm recipe
itself.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#196216): 
https://lists.openembedded.org/g/openembedded-core/message/196216
Mute This Topic: https://lists.openembedded.org/mt/104377506/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to