[bitbake-devel] Bitbake Error in quilt-native_0.64.bb
Jaymin D
jaymin.linux at gmail.com
Wed Jun 26 05:04:31 UTC 2019
Facing error as below while doing bitbake in fresh source. Earlier, I have
build image successfully on the host machine.
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.
The stack trace of python calls that resulted in this exception/failure was:
File: 'relocatable_binaries_preprocess', lineno: 6, function: <module>
0002:def relocatable_binaries_preprocess(d):
0003:
rpath_replace(d.expand('/poky/build/tmp-glibc/work/x86_64-linux/quilt-native/0.64-r0/sysroot-destdir/'),
d)
0004:
0005:
*** 0006:relocatable_binaries_preprocess(d)
0007:
File: 'relocatable_binaries_preprocess', lineno: 3, function:
relocatable_binaries_preprocess
0001:
0002:def relocatable_binaries_preprocess(d):
*** 0003:
rpath_replace(d.expand('/poky/build/tmp-glibc/work/x86_64-linux/quilt-native/0.64-r0/sysroot-destdir/'),
d)
0004:
0005:
0006:relocatable_binaries_preprocess(d)
0007:
File: 'chrpath.bbclass', lineno: 7, function: rpath_replace
0003:
0004: for bindir in bindirs:
0005: #bb.note ("Processing directory " + bindir)
0006: directory = path + "/" + bindir
*** 0007: process_dir (path, directory, d)
0008:
File: 'chrpath.bbclass', lineno: 44, function: process_dir
0040: perms = None
0041: else:
0042: # Temporarily make the file writeable so we can
chrpath it
0043: os.chmod(fpath, perms|stat.S_IRWXU)
*** 0044: process_file(cmd, fpath, rootdir, baseprefix, tmpdir,
d)
0045:
0046: if perms:
0047: os.chmod(fpath, perms)
0048:
File: 'chrpath.bbclass', lineno: 4, function: process_file_linux
0001:def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir,
d):
0002: import subprocess as sub
0003:
*** 0004: p = sub.Popen([cmd, '-l',
fpath],stdout=sub.PIPE,stderr=sub.PIPE)
0005: err, out = p.communicate()
0006: # If returned succesfully, process stderr for results
0007: if p.returncode != 0:
0008: return
File: '/usr/lib/python2.7/subprocess.py', lineno: 711, function: __init__
0707: cwd, env, universal_newlines,
0708: startupinfo, creationflags,
shell, to_close,
0709: p2cread, p2cwrite,
0710: c2pread, c2pwrite,
*** 0711: errread, errwrite)
0712: except Exception:
0713: # Preserve original exception in case os.close raises.
0714: exc_type, exc_value, exc_trace = sys.exc_info()
0715:
File: '/usr/lib/python2.7/subprocess.py', lineno: 1343, function:
_execute_child
1339: except OSError as e:
1340: if e.errno != errno.ECHILD:
1341: raise
1342: child_exception = pickle.loads(data)
*** 1343: raise child_exception
1344:
1345:
1346: def _handle_exitstatus(self, sts,
_WIFSIGNALED=os.WIFSIGNALED,
1347: _WTERMSIG=os.WTERMSIG, _WIFEXITED=os.WIFEXITED,
Exception: OSError: [Errno 2] No such file or directory
Any solutions?
--
Regards
- JAYMIN DABHI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20190626/228c0029/attachment.html>
More information about the bitbake-devel
mailing list