<div dir="ltr">Hello, now serf is failing to build here:<div><br></div><div><br>DEBUG: Executing python function extend_recipe_sysroot<br>NOTE: Direct dependencies are [&#39;TOPDIR/oe-core/meta/recipes-devtools/gcc/gcc-runtime_9.1.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-core/util-linux/util-linux_2.33.2.bb:do_populate_sysroot&#39;, &#39;virtual:native:TOPDIR/oe-core/meta/recipes-devtools/python/python3_3.7.3.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-core/expat/expat_2.2.6.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-core/glibc/glibc_2.29.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-support/apr/apr_1.7.0.bb:do_populate_sysroot&#39;, &#39;virtual:native:TOPDIR/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-devtools/gcc/gcc-cross_9.1.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-support/apr/apr-util_1.6.1.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-devtools/python/python3-scons-native_3.0.5.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-connectivity/openssl/openssl_1.1.1c.bb:do_populate_sysroot&#39;, &#39;TOPDIR/oe-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot&#39;, &#39;virtual:native:TOPDIR/oe-core/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb:do_populate_sysroot&#39;]<br>NOTE: Installed into sysroot: [&#39;pseudo-native&#39;]<br>NOTE: Skipping as already exists in sysroot: [&#39;gcc-runtime&#39;, &#39;util-linux&#39;, &#39;python3-native&#39;, &#39;expat&#39;, &#39;glibc&#39;, &#39;apr&#39;, &#39;gcc-cross-x86_64&#39;, &#39;apr-util&#39;, &#39;python3-scons-native&#39;, &#39;openssl&#39;, &#39;quilt-native&#39;, &#39;icecc-create-env-native&#39;, &#39;linux-libc-headers&#39;, &#39;libgcc&#39;, &#39;bash-completion&#39;, &#39;zlib&#39;, &#39;opkg-utils&#39;, &#39;libxcrypt&#39;, &#39;ncurses&#39;, &#39;gmp-native&#39;, &#39;libmpc-native&#39;, &#39;autoconf-native&#39;, &#39;zlib-native&#39;, &#39;mpfr-native&#39;, &#39;gnu-config-native&#39;, &#39;automake-native&#39;, &#39;libtool-native&#39;, &#39;xz-native&#39;, &#39;binutils-cross-x86_64&#39;, &#39;texinfo-dummy-native&#39;, &#39;flex-native&#39;, &#39;gdbm&#39;, &#39;libtirpc-native&#39;, &#39;sqlite3-native&#39;, &#39;util-linux-native&#39;, &#39;libffi-native&#39;, &#39;gdbm-native&#39;, &#39;bzip2-native&#39;, &#39;pkgconfig-native&#39;, &#39;readline-native&#39;, &#39;openssl-native&#39;, &#39;libnsl2-native&#39;, &#39;m4-native&#39;, &#39;gettext-minimal-native&#39;, &#39;ncurses-native&#39;]<br>DEBUG: Python function extend_recipe_sysroot finished<br>DEBUG: Executing shell function do_install<br>scons: Reading SConscript files ...<br>PermissionError: [Errno 13] Permission denied: &#39;/usr/lib64&#39;:<br>  File &quot;TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct&quot;, line 158:<br>    ENV = os.environ,<br>  File &quot;/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Environment.py&quot;, line 965:<br>    variables.Update(self)<br>  File &quot;/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/__init__.py&quot;, line 227:<br>    option.validator(option.key, env.subst(&#39;${%s}&#39;%option.key), env)<br>  File &quot;TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct&quot;, line 60:<br>    return PathVariable.PathIsDirCreate(key, val, env)<br>  File &quot;/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/PathVariable.py&quot;, line 101:<br>    os.makedirs(val)<br>  File &quot;TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/lib/python3.7/os.py&quot;, line 221:<br>    mkdir(name, mode)<br>ERROR: scons install execution failed.<br>WARNING: exit code 1 from a shell command.<br></div><div><br></div><div>Maybe it fails only with multilib enabled, but it wasn&#39;t failing before the cleanup.</div><div><br></div><div>Anyone else seeing this?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 13, 2019 at 2:01 AM Anuj Mittal &lt;<a href="mailto:anuj.mittal@intel.com">anuj.mittal@intel.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">* Inherit scons bbclass and use the task definitions from there.<br>
* Remove the DEPENDS on python3-scons-native that is already present in<br>
scons class.<br>
<br>
Signed-off-by: Anuj Mittal &lt;<a href="mailto:anuj.mittal@intel.com" target="_blank">anuj.mittal@intel.com</a>&gt;<br>
---<br>
 meta/recipes-support/serf/<a href="http://serf_1.3.9.bb" rel="noreferrer" target="_blank">serf_1.3.9.bb</a> | 23 ++++++++++++-----------<br>
 1 file changed, 12 insertions(+), 11 deletions(-)<br>
<br>
diff --git a/meta/recipes-support/serf/<a href="http://serf_1.3.9.bb" rel="noreferrer" target="_blank">serf_1.3.9.bb</a> b/meta/recipes-support/serf/<a href="http://serf_1.3.9.bb" rel="noreferrer" target="_blank">serf_1.3.9.bb</a><br>
index 706c86be47..92cd5ca061 100644<br>
--- a/meta/recipes-support/serf/<a href="http://serf_1.3.9.bb" rel="noreferrer" target="_blank">serf_1.3.9.bb</a><br>
+++ b/meta/recipes-support/serf/<a href="http://serf_1.3.9.bb" rel="noreferrer" target="_blank">serf_1.3.9.bb</a><br>
@@ -14,18 +14,19 @@ SRC_URI[sha256sum] = &quot;549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf<br>
 LICENSE = &quot;Apache-2.0&quot;<br>
 LIC_FILES_CHKSUM = &quot;file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327&quot;<br>
<br>
-DEPENDS = &quot;python3-scons-native openssl apr apr-util util-linux expat&quot;<br>
+inherit scons<br>
<br>
-do_compile() {<br>
-       ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} \<br>
-               CC=&quot;${CC}&quot; \<br>
-               APR=`which apr-1-config` APU=`which apu-1-config` \<br>
-               CFLAGS=&quot;${CFLAGS}&quot; LINKFLAGS=&quot;${LDFLAGS}&quot; \<br>
-               OPENSSL=&quot;${STAGING_EXECPREFIXDIR}&quot;<br>
-}<br>
+DEPENDS += &quot; openssl apr apr-util util-linux expat&quot;<br>
<br>
-do_install() {<br>
-       ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} LIBDIR=${D}${libdir} install<br>
-}<br>
+EXTRA_OESCONS = &quot; \<br>
+                  LIBDIR=${libdir} \<br>
+                  --install-sandbox=${D} \<br>
+                  CC=&quot;${CC}&quot; \<br>
+                  CFLAGS=&quot;${CFLAGS}&quot; \<br>
+                  LINKFLAGS=&quot;${LDFLAGS}&quot; \<br>
+                  APR=`which apr-1-config` \<br>
+                  APU=`which apu-1-config` \<br>
+                  OPENSSL=&quot;${STAGING_EXECPREFIXDIR}&quot; \<br>
+                  &quot;<br>
<br>
 BBCLASSEXTEND = &quot;native&quot;<br>
-- <br>
2.20.1<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>