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 ['virtual:native:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/rpm/rpm_4.15.1.bb:do_populate_sysroot', 'virtual:native:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['patch-native', 'rpm-native', 'dwarfsrcfiles-native', 'quilt-native', 'pseudo-native', 'automake-native', 'libtool-native', 'autoconf-native', 'gnu-config-native', 'attr-native', 'popt-native', 'xz-native', 'python3-native', 'elfutils-native', 'dbus-native', 'pkgconfig-native', 'perl-native', 'gettext-minimal-native', 'libarchive-native', 'bzip2-native', 'db-native', 'openssl-native', 'file-native', 'texinfo-dummy-native', 'm4-native', 'libffi-native', 'util-linux-native', 'libnsl2-native', 'libtirpc-native', 'gdbm-native', 'zlib-native', 'readline-native', 'sqlite3-native', 'expat-native', 'e2fsprogs-native', 'lzo-native', 'ncurses-native', 'libpcre2-native', 'libcap-ng-native', 'ninja-native', 'cmake-native', 're2c-native', 'curl-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_package
DEBUG: Executing python function package_get_auto_pr
DEBUG: Python function package_get_auto_pr finished
DEBUG: Executing python function package_prepare_pkgdata
NOTE: Installed into pkgdata-sysroot: []
DEBUG: Python function package_prepare_pkgdata finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
DEBUG: Executing python function split_and_strip_files
DEBUG: Python function split_and_strip_files finished
DEBUG: Executing python function fixup_perms
DEBUG: Python function fixup_perms finished
DEBUG: Executing python function package_do_split_locales
DEBUG: No locale files in this package
DEBUG: Python function package_do_split_locales finished
DEBUG: Executing python function populate_packages
DEBUG: Python function populate_packages finished
DEBUG: Executing python function package_fixsymlinks
DEBUG: Python function package_fixsymlinks finished
DEBUG: Executing python function package_name_hook
DEBUG: Executing python function debian_package_name_hook
DEBUG: LIBNAMES: pkg target-sdk-provides-dummy-staticdev libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg target-sdk-provides-dummy-src libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg target-sdk-provides-dummy-locale libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg target-sdk-provides-dummy-doc libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg target-sdk-provides-dummy-dev libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg target-sdk-provides-dummy-dbg libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg target-sdk-provides-dummy libs 0 bins 0 sonames []
DEBUG: Python function debian_package_name_hook finished
DEBUG: Python function package_name_hook finished
DEBUG: Executing python function package_do_filedeps
DEBUG: Python function package_do_filedeps finished
DEBUG: Executing python function package_do_shlibs
NOTE: not generating shlibs
DEBUG: Python function package_do_shlibs finished
DEBUG: Executing python function package_do_pkgconfig
DEBUG: Python function package_do_pkgconfig finished
DEBUG: Executing python function read_shlibdeps
DEBUG: Python function read_shlibdeps finished
DEBUG: Executing python function package_depchains
DEBUG: Python function package_depchains finished
DEBUG: Executing python function emit_pkgdata
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:emit_pkgdata(d)
     0003:
File: '/home/pokybuild/yocto-worker/qemumips64/build/meta/classes/package.bbclass', lineno: 1643, function: emit_pkgdata
     1639:        rprov = d.getVar('RPROVIDES_%s' % pkg) or d.getVar('RPROVIDES')
     1640:        if rprov:
     1641:            for p in bb.utils.explode_deps(rprov):
     1642:                subdata_sym = os.path.join(pkgdatadir, "runtime-rprovides", p, pkg)
 *** 1643:                bb.utils.mkdirhier(os.path.dirname(subdata_sym))
     1644:                oe.path.symlink("../../runtime/%s" % pkg, subdata_sym, True)
     1645:
     1646:        allow_empty = d.getVar('ALLOW_EMPTY_%s' % pkg)
     1647:        if not allow_empty:
File: '/home/pokybuild/yocto-worker/qemumips64/build/bitbake/lib/bb/utils.py', lineno: 722, function: mkdirhier
     0718:    try:
     0719:        os.makedirs(directory)
     0720:    except OSError as e:
     0721:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
 *** 0722:            raise e
     0723:
     0724:def movefile(src, dest, newmtime = None, sstat = None):
     0725:    """Moves a file from src to dest, preserving all permissions and
     0726:    attributes; mtime will be preserved even when moving across
File: '/home/pokybuild/yocto-worker/qemumips64/build/bitbake/lib/bb/utils.py', lineno: 719, function: mkdirhier
     0715:    directory already exists like os.makedirs
     0716:    """
     0717:
     0718:    try:
 *** 0719:        os.makedirs(directory)
     0720:    except OSError as e:
     0721:        if e.errno != errno.EEXIST or not os.path.isdir(directory):
     0722:            raise e
     0723:
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.8/os.py', lineno: 223, function: makedirs
     0219:            cdir = bytes(curdir, 'ASCII')
     0220:        if tail == cdir:           # xxx/newdir/. exists if xxx/newdir exists
     0221:            return
     0222:    try:
 *** 0223:        mkdir(name, mode)
     0224:    except OSError:
     0225:        # Cannot rely on checking for EEXIST, since the operating system
     0226:        # could give priority to other errors like EACCES or EROFS
     0227:        if not exist_ok or not path.isdir(name):
Exception: FileExistsError: [Errno 17] File exists: '/bin/sh'

DEBUG: Python function emit_pkgdata finished
DEBUG: Python function do_package finished

Error details

Submitted on:
27/08/20 13:05
Error type:
Recipe
Task:
do_package
Recipe:
target-sdk-provides-dummy
Recipe version:
1.0-r0
Machine:
qemumips64
Distro:
poky
Build system:
x86_64-linux
Target system:
mips64-poky-linux
Host distro:
universal/debian-8
Branch:
master-next
Commit:
97e868e0420b43611a89b19e0797d3f7de126784
Build:
#109176
Submitter:
yp-ab-debian8-ty-1.yocto.io
Link back:
https://autobuilder.yoctoproject.org/typhoon/#builders/74/builds/2367
Similar errors:
6
Open a bug