All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vinay Kumar" <vinay.m.engg@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	 Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Randy MacLeod <rwmacleod@gmail.com>,
	umesh kalappa0 <umesh.kalappa0@gmail.com>,
	shivahms@gmail.com
Subject: glibc-testsuite-2.33-r0 do_populate_sysroot: Error executing a python function in exec_python_func() autogenerated:
Date: Sun, 4 Jul 2021 16:50:04 +0530	[thread overview]
Message-ID: <CANUMPcU0ibVFbf5x0OzEunTymSd8+_chCD3432xa3CTeL7QzjA@mail.gmail.com> (raw)

[-- 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

             reply	other threads:[~2021-07-04 11:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-04 11:20 Vinay Kumar [this message]
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

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=CANUMPcU0ibVFbf5x0OzEunTymSd8+_chCD3432xa3CTeL7QzjA@mail.gmail.com \
    --to=vinay.m.engg@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=rwmacleod@gmail.com \
    --cc=shivahms@gmail.com \
    --cc=umesh.kalappa0@gmail.com \
    /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.