<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 ['TOPDIR/oe-core/meta/recipes-devtools/gcc/gcc-runtime_9.1.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-core/util-linux/util-linux_2.33.2.bb:do_populate_sysroot', 'virtual:native:TOPDIR/oe-core/meta/recipes-devtools/python/python3_3.7.3.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-core/expat/expat_2.2.6.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-core/glibc/glibc_2.29.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-support/apr/apr_1.7.0.bb:do_populate_sysroot', 'virtual:native:TOPDIR/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-devtools/gcc/gcc-cross_9.1.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-support/apr/apr-util_1.6.1.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-devtools/python/python3-scons-native_3.0.5.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-connectivity/openssl/openssl_1.1.1c.bb:do_populate_sysroot', 'TOPDIR/oe-core/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:TOPDIR/oe-core/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb:do_populate_sysroot']<br>NOTE: Installed into sysroot: ['pseudo-native']<br>NOTE: Skipping as already exists in sysroot: ['gcc-runtime', 'util-linux', 'python3-native', 'expat', 'glibc', 'apr', 'gcc-cross-x86_64', 'apr-util', 'python3-scons-native', 'openssl', 'quilt-native', 'icecc-create-env-native', 'linux-libc-headers', 'libgcc', 'bash-completion', 'zlib', 'opkg-utils', 'libxcrypt', 'ncurses', 'gmp-native', 'libmpc-native', 'autoconf-native', 'zlib-native', 'mpfr-native', 'gnu-config-native', 'automake-native', 'libtool-native', 'xz-native', 'binutils-cross-x86_64', 'texinfo-dummy-native', 'flex-native', 'gdbm', 'libtirpc-native', 'sqlite3-native', 'util-linux-native', 'libffi-native', 'gdbm-native', 'bzip2-native', 'pkgconfig-native', 'readline-native', 'openssl-native', 'libnsl2-native', 'm4-native', 'gettext-minimal-native', 'ncurses-native']<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: '/usr/lib64':<br> File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 158:<br> ENV = os.environ,<br> File "/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", line 965:<br> variables.Update(self)<br> File "/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", line 227:<br> option.validator(option.key, env.subst('${%s}'%option.key), env)<br> File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 60:<br> return PathVariable.PathIsDirCreate(key, val, env)<br> File "/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", line 101:<br> os.makedirs(val)<br> File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/lib/python3.7/os.py", 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'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 <<a href="mailto:anuj.mittal@intel.com">anuj.mittal@intel.com</a>> 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 <<a href="mailto:anuj.mittal@intel.com" target="_blank">anuj.mittal@intel.com</a>><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] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf<br>
LICENSE = "Apache-2.0"<br>
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"<br>
<br>
-DEPENDS = "python3-scons-native openssl apr apr-util util-linux expat"<br>
+inherit scons<br>
<br>
-do_compile() {<br>
- ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} \<br>
- CC="${CC}" \<br>
- APR=`which apr-1-config` APU=`which apu-1-config` \<br>
- CFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \<br>
- OPENSSL="${STAGING_EXECPREFIXDIR}"<br>
-}<br>
+DEPENDS += " openssl apr apr-util util-linux expat"<br>
<br>
-do_install() {<br>
- ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} LIBDIR=${D}${libdir} install<br>
-}<br>
+EXTRA_OESCONS = " \<br>
+ LIBDIR=${libdir} \<br>
+ --install-sandbox=${D} \<br>
+ CC="${CC}" \<br>
+ CFLAGS="${CFLAGS}" \<br>
+ LINKFLAGS="${LDFLAGS}" \<br>
+ APR=`which apr-1-config` \<br>
+ APU=`which apu-1-config` \<br>
+ OPENSSL="${STAGING_EXECPREFIXDIR}" \<br>
+ "<br>
<br>
BBCLASSEXTEND = "native"<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>