From: "Luke A. Guest" <laguest@archeia.com>
To: yocto@yoctoproject.org
Subject: Need help getting meta-ada going
Date: Thu, 10 Mar 2016 19:48:18 +0000 [thread overview]
Message-ID: <56E1CF82.5030402@archeia.com> (raw)
Hi,
Turns out updating this and making it work properly is harder than I
thought. I'm running into symlink recursion errors on the
popular_sysroot task on gcc-cross-arm.
[log]
DEBUG: Shell function sysroot_stage_all finished
DEBUG: Executing python function sysroot_strip
ERROR: Error executing a python function in
/mnt/data/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb:
The stack trace of python calls that resulted in this exception/failure was:
File: 'sysroot_strip', lineno: 97, function: <module>
0093:
0094: oe.utils.multiprocess_exec(sfiles, oe.package.runstrip)
0095:
0096:
*** 0097:sysroot_strip(d)
0098:
File: 'sysroot_strip', lineno: 50, function: sysroot_strip
0046: for f in files:
0047: file = os.path.join(root, f)
0048:
0049: try:
*** 0050: ltarget = oe.path.realpath(file, dvar, False)
0051: s = os.lstat(ltarget)
0052: except OSError as e:
0053: (err, strerror) = e.args
0054: if err != errno.ENOENT:
File: '/mnt/data/yocto/poky/meta/lib/oe/path.py', lineno: 239, function:
realpath
0235: # be printed a backtrace with 100s of OSError
exceptions
0236: # else
0237: raise OSError(errno.ELOOP,
0238: "too much recursions while resolving
'%s'; loop in '%s'" %
*** 0239: (file, e.strerror))
0240:
0241: raise
0242:
0243: return file
Exception: OSError: [Errno 40] too much recursions while resolving
'/mnt/data/yocto/poky/build/tmp/work/x86_64-linux/gcc-cross-arm/4.9.3-r0/sysroot-destdir/mnt/data/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/include/gcc-build-internal-arm-poky-linux-gnueabi/arm-poky-linux-gnueabi/libstdc++-v3/include/bits/stamp-bits';
loop in
'/mnt/data/yocto/poky/build/tmp/work/x86_64-linux/gcc-cross-arm/4.9.3-r0/sysroot-destdir/mnt/data/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/include/gcc-build-internal-arm-poky-linux-gnueabi/arm-poky-linux-gnueabi/libstdc++-v3/include/bits/stamp-bits'
DEBUG: Python function sysroot_strip finished
DEBUG: Python function do_populate_sysroot finished
ERROR: Function failed: sysroot_strip
ERROR: Logfile of failure stored in:
/mnt/data/yocto/poky/build/tmp/work/x86_64-linux/gcc-cross-arm/4.9.3-r0/temp/log.do_populate_sysroot.21067
NOTE: recipe gcc-cross-arm-4.9.3-r0: task do_populate_sysroot: Failed
ERROR: Task 1
(/mnt/data/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb,
do_populate_sysroot) failed with exit code '1'
DEBUG: Teardown for bitbake-worker
NOTE: Tasks Summary: Attempted 357 tasks of which 353 didn't need to be
rerun and 1 failed.
Summary: 1 task failed:
/mnt/data/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb,
do_populate_sysroot
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[endlog]
All, I've done so far is add ",ada" to the "--enable-languages" flag on
configure, and it's creating a symlink to stamp-bits to itself in the
above directory for some reason, causing recursion.
The layer can be grabbed here:
https://github.com/Lucretia/meta-ada/tree/jethro
Can anyone help?
Thanks,
Luke.
reply other threads:[~2016-03-10 19:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56E1CF82.5030402@archeia.com \
--to=laguest@archeia.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.