<div dir="ltr"><div>Facing error as below while doing bitbake in fresh source. Earlier, I have build image successfully on the host machine.</div><div>But, after cleaning when I have started building the image again, facing below error on the same environment (Ubuntu 16.04 LTS) on the host machine.<br></div><div><div><div style="margin-left:40px"><br></div><div style="margin-left:40px">The stack trace of python calls that resulted in this exception/failure was:<br>File: &#39;relocatable_binaries_preprocess&#39;, lineno: 6, function: &lt;module&gt;<br>     0002:def relocatable_binaries_preprocess(d):<br>     0003:    rpath_replace(d.expand(&#39;/poky/build/tmp-glibc/work/x86_64-linux/quilt-native/0.64-r0/sysroot-destdir/&#39;), d)<br>     0004:<br>     0005:<br> *** 0006:relocatable_binaries_preprocess(d)<br>     0007:<br>File: &#39;relocatable_binaries_preprocess&#39;, lineno: 3, function: relocatable_binaries_preprocess<br>     0001:<br>     0002:def relocatable_binaries_preprocess(d):<br> *** 0003:    rpath_replace(d.expand(&#39;/poky/build/tmp-glibc/work/x86_64-linux/quilt-native/0.64-r0/sysroot-destdir/&#39;), d)<br>     0004:<br>     0005:<br>     0006:relocatable_binaries_preprocess(d)<br>     0007:<br>File: &#39;chrpath.bbclass&#39;, lineno: 7, function: rpath_replace<br>     0003:<br>     0004:    for bindir in bindirs:<br>     0005:        #bb.note (&quot;Processing directory &quot; + bindir)<br>     0006:        directory = path + &quot;/&quot; + bindir<br> *** 0007:        process_dir (path, directory, d)<br>     0008:<br>File: &#39;chrpath.bbclass&#39;, lineno: 44, function: process_dir<br>     0040:                perms = None<br>     0041:            else:<br>     0042:                # Temporarily make the file writeable so we can chrpath it<br>     0043:                os.chmod(fpath, perms|stat.S_IRWXU)<br> *** 0044:            process_file(cmd, fpath, rootdir, baseprefix, tmpdir, d)<br>     0045:<br>     0046:            if perms:<br>     0047:                os.chmod(fpath, perms)<br>     0048:<br>File: &#39;chrpath.bbclass&#39;, lineno: 4, function: process_file_linux<br>     0001:def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir, d):<br>     0002:    import subprocess as sub<br>     0003:<br> *** 0004:    p = sub.Popen([cmd, &#39;-l&#39;, fpath],stdout=sub.PIPE,stderr=sub.PIPE)<br>     0005:    err, out = p.communicate()<br>     0006:    # If returned succesfully, process stderr for results<br>     0007:    if p.returncode != 0:<br>     0008:        return<br>File: &#39;/usr/lib/python2.7/subprocess.py&#39;, lineno: 711, function: __init__<br>     0707:                                cwd, env, universal_newlines,<br>     0708:                                startupinfo, creationflags, shell, to_close,<br>     0709:                                p2cread, p2cwrite,<br>     0710:                                c2pread, c2pwrite,<br> *** 0711:                                errread, errwrite)<br>     0712:        except Exception:<br>     0713:            # Preserve original exception in case os.close raises.<br>     0714:            exc_type, exc_value, exc_trace = sys.exc_info()<br>     0715:<br>File: &#39;/usr/lib/python2.7/subprocess.py&#39;, lineno: 1343, function: _execute_child<br>     1339:                except OSError as e:<br>     1340:                    if e.errno != errno.ECHILD:<br>     1341:                        raise<br>     1342:                child_exception = pickle.loads(data)<br> *** 1343:                raise child_exception<br>     1344:<br>     1345:<br>     1346:        def _handle_exitstatus(self, sts, _WIFSIGNALED=os.WIFSIGNALED,<br>     1347:                _WTERMSIG=os.WTERMSIG, _WIFEXITED=os.WIFEXITED,<br>Exception: OSError: [Errno 2] No such file or directory<br></div><br clear="all"></div><div>Any solutions?<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><font face="arial, helvetica, sans-serif">Regards<br></font></div><font face="arial, helvetica, sans-serif">- JAYMIN DABHI</font></div></div></div></div></div></div></div></div></div></div>