<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>Good afternoon,</div>
<div><br>
</div>
<div>The path that lead me to bitbake's recipe building is going to be presented next, if the setup isn't important the warnings and errors are highlited in green and you can skip it to there.</div>
<div><br>
</div>
<div>Similar to <a href="https://community.arm.com/dev-platforms/f/discussions/157/issue-of-building-the-openembedded-filesysytem-from-source-for-juno" class="OWAAutoLink" id="LPlnk78529" previewremoved="true">
this thread</a>, i'm having some hard time building the openembedded filesystem.</div>
<div>So far I have managed to follow <a href="https://community.arm.com/dev-platforms/w/docs/303/juno" class="OWAAutoLink" id="LPlnk989448" previewremoved="true">
this tutorial</a> until the &quot;Booting the board&quot; section. After running the board some errors appear during the execution:</div>
<div><br>
</div>
<div><img size="20030" contenttype="image/png" id="img849857" style="max-width: 99.9%; user-select: none;" tabindex="0" src="cid:9fdceaa4-54de-4b86-bd56-dde464d64fb9"><br>
<img size="5529" contenttype="image/png" id="img108347" style="max-width: 99.9%; user-select: none;" tabindex="0" src="cid:01ae2961-d88c-4b0c-b656-f063a8de68cf"><br>
<br>
</div>
<div>This lead me to follow the <b><span style="color: rgb(255, 0, 0);">&quot;Addendum B: Building the OpenEmbedded filesysytem from source&quot;&nbsp;</span></b></div>
<div>(I thought this part was optional since in this section &quot;Initialising a workspace&quot; it says &quot;The script will guide you through the process of initialising your workspace, automatically downloading all relevant source files and required binaries.&quot;)</div>
<div><br>
</div>
<div>I executed this commands with no problems:</div>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>/* Create workspace */</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>/* WARNING: Do *not* create this as a subdirectory of the main Linaro Arm Platforms workspace created by `workspace_yy.mm' above */</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ mkdir openembedded</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ cd openembedded</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ export OE_HOME=`pwd`</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ git clone git://git.linaro.org/openembedded/jenkins-setup.git</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ cd $OE_HOME/jenkins-setup</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ git checkout release-YY.MM</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ cd $OE_HOME</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ sudo jenkins-setup/pre-build-root-install-dependencies.sh</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ jenkins-setup/init-and-build.sh</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ cd $OE_HOME/openembedded-core</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ ./oe-init-build-env</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>/* Add bitbake to your $PATH */</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><span style="color: rgb(0, 111, 201);">$ export PATH=$OE_HOME/openembedded-core/bi</span></b><span style="color: rgb(0, 111, 201);"><b>tbake/bin:$PATH</b></span></div>
<p></p>
</blockquote>
<p style="margin-top:0;margin-bottom:0"></p>
<div></div>
<div><br>
</div>
<div>But, after running this commands:</div>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(0, 111, 201);"><b>$ cd $OE_HOME/build</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><span style="color: rgb(0, 111, 201);">$ bitbake-layers show-recip</span></b><span style="color: rgb(0, 111, 201);"><b>es</b></span></div>
<p></p>
</blockquote>
<p style="margin-top:0;margin-bottom:0"></p>
<div><br>
</div>
<div>I get the following Warnings and Errors (from the log file located in the directory /Desktop/openembedded/build/tmp-glibc/log/cooker)):</div>
<div><br>
</div>
<p></p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>WARNING: /home/lfpm1993/Desktop/openembedded/meta-linaro/meta-ilp32/recipes-overlayed/glibc/glibc_2.26.bb: Exception during build_dependencies for do_install</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>WARNING: /home/lfpm1993/Desktop/openembedded/meta-linaro/meta-ilp32/recipes-overlayed/glibc/glibc_2.26.bb: Error during finalise of /home/lfpm1993/Desktop/openembedded/meta-linaro/meta-ilp32/recipes-overlayed/glibc/glibc_2.26.bb</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>WARNING: /home/lfpm1993/Desktop/openembedded/meta-linaro/meta-ilp32/recipes-overlayed/glibc/glibc-initial_2.26.bb: Exception during build_dependencies for do_install</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>WARNING: /home/lfpm1993/Desktop/openembedded/meta-linaro/meta-ilp32/recipes-overlayed/glibc/glibc-initial_2.26.bb: Error during finalise of /home/lfpm1993/Desktop/openembedded/meta-linaro/meta-ilp32/recipes-overlayed/glibc/glibc-initial_2.26.bb</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>ERROR: ExpansionError during parsing /home/lfpm1993/Desktop/openembedded/meta-linaro/meta-ilp32/recipes-overlayed/glibc/glibc_2.26.bb</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>Traceback (most recent call last):</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>bb.data_smart.ExpansionError: Failure expanding variable do_install, expression was&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oe_runmake install_root=/home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image
 install</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for r in bootparam_prot.x nlm_prot.x rstat.x&nbsp; &nbsp; &nbsp; &nbsp;yppasswd.x klm_prot.x rex.x sm_inter.x mount.x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rusers.x spray.x nfs_prot.x rquota.x key_prot.x; do</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; h=`echo $r|sed -e's,\.x$,.h,'`</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -m 0644 /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/git/sunrpc/rpcsvc/$h /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image//usr/include/rpcsvc/</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; done</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -Dm 0644 /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/etc/ld.so.conf /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image//etc/ld.so.conf</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/lib/locale</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; make -f /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/generate-supported.mk IN=&quot;/home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/git/localedata/SUPPORTED&quot;
 OUT=&quot;/home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/SUPPORTED&quot;</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # get rid of some broken files...</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for i in ; do</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sed -i &quot;/$i/d&quot; /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/SUPPORTED</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; done</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -f /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/rpc</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -rf /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/share/zoneinfo</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -rf /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/libexec/getconf</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -f /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/localtime</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -rf /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/var</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # remove empty glibc dir</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if [ -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/libexec ]; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rmdir --ignore-fail-on-non-empty /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/libexec</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oe_multilib_header bits/syscall.h bits/long-double.h</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if [ -f /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/bin/mtrace ]; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sed -i -e '1s,#!.*perl,#! /usr/bin/env perl,' -e '2s,exec.*perl,exec /usr/bin/env perl,' /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/bin/mtrace</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -rf /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/include/rpcsvc/rquota*</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Info dir listing isn't interesting at this point so remove it if it exists.</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if [ -e &quot;/home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/share/info/dir&quot; ]; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -f /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/usr/share/info/dir</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ! ${@bb.utils.contains('DISTRO_FEATURES', 'ldconfig', 'true', 'false', d)}; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # The distro doesn't want these files so let's not install them</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -f /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/ld.so.conf</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm -f /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/sbin/ldconfig</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # This directory will be empty now so remove it too.</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # But check whether it exists first, since it won't for glibc-initial.</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if [ -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc ]; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rmdir /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if echo glibc|grep -q &quot;glibc-initial&quot;; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/init.d</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/var/db/nscd</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -m 0755 /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/git/nscd/nscd.init /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/init.d/nscd</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -m 0755 /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/git/nscd/nscd.conf /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/nscd.conf</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sed -i &quot;s%daemon%start-stop-daemon --start --exec%g&quot; /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/init.d/nscd</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/lib/systemd/system</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -m 0644 /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/git/nscd/nscd.service /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/lib/systemd/system/</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><br>
</b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/tmpfiles.d</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;d /run/nscd 755 root root -&quot; \</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/tmpfiles.d/nscd.conf</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/default/volatiles</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;d root root 0755 /var/run/nscd none&quot; \</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/etc/default/volatiles/98_nscd</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if [ &quot;/lib&quot; != &quot;/lib&quot; ] ; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # The aarch64 ABI says the dynamic linker -must- be /lib/ld-linux-aarch64[_be].so.1</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; install -d /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/lib</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if [ -e /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/lib/ld-linux-aarch64.so.1 ]; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ln -s ${@base_path_relative('/lib', '/lib')}/ld-linux-aarch64.so.1 \</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/lib/ld-linux-aarch64.so.1</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif [ -e /home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/lib/ld-linux-aarch64_be.so.1 ]; then</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ln -s ${@base_path_relative('/lib', '/lib')}/ld-linux-aarch64_be.so.1 \</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/home/lfpm1993/Desktop/openembedded/build/tmp-glibc/work/aarch64-oe-linux/glibc/2.26-r0/image/lib/ld-linux-aarch64_be.so.1</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fi</b></span></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color: rgb(75, 165, 36);"><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do_install_armm</b></span><b><span style="color: rgb(75, 165, 36);">ultilib</span></b></div>
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><b><span style="color: rgb(75, 165, 36);">which triggered exception NameError: name 'base_path_relative' is not defined</span></b></div>
<p></p>
</blockquote>
<p style="margin-top:0;margin-bottom:0"></p>
<div></div>
<div><br>
</div>
<div><br>
</div>
<div>The only thing I changed from the original files was that I added <span style="color: rgb(0, 111, 201);">
<b><span style="color: rgb(255, 0, 0);">&quot;DISTRO_FEATURES_append = &quot; virtualization&quot;</span></b></span>&quot; to the /Desktop/openembedded/meta-virtualization/layers.conf.&nbsp;</div>
<div>Executing uname -a gives:</div>
<div>Linux lfpm1993-virtual-machine 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64&nbsp;</div>
<div><br>
</div>
<div><span style="font-size: 12pt;">So, my question is how do I solve those warnings and errors?
</span><br>
</div>
<div><br>
</div>
<div>Thanks for helping me,</div>
<div>Luis Martins</div>
<div><br>
</div>
<br>
<p></p>
</div>
</body>
</html>