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:TOPDIR/sources/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/openembedded-core/meta/recipes-devtools/rpm/rpm_4.15.1.bb:do_populate_sysroot', 'TOPDIR/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['dwarfsrcfiles-native', 'rpm-native', 'elfutils-native', 'popt-native', 'bzip2-native', 'dbus-native', 'db-native', 'perl-native', 'libarchive-native', 'file-native', 'xz-native', 'pkgconfig-native', 'python3-native', 'openssl-native', 'zlib-native', 'expat-native', 'gdbm-native', 'lzo-native', 'e2fsprogs-native', 'libnsl2-native', 'libffi-native', 'readline-native', 'sqlite3-native', 'util-linux-native', 'libtirpc-native', 'cmake-native', 'ninja-native', 'ncurses-native', 'libpcre2-native', 'libcap-ng-native', 'curl-native', 're2c-native']
NOTE: Skipping as already exists in sysroot: ['patch-native', 'pseudo-native', 'quilt-native', 'gnu-config-native', 'automake-native', 'attr-native', 'libtool-native', 'autoconf-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'm4-native']
DEBUG: sed -e 's:^[^/]*/:TOPDIR/build/tmpfs/work/sdk-provides-dummy-target-yoe-linux/target-sdk-provides-dummy/1.0-r0/recipe-sysroot-native/:g' TOPDIR/build/tmpfs/sysroots-components/x86_64/rpm-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/elfutils-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/dbus-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/perl-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/pkgconfig-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/python3-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/openssl-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/e2fsprogs-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/ncurses-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/libpcre2-native/fixmepath TOPDIR/build/tmpfs/sysroots-components/x86_64/curl-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/build/tmpfs/work/sdk-provides-dummy-target-yoe-linux/target-sdk-provides-dummy/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/build/tmpfs/work/sdk-provides-dummy-target-yoe-linux/target-sdk-provides-dummy/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/build/tmpfs/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/build/tmpfs/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/build/tmpfs/pkgdata/qemuarm64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/build/tmpfs/work/sdk-provides-dummy-target-yoe-linux/target-sdk-provides-dummy/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/build/tmpfs/work/sdk-provides-dummy-target-yoe-linux/target-sdk-provides-dummy/1.0-r0/temp/fifo.12735:g'
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: 'TOPDIR/sources/openembedded-core/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: 'TOPDIR/sources/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: 'TOPDIR/sources/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: '/usr/lib/python3.6/os.py', lineno: 220, function: makedirs
     0216:            cdir = bytes(curdir, 'ASCII')
     0217:        if tail == cdir:           # xxx/newdir/. exists if xxx/newdir exists
     0218:            return
     0219:    try:
 *** 0220:        mkdir(name, mode)
     0221:    except OSError:
     0222:        # Cannot rely on checking for EEXIST, since the operating system
     0223:        # could give priority to other errors like EACCES or EROFS
     0224:        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:
28/08/20 02:41
Error type:
Recipe
Task:
do_package
Recipe:
target-sdk-provides-dummy
Recipe version:
1.0-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux
Host distro:
ubuntu-18.04/ubuntu-18.04
Branch:
HEAD
Commit:
dc20fd388ad9ec3c5e9833b1e5a79dac23c94b5a
Build:
#109213
Submitter:
jenkins@jenkins.nas-admin.org
Similar errors:
0
Open a bug