All of lore.kernel.org
 help / color / mirror / Atom feed
* glibc-testsuite-2.33-r0 do_populate_sysroot: Error executing a python function in exec_python_func() autogenerated:
@ 2021-07-04 11:20 Vinay Kumar
  2021-07-04 11:21 ` [PATCH] glibc-package.inc: To fix build issue with glibc-testsuite Vinay Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Vinay Kumar @ 2021-07-04 11:20 UTC (permalink / raw)
  To: Richard Purdie, Patches and discussions about the oe-core layer
  Cc: Randy MacLeod, umesh kalappa0, shivahms

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

Hi Richard,

Getting error with "MACHINE=qemuarm bitbake glibc-testsuite" on poky
master branch with below commit id.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e14c2a4986242d2a2c0eb070d4be550c56a3dded

Attached error log for your reference.

Regards,
Vinay

[-- Attachment #2: log.do_populate_sysroot.129678 --]
[-- Type: application/octet-stream, Size: 5718 bytes --]

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 ['/ala-lpggp31/vinay/tcwrlgcc-399/poky/meta/recipes-devtools/binutils/binutils-cross_2.36.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['binutils-cross-arm', 'quilt-native', 'gnu-config-native', 'zlib-native', 'flex-native', 'autoconf-native', 'texinfo-dummy-native', 'xz-native', 'gettext-minimal-native', 'libtool-native', 'automake-native', 'm4-native']
NOTE: Skipping as already exists in sysroot: []
DEBUG: sed -e 's:^[^/]*/:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/recipe-sysroot-native/:g' /ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/sysroots-components/x86_64/quilt-native/fixmepath /ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/sysroots-components/x86_64/gnu-config-native/fixmepath /ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/sysroots-components/x86_64/autoconf-native/fixmepath /ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/sysroots-components/x86_64/libtool-native/fixmepath /ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/sysroots-components/x86_64/automake-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/pkgdata/qemuarm:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/temp/fifo.129678:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_populate_sysroot
DEBUG: Executing shell function sysroot_stage_all
DEBUG: Shell function sysroot_stage_all finished
DEBUG: Executing python function sysroot_strip
DEBUG: Python function sysroot_strip finished
DEBUG: Executing shell function stash_locale_sysroot_cleanup
rmdir: failed to remove '/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/sysroot-destdir/usr/share': No such file or directory
WARNING: exit code 1 from a shell command.
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: '/ala-lpggp31/vinay/tcwrlgcc-399/poky/meta/classes/staging.bbclass', lineno: 104, function: 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")
     0106:    multiprov = d.getVar("MULTI_PROVIDER_WHITELIST").split()
     0107:    provdir = d.expand("${SYSROOT_DESTDIR}${base_prefix}/sysroot-providers/")
     0108:    bb.utils.mkdirhier(provdir)
File: '/ala-lpggp31/vinay/tcwrlgcc-399/poky/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: '/ala-lpggp31/vinay/tcwrlgcc-399/poky/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: '/ala-lpggp31/vinay/tcwrlgcc-399/poky/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 '/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/temp/run.stash_locale_sysroot_cleanup.129678' failed with exit code 1:
rmdir: failed to remove '/ala-lpggp31/vinay/tcwrlgcc-399/bld-arm/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0/sysroot-destdir/usr/share': No such file or directory
WARNING: exit code 1 from a shell command.


DEBUG: Python function do_populate_sysroot finished

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-07 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-04 11:20 glibc-testsuite-2.33-r0 do_populate_sysroot: Error executing a python function in exec_python_func() autogenerated: Vinay Kumar
2021-07-04 11:21 ` [PATCH] glibc-package.inc: To fix build issue with glibc-testsuite Vinay Kumar
2021-07-04 17:03   ` [OE-core] " Alexander Kanavin
2021-07-05  8:47     ` Vinay Kumar
2021-07-07 10:23   ` Richard Purdie

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.