All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] waf.bbclass: explicitly pass bindir and libdir
@ 2017-12-12 13:27 Stefan Agner
  2017-12-12 13:52 ` Otavio Salvador
  2017-12-12 14:00 ` Burton, Ross
  0 siblings, 2 replies; 14+ messages in thread
From: Stefan Agner @ 2017-12-12 13:27 UTC (permalink / raw)
  To: openembedded-core; +Cc: Stefan Agner, otavio

From: Stefan Agner <stefan.agner@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

Waf knows prefix, bindir and libdir as default options. Explicitly
pass those three.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---
 meta/classes/waf.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass
index c4698e910a..d0de6fe729 100644
--- a/meta/classes/waf.bbclass
+++ b/meta/classes/waf.bbclass
@@ -26,7 +26,7 @@ def get_waf_parallel_make(d):
     return ""
 
 waf_do_configure() {
-	${S}/waf configure --prefix=${prefix} ${EXTRA_OECONF}
+	${S}/waf configure --prefix=${prefix} --bindir=${bindir} --libdir=${libdir} ${EXTRA_OECONF}
 }
 
 waf_do_compile()  {
-- 
2.13.6



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-12-12 18:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-12 13:27 [PATCH v2] waf.bbclass: explicitly pass bindir and libdir Stefan Agner
2017-12-12 13:52 ` Otavio Salvador
2017-12-12 14:00 ` Burton, Ross
2017-12-12 14:03   ` Stefan Agner
2017-12-12 14:13     ` Burton, Ross
2017-12-12 14:38       ` Stefan Agner
2017-12-12 15:47         ` Otavio Salvador
2017-12-12 15:56           ` Stefan Agner
2017-12-12 16:04             ` Vincent Prince
2017-12-12 16:05               ` Stefan Agner
2017-12-12 17:54             ` Joshua Watt
2017-12-12 18:41               ` Otavio Salvador
2017-12-12 14:06   ` Vincent Prince
2017-12-12 14:09     ` Stefan Agner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.