[OE-core] package errors
Khem Raj
raj.khem at gmail.com
Mon Feb 11 18:29:59 UTC 2013
Hi Enrico
I am seeing below errors after this commit to OE-Core
commit f2e16c655286aab465054db6727fa3365bef3124
Author: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Date: Sun Feb 10 13:41:47 2013 +0100
package.bbclass: use oe.path.realpath()
oe.path.realpath() provides are common and more correct implementation
for resolving symlinks within sysroot. Use it.
Old implementation suffered from lot of problems; e.g.
* redundant code
* calls 'os.stat()' which references files on host; this can give wrong
results about existing/non-existing and can cause EPERM (instead of
the catched ENONENT) exceptions
* does not deal with special cases like '..' leaving the sysroot.
(From OE-Core rev: ec2aab09769f4b6817d74d2175afa2b7c7598750)
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
ERROR: The stack trace of python calls that resulted in this
exception/failure was:
ERROR: File "package_fixsymlinks", line 50, in <module>
ERROR:
ERROR: File "package_fixsymlinks", line 22, in package_fixsymlinks
ERROR:
ERROR: The code that was being executed was:
ERROR: 0046: rdepends[p] = []
ERROR: 0047: d.setVar('RDEPENDS_' + pkg,
bb.utils.join_deps(rdepends, commasep=False))
ERROR: 0048:
ERROR: 0049:
ERROR: *** 0050:package_fixsymlinks(d)
ERROR: 0051:
ERROR: [From file: 'package_fixsymlinks', lineno: 50, function: <module>]
ERROR: 0018: os.lstat(rtarget)
ERROR: 0019: except OSError, (err, strerror):
ERROR: 0020: if err != errno.ENOENT:
ERROR: 0021: raise
ERROR: *** 0022:
dangling_links[pkg].append(os.path.normpath(rtarget[len(inst_root):]))
ERROR: 0023:
ERROR: 0024: newrdepends = {}
ERROR: 0025: for pkg in dangling_links:
ERROR: 0026: for l in dangling_links[pkg]:
ERROR: [From file: 'package_fixsymlinks', lineno: 22, function:
package_fixsymlinks]
ERROR: Function failed: package_fixsymlinks
ERROR: Logfile of failure stored in:
/b/kraj/next/poky/build/tmp-eglibc/work/ppce500v2-poky-linux-gnuspe/lsof/4.87-r0/temp/log.do_package.26620
ERROR: Task 590
(/b/kraj/next/poky/meta/recipes-extended/lsof/lsof_4.87.bb,
do_package) failed with exit code '1'
More information about the Openembedded-core
mailing list