[OE-core] [PATCH v3] waf.bbclass: explicitly pass bindir and libdir if supported

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Dec 12 16:33:04 UTC 2017


On Tue, Dec 12, 2017 at 2:13 PM, 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
>     ...
>
> Depending on version, waf knows prefix or prefix, bindir and
> libdir as default options. Explicitly pass the right set of
> arguments.
>
> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>

I think it is the best we can do for now. Anything fancier than this
is risky and would not be possible to be backported.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list