DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_spdx
DEBUG: Searching for gnu-configize.in in paths:
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config-20250709+git/poky
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config/poky
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/files/poky
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config-20250709+git/
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config/
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/files/
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config-20250709+git/x86-64
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config/x86-64
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/files/x86-64
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config-20250709+git/
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config/
    /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/files/
DEBUG: Using /srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config/gnu-configize.in for gnu-configize.in
DEBUG: Python function do_create_spdx finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 2 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/spdx/3.0.1/deploy for packaging at TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/sstate-build-create_spdx/deploy
DEBUG: Executing python function target_add_sysroot_deps
DEBUG: Python function target_add_sysroot_deps finished
DEBUG: Executing python function sstate_hardcode_path
NOTE: Removing hardcoded paths from sstate package: 'grep -Irl -e TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/recipe-sysroot -e TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/recipe-sysroot-native -e TOPDIR/tmp/hosttools TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/sstate-build-create_spdx/ | xargs grep -l -e 'TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/sstate-build-create_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86_64-linux/gnu-config-native/20250709+git/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/tmp/hosttools:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing python function native_add_do_populate_sysroot_deps
DEBUG: Python function native_add_do_populate_sysroot_deps finished
DEBUG: Executing python function sstate_report_unihash
DEBUG: Reported task 464fa98c12ecc767216dbbc29ba09f2355a96d048ab2c3a85adbb75006edb170 as unihash 464fa98c12ecc767216dbbc29ba09f2355a96d048ab2c3a85adbb75006edb170 to wss://hashserv-eu.yoctoproject.org/ws
DEBUG: Python function sstate_report_unihash finished
DEBUG: Executing python function sstate_create_and_sign_package
ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:sstate_create_and_sign_package(d)
     0003:
File: '/srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/openembedded-core/meta/classes-global/sstate.bbclass', lineno: 852, function: sstate_create_and_sign_package
     0848:    # Create the required sstate directory if it is not present.
     0849:    if not sstate_pkg.parent.is_dir():
     0850:        shared_umask = bb.utils.to_filemode(d.getVar("OE_SHARED_UMASK"))
     0851:        with bb.utils.umask(shared_umask):
 *** 0852:            bb.utils.mkdirhier(str(sstate_pkg.parent))
     0853:
     0854:    if sign_pkg:
     0855:        from tempfile import TemporaryDirectory
     0856:        with TemporaryDirectory(dir=sstate_pkg.parent) as tmp_dir:
File: '/srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/bitbake/lib/bb/utils.py', lineno: 948, function: mkdirhier
     0944:    try:
     0945:        os.makedirs(directory)
     0946:    except OSError as e:
     0947:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
 *** 0948:            raise e
     0949:
     0950:def movefile(src, dest, newmtime = None, sstat = None):
     0951:    """Moves a file from ``src`` to ``dest``, preserving all permissions and
     0952:    attributes; mtime will be preserved even when moving across
File: '/srv/pokybuild/yocto-worker/qemux86-64-x32/build/layers/bitbake/lib/bb/utils.py', lineno: 945, function: mkdirhier
     0941:    """
     0942:    if '${' in str(directory):
     0943:        bb.fatal("Directory name {} contains unexpanded bitbake variable. This may cause build failures and WORKDIR polution.".format(directory))
     0944:    try:
 *** 0945:        os.makedirs(directory)
     0946:    except OSError as e:
     0947:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
     0948:            raise e
     0949:
File: '<frozen os>', lineno: 236, function: makedirs
  File "<frozen os>", line 236, in makedirs

Exception: FileExistsError: [Errno 17] File exists: '/srv/autobuilder/valkyrie.yocto.io/pub/sstate/universal/46/4f'

DEBUG: Python function sstate_create_and_sign_package finished
DEBUG: Python function sstate_task_postfunc finished

Error details

Submitted on:
04/07/26 17:09
Error type:
Recipe
Task:
do_create_spdx
Recipe:
gnu-config-native
Recipe version:
20250709+git-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux-gnux32
Host distro:
fedora-43/fedora-43
Branch:
master-next
Commit:
f4ce319737728c4960b451997d82830008e2481e
Build:
#242050
Submitter:
yp-ab-fedora43-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/4026
Similar errors:
0
Open a bug