[yocto] do_rootfs is throwing errors
jags gediya
jags.gediya at gmail.com
Mon Jul 14 08:53:31 PDT 2014
Currently 1 running tasks (1771 of 1777):
Currently 1 running tasks (1771 of 1777):
Currently 1 running tasks (1771 of 1777):
ERROR: Error executing a python function in
/home/jags/Projects/asai_iotg/asai_iotg/src/sources/poky/meta/recipes-core/images/core-image-minimal.bb:
The stack trace of python calls that resulted in this exception/failure was:
File: 'do_rootfs', lineno: 17, function: <module>
0013: # generate final images
0014: create_image(d)
0015:
0016:
*** 0017:do_rootfs(d)
0018:
File: 'do_rootfs', lineno: 11, function: do_rootfs
0007: # generate the initial manifest
0008: create_manifest(d)
0009:
0010: # generate rootfs
*** 0011: create_rootfs(d)
0012:
0013: # generate final images
0014: create_image(d)
0015:
File: '/home/jags/Projects/asai_iotg/asai_iotg/src/sources/poky/meta/lib/oe/rootfs.py',
lineno: 732, function: create_rootfs
0728: env_bkp = os.environ.copy()
0729:
0730: img_type = d.getVar('IMAGE_PKGTYPE', True)
0731: if img_type == "rpm":
*** 0732: RpmRootfs(d, manifest_dir).create()
0733: elif img_type == "ipk":
0734: OpkgRootfs(d, manifest_dir).create()
0735: elif img_type == "deb":
0736: DpkgRootfs(d, manifest_dir).create()
File: '/home/jags/Projects/asai_iotg/asai_iotg/src/sources/poky/meta/lib/oe/rootfs.py',
lineno: 107, function: create
0103: bb.utils.mkdirhier(sysconfdir)
0104: with open(sysconfdir + "/version", "w+") as ver:
0105: ver.write(self.d.getVar('BUILDNAME', True) + "\n")
0106:
*** 0107: self._run_intercepts()
0108:
0109: execute_pre_post_process(self.d, post_process_cmds)
0110:
0111: if base_contains("IMAGE_FEATURES", "read-only-rootfs",
File: '/home/jags/Projects/asai_iotg/asai_iotg/src/sources/poky/meta/lib/oe/rootfs.py',
lineno: 185, function: _run_intercepts
0181:
0182: bb.note("> Executing %s intercept ..." % script)
0183:
0184: try:
*** 0185: subprocess.check_output(script_full)
0186: except subprocess.CalledProcessError as e:
0187: bb.warn("The postinstall intercept hook '%s'
failed (exit code: %d)! See log for details!" %
0188: (script, e.returncode))
0189:
File: '/usr/lib/python2.7/subprocess.py', lineno: 537, function: check_output
0533: 'ls: non_existent_file: No such file or directory\n'
0534: """
0535: if 'stdout' in kwargs:
0536: raise ValueError('stdout argument not allowed, it
will be overridden.')
*** 0537: process = Popen(stdout=PIPE, *popenargs, **kwargs)
0538: output, unused_err = process.communicate()
0539: retcode = process.poll()
0540: if retcode:
0541: cmd = kwargs.get("args")
File: '/usr/lib/python2.7/subprocess.py', lineno: 679, function: __init__
0675: cwd, env, universal_newlines,
0676: startupinfo, creationflags, shell,
0677: p2cread, p2cwrite,
0678: c2pread, c2pwrite,
*** 0679: errread, errwrite)
0680:
0681: if mswindows:
0682: if p2cwrite is not None:
0683: p2cwrite = msvcrt.open_osfhandle(p2cwrite.Detach(), 0)
File: '/usr/lib/python2.7/subprocess.py', lineno: 1249, function: _execute_child
1245: child_exception = pickle.loads(data)
1246: for fd in (p2cwrite, c2pread, errread):
1247: if fd is not None:
1248: os.close(fd)
*** 1249: raise child_exception
1250:
1251:
1252: def _handle_exitstatus(self, sts, _WIFSIGNALED=os.WIFSIGNALED,
1253: _WTERMSIG=os.WTERMSIG, _WIFEXITED=os.WIFEXITED,
Exception: OSError: [Errno 13] Permission denied
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/jags/Projects/asai_iotg/asai_iotg/src/build/tmp/work/imx6slevk-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.26461
ERROR: Task 7 (/home/jags/Projects/asai_iotg/asai_iotg/src/sources/poky/meta/recipes-core/images/core-image-minimal.bb,
do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1776 tasks of which 23 didn't need to
be rerun and 1 failed.
No currently running tasks (1776 of 1777)
Summary: 1 task failed:
/home/jags/Projects/asai_iotg/asai_iotg/src/sources/poky/meta/recipes-core/images/core-image-minimal.bb,
do_rootfs
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
More information about the yocto
mailing list