DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['TOPDIR/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/python/python3_3.9.2.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/python/python3_3.9.2.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-core/musl/musl_git.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.0.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/binutils/binutils-cross_2.36.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.0.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-extended/unzip/unzip_6.0.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['quilt-native', 'patch-native', 'python3', 'python3-native', 'musl', 'gcc-runtime', 'pseudo-native', 'binutils-cross-i686', 'gcc-cross-i686', 'unzip-native', 'automake-native', 'attr-native', 'autoconf-native', 'libtool-native', 'zlib', 'openssl', 'readline', 'bzip2', 'util-linux', 'libnsl2', 'libffi', 'xz', 'opkg-utils', 'libtirpc', 'gdbm', 'sqlite3', 'openssl-native', 'libtirpc-native', 'zlib-native', 'util-linux-native', 'sqlite3-native', 'libffi-native', 'libnsl2-native', 'gdbm-native', 'xz-native', 'bzip2-native', 'readline-native', 'pkgconfig-native', 'linux-libc-headers', 'bsd-headers', 'libssp-nonshared', 'texinfo-dummy-native', 'libmpc-native', 'flex-native', 'gnu-config-native', 'gmp-native', 'mpfr-native', 'libgcc', 'gettext-minimal-native', 'm4-native', 'ncurses', 'libcap-ng', 'libpam', 'bash-completion', 'util-linux-uuid', 'libpcre2-native', 'ncurses-native', 'util-linux-uuid-native', 'libcap-ng-native', 'flex', 'cracklib']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_populate_sysroot
DEBUG: Executing shell function sysroot_stage_all
0 blocks
TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827: line 182: cd: TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/image/usr/share: No such file or directory
WARNING: TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827:180 exit 1 from 'mkdir -p "$dest"'
WARNING: Backtrace (BB generated script): 
	#1: sysroot_stage_dir, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 180
	#2: sysroot_stage_dirs, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 162
	#3: sysroot_stage_all, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 153
	#4: main, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 187
ERROR: 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: <module>
     0001:
 *** 0002:do_populate_sysroot(d)
     0003:
File: 'TOPDIR/sources/openembedded-core/meta/classes/staging.bbclass', lineno: 101, function: do_populate_sysroot
     0097:SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir"
     0098:
     0099:python do_populate_sysroot () {
     0100:    # SYSROOT 'version' 2
 *** 0101:    bb.build.exec_func("sysroot_stage_all", d)
     0102:    bb.build.exec_func("sysroot_strip", d)
     0103:    for f in (d.getVar('SYSROOT_PREPROCESS_FUNCS') or '').split():
     0104:        bb.build.exec_func(f, d)
     0105:    pn = d.getVar("PN")
File: 'TOPDIR/sources/bitbake/lib/bb/build.py', lineno: 256, function: exec_func
     0252:    with bb.utils.fileslocked(lockfiles):
     0253:        if ispython:
     0254:            exec_func_python(func, d, runfile, cwd=adir)
     0255:        else:
 *** 0256:            exec_func_shell(func, d, runfile, cwd=adir)
     0257:
     0258:    try:
     0259:        curcwd = os.getcwd()
     0260:    except:
File: 'TOPDIR/sources/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell
     0499:    with open(fifopath, 'r+b', buffering=0) as fifo:
     0500:        try:
     0501:            bb.debug(2, "Executing shell function %s" % func)
     0502:            with open(os.devnull, 'r+') as stdin, logfile:
 *** 0503:                bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
     0504:        except bb.process.ExecutionError as exe:
     0505:            # Find the backtrace that the shell trap generated
     0506:            backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
     0507:            stdout_lines = (exe.stdout or "").split("\n")
File: 'TOPDIR/sources/bitbake/lib/bb/process.py', lineno: 184, function: run
     0180:        if not stderr is None:
     0181:            stderr = stderr.decode("utf-8")
     0182:
     0183:    if pipe.returncode != 0:
 *** 0184:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0185:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827' failed with exit code 1:
0 blocks
TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827: line 182: cd: TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/image/usr/share: No such file or directory
WARNING: TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827:180 exit 1 from 'mkdir -p "$dest"'
WARNING: Backtrace (BB generated script): 
	#1: sysroot_stage_dir, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 180
	#2: sysroot_stage_dirs, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 162
	#3: sysroot_stage_all, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 153
	#4: main, TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/temp/run.sysroot_stage_all.902827, line 187

Backtrace (metadata-relative locations):
	#1: sysroot_stage_dir, TOPDIR/sources/openembedded-core/meta/classes/staging.bbclass, line 51
	#2: sysroot_stage_dirs, TOPDIR/sources/openembedded-core/meta/classes/staging.bbclass, line 63
	#3: sysroot_stage_all, TOPDIR/sources/openembedded-core/meta/classes/staging.bbclass, line 73

DEBUG: Python function do_populate_sysroot finished

Error details

Submitted on:
22/03/21 05:45
Error type:
Recipe
Task:
do_populate_sysroot
Recipe:
python3-hexdump
Recipe version:
3.3-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux-musl
Host distro:
ubuntu-20.04/ubuntu-20.04
Branch:
HEAD
Commit:
142344d662c99bb8bc2e63e53e5e2b2357dee1f3
Build:
#118643
Submitter:
raj.khem@gmail
Similar errors:
0
Open a bug