DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_create_recipe_spdx
DEBUG: Fetching SPDX for dependency attr-native
DEBUG: Fetching SPDX for dependency cmake-native
DEBUG: Fetching SPDX for dependency curl-native
DEBUG: Fetching SPDX for dependency glib-2.0-native
DEBUG: Fetching SPDX for dependency gpgme-native
DEBUG: Fetching SPDX for dependency libxml2-native
DEBUG: Fetching SPDX for dependency ninja-native
DEBUG: Fetching SPDX for dependency openssl-native
DEBUG: Fetching SPDX for dependency pkgconf-native
DEBUG: Fetching SPDX for dependency python3-native
DEBUG: Searching for 0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch in paths:
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo-1.20.0/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/files/poky
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo-1.20.0/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/files/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo-1.20.0/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/files/x86-64
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo-1.20.0/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo/
    /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/files/
DEBUG: Using /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch for 0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
DEBUG: Scanning 1 patches for CVEs
DEBUG: Patch /srv/pokybuild/yocto-worker/buildtools/build/layers/openembedded-core/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch doesn't solve CVEs
DEBUG: Python function do_create_recipe_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/librepo-native/1.20.0/spdx/3.0.1/recipe-deploy for packaging at TOPDIR/tmp/work/x86_64-linux/librepo-native/1.20.0/sstate-build-create_recipe_spdx/recipe-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/librepo-native/1.20.0/recipe-sysroot -e TOPDIR/tmp/work/x86_64-linux/librepo-native/1.20.0/recipe-sysroot-native -e TOPDIR/tmp/hosttools TOPDIR/tmp/work/x86_64-linux/librepo-native/1.20.0/sstate-build-create_recipe_spdx/ | xargs grep -l -e 'TOPDIR/tmp/work/x86_64-linux/librepo-native/1.20.0/recipe-sysroot-native' -e 'TOPDIR/tmp/hosttools' | tee TOPDIR/tmp/work/x86_64-linux/librepo-native/1.20.0/sstate-build-create_recipe_spdx/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/tmp/work/x86_64-linux/librepo-native/1.20.0/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 4bff491af09df9d88dcc20ec19341baa26d17352c12b532178e68467a2bcdf2d as unihash 4bff491af09df9d88dcc20ec19341baa26d17352c12b532178e68467a2bcdf2d 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/buildtools/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/buildtools/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/buildtools/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/4b/ff'

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

Error details

Submitted on:
06/07/26 18:01
Error type:
Recipe
Task:
do_create_recipe_spdx
Recipe:
librepo-native
Recipe version:
1.20.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
ubuntu-26.04/ubuntu-26.04
Branch:
master-next
Commit:
81c67b20bdd8ab9c5c526bd3952d25c1e3d660fc
Build:
#242127
Submitter:
yp-ab-ubuntu2604-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/4112
Similar errors:
1
Open a bug