Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quilt-native_0.64.bb:do_populate_sysroot failed when bitbaking de10-nano-image #34

Closed
jiahaow opened this issue Aug 7, 2017 · 1 comment

Comments

@jiahaow
Copy link

jiahaow commented Aug 7, 2017

wjh@ubuntu:~/de10-nano-build$ bitbake de10-nano-image
NOTE: Started PRServer with DBfile: /home/wjh/de10-nano-build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 59275, PID: 12967
Loading cache: 100% |############################################| Time: 0:00:03
Loaded 4572 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:08
Parsing of 3669 .bb files complete (3661 cached, 8 parsed). 4580 targets, 575 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_aarch64 '^/home/wjh/de10-nano-build/layers/meta-linaro/meta-aarch64/'
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-angstrom-linux-gnueabi"
MACHINE = "de10-nano"
DISTRO = "angstrom"
DISTRO_VERSION = "v2016.12"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-angstrom = "work:9625910bb4bb48b3f4d87a1e9ff3576d40bd656a"
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs
meta-multimedia
meta-networking
meta-webserver
meta-ruby
meta-filesystems
meta-perl
meta-python = "work:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-qt4 = "work:2c7f8df9039be498f8a2232d1428adb7f4e5e800"
meta-java = "work:6eed0bbfa831f736bbab4d285c57deeec8f5d562"
meta-browser = "work:c3978ffb9a58009d63cb948249bbba7d3411cc4a"
meta-mono = "work:e96e04f81b19e758e5c1ef6df8130871999e115c"
meta-qt5 = "work:81fb771c3f31110e50eebcb004809361fdb28194"
meta-systemd = "work:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ros = "work:6581c77b04495dcc9f5a371a7dc6077638e64c61"
meta-uav = "work:95b5977627853f82b13310c35739b51cf449a1d6"
meta-maker = "work:c039fafa7a0276769d0928d16bdacd2012f2aff6"
meta-kodi = "work:cd09a8badbd258ebf7a5e4d8318b73ca6e15e1ee"
meta-virtualization = "work:1beb18840539f0366b6a5f20bcff98c99534c496"
meta-backports = "work:8844f23ea4e1253c1cddbb8ef0a18e49a953a0dd"
common-bsp = "work:cb5514d39e3efc69f05c23e05ff8ff9e52cc6659"
meta-ti = "work:8457b4359319c50a4dce68afecfced5b367985fb"
meta-freescale = "work:03f977d583e4c6bc116531494079d256419a31f9"
meta-freescale-3rdparty = "work:742fbd6da4a87c4412dbecee42f859e99c9cb614"
meta-altera = "work:cf7fc462cc6a5e82f2de76bb21e09675be7ae316"
meta-de10-nano = "work:840bd62b34cd571cd81670702ca33da62d3b7f46"
meta-nslu2 = "work:df0f6b8337d73c79a0047ba348ebd74e3778a3cf"
meta-htc
meta-nokia
meta-openmoko
meta-palm = "work:32541df3f691fc6c5b6103d5cdb1ee44d4897b5a"
meta-handheld = "work:3bf35a8a1da5b1ef63acd70988fcb89128297d97"
meta-intel = "work:6add41510412ca196efb3e4f949d403a8b6f35d7"
meta-sunxi = "work:318c872680fb095910a4d1c81a596152605c365e"
meta-raspberrypi = "work:17f0c233054791ff21dcaf747f842d901282ae05"
meta-dominion = "work:f6f21bed69179b86cdda54fdec684fda7b305cf8"
meta-atmel = "work:6a22f84388f9c444627e40a08cb89de462cd0a5b"
meta-exynos = "work:d91f975a06e0797340432908fc89a1f1cadc1ee3"
meta-gumstix-community = "work:c8e7ec7f391a4b66adadac090d55beba18e1117e"
meta-qcom = "work:60ed02c2d3b86b8ebb716ed9b36569bc752ce90a"
common = "work:ca682b9801bc04e56acd52a0384ed6bd711834a7"
meta-edison = "work:395c66f21526ee07d963233218e4eaa8d47f32dd"
meta-96boards = "work:fe46223c81553170e47a8c7d7fe045cf19f3e3f1"
meta-chip = "work:ddfd006069216ddcd78d5dcdd3f67ac209a438ab"
meta-linaro
meta-linaro-toolchain
meta-aarch64
meta-optee = "work:992eaa0a1969c2056a5321c122eaa8cd808c1c82"
meta = "work:e3911133ee9aad7cc3ae89faea80a097f6614fab"

Initialising tasks: 100% |#######################################| Time: 0:00:21
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: quilt-native-0.64-r0 do_populate_sysroot: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function:
0001:
*** 0002:sstate_task_postfunc(d)
0003:
File: '/home/wjh/de10-nano-build/layers/openembedded-core/meta/classes/sstate.bbclass', lineno: 672, function: sstate_task_postfunc
0668:
0669:python sstate_task_postfunc () {
0670: shared_state = sstate_state_fromvars(d)
0671:
*** 0672: sstate_install(shared_state, d)
0673: for intercept in shared_state['interceptfuncs']:
0674: bb.build.exec_func(intercept, d, (d.getVar("WORKDIR", True),))
0675: omask = os.umask(0o002)
0676: if omask != 0o002:
File: '/home/wjh/de10-nano-build/layers/openembedded-core/meta/classes/sstate.bbclass', lineno: 276, function: sstate_install
0272:
0273: # Run the actual file install
0274: for state in ss['dirs']:
0275: if os.path.exists(state[1]):
*** 0276: oe.path.copyhardlinktree(state[1], state[2])
0277:
0278: for postinst in (d.getVar('SSTATEPOSTINSTFUNCS', True) or '').split():
0279: # All hooks should run in the SSTATE_INSTDIR
0280: bb.build.exec_func(postinst, d, (sstateinst,))
File: '/home/wjh/de10-nano-build/layers/openembedded-core/meta/lib/oe/path.py', lineno: 81, function: copyhardlinktree
0077: if (os.stat(src).st_dev == os.stat(dst).st_dev):
0078: # Need to copy directories only with tar first since cp will error if two
0079: # writers try and create a directory at the same time
0080: cmd = "cd %s; find . -type d -print | tar --xattrs --xattrs-include='' -cf - -C %s -p --no-recursion --files-from - | tar --xattrs --xattrs-include='' -xf - -C %s" % (src, src, dst)
*** 0081: subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
0082: source = ''
0083: if os.path.isdir(src):
0084: import glob
0085: if len(glob.glob('%s/.??' % src)) > 0:
File: '/usr/lib/python3.4/subprocess.py', lineno: 617, function: check_output
0613: process.wait()
0614: raise
0615: retcode = process.poll()
0616: if retcode:
*** 0617: raise CalledProcessError(retcode, process.args, output=output)
0618: return output
0619:
0620:
0621:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 'cd /home/wjh/de10-nano-build/build/tmp-angstrom-glibc/work/i686-linux/quilt-native/0.64-r0/sysroot-destdir/home/wjh/de10-nano-build/build/tmp-angstrom-glibc/sysroots/i686-linux; find . -type d -print | tar --xattrs --xattrs-include='
' -cf - -C /home/wjh/de10-nano-build/build/tmp-angstrom-glibc/work/i686-linux/quilt-native/0.64-r0/sysroot-destdir/home/wjh/de10-nano-build/build/tmp-angstrom-glibc/sysroots/i686-linux -p --no-recursion --files-from - | tar --xattrs --xattrs-include='*' -xf - -C /home/wjh/de10-nano-build/build/tmp-angstrom-glibc/sysroots/i686-linux' returned non-zero exit status 64

Subprocess output:
tar: unrecognized option '--xattrs'
tar: unrecognized option '--xattrs'
Try tar --help' or tar --usage' for more information.
Try tar --help' or tar --usage' for more information.

ERROR: quilt-native-0.64-r0 do_populate_sysroot: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/wjh/de10-nano-build/build/tmp-angstrom-glibc/work/i686-linux/quilt-native/0.64-r0/temp/log.do_populate_sysroot.13208
ERROR: Task (/home/wjh/de10-nano-build/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.64.bb:do_populate_sysroot) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8 tasks of which 7 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/wjh/de10-nano-build/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.64.bb:do_populate_sysroot
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

@koenkooi
Copy link
Contributor

koenkooi commented Aug 7, 2017

This is the wrong place to file these kind of bugs.

Quilt-native is part of oe-core, so you need to file the bug there. Additionally, there's no 'de10-nano' support in angstrom, so you are using a modified version which we can't and won't support.

@koenkooi koenkooi closed this as completed Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants