[OE-core] [PATCH] waf.bbclass: explicitly pass libdir

Burton, Ross ross.burton at intel.com
Mon Dec 11 14:01:46 UTC 2017


On 11 December 2017 at 13:57, Stefan Agner <stefan at agner.ch> wrote:

> From: Stefan Agner <stefan.agner at toradex.com>
>
> On some build hosts distros (e.g. Fedora 26) waf tries to be
> smart about libdir detection and defaults to [EXEC_PREFIX/lib64].
> This obviously is not what we want for 32-bit targets and usually
> fails in the do_package phase:
>   WARNING: gstreamer1.0-plugins-imx-0.13.0-r0 do_package: QA Issue:
> gstreamer1.0-plugins-imx: Files/directories were installed but not shipped
> in any package:
>     /usr/lib64/libgstimxcommon.so.0
>
> Explicitly pass libdir to waf reliably resolves the issue.
>

What happens if the wscript doesn't recognise --libdir, does it silently
ignore it or throw an error?

If waf supports prefix and libdir and doesn't error on unknown options,
does it also support datadir/sysconfdir and so on?  We should pass as much
as possible.  The gnu_dirs module suggests yes, so you could copy what
autotools passes.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171211/09d06e81/attachment-0002.html>


More information about the Openembedded-core mailing list