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:nativesdk:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-core/glibc/glibc_2.32.bb:do_populate_sysroot', 'virtual:nativesdk:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb:do_populate_sysroot', 'virtual:native:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/chrpath/chrpath_0.16.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', '/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/gcc/gcc-crosssdk_10.2.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', 'virtual:native:/home/pokybuild/yocto-worker/qemumips64/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['rpm-native', 'dwarfsrcfiles-native', 'popt-native', 'python3-native', 'elfutils-native', 'dbus-native', 'perl-native', 'libarchive-native', 'bzip2-native', 'db-native', 'openssl-native', 'file-native', 'libffi-native', 'util-linux-native', 'libnsl2-native', 'libtirpc-native', 'gdbm-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']
NOTE: Skipping as already exists in sysroot: ['nativesdk-glibc', 'nativesdk-gcc-runtime', 'chrpath-native', 'quilt-native', 'gcc-crosssdk-x86_64-pokysdk-linux', 'pseudo-native', 'nativesdk-linux-libc-headers', 'nativesdk-libgcc', 'automake-native', 'libtool-native', 'autoconf-native', 'gnu-config-native', 'xz-native', 'patch-native', 'flex-native', 'texinfo-dummy-native', 'libmpc-native', 'zlib-native', 'binutils-crosssdk-x86_64-pokysdk-linux', 'gettext-native', 'mpfr-native', 'gmp-native', 'pkgconfig-native', 'gettext-minimal-native', 'm4-native', 'attr-native']
DEBUG: sed -e 's:^[^/]*/:TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/recipe-sysroot-native/:g' TOPDIR/tmp/sysroots-components/x86_64/rpm-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/python3-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/elfutils-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/dbus-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/perl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/openssl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/e2fsprogs-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/ncurses-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libpcre2-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/curl-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/tmp/pkgdata/x86_64-pokysdk-linux:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/temp/fifo.4826: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: ['nativesdk-glibc', 'nativesdk-gcc-runtime', 'nativesdk-libgcc', 'nativesdk-linux-libc-headers']
DEBUG: Python function package_prepare_pkgdata finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Checking TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/package//opt/poky/3.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin for binaries to process
DEBUG: Checking TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/package//opt/poky/3.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin for binaries to process
DEBUG: Checking TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/package//opt/poky/3.1+snapshot/sysroots/x86_64-pokysdk-linux/sbin for binaries to process
DEBUG: Checking TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/package//opt/poky/3.1+snapshot/sysroots/x86_64-pokysdk-linux/bin for binaries to process
DEBUG: Checking TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/package//opt/poky/3.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib for binaries to process
DEBUG: Checking TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/package//opt/poky/3.1+snapshot/sysroots/x86_64-pokysdk-linux/lib for binaries to process
DEBUG: Checking TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/package//opt/poky/3.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec for binaries to process
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 nativesdk-buildtools-perl-dummy-staticdev libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-src libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-locale libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-doc libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-dev libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-dbg libs 0 bins 0 sonames []
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-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
DEBUG: Reading shlib providers in TOPDIR/tmp/work/buildtools-dummy-nativesdk-pokysdk-linux/nativesdk-buildtools-perl-dummy/1.0-r2/pkgdata-sysroot/nativesdk-shlibs2
DEBUG: calculating shlib provides for nativesdk-buildtools-perl-dummy-src
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-src sonames set()
DEBUG: calculating shlib provides for nativesdk-buildtools-perl-dummy-dbg
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-dbg sonames set()
DEBUG: calculating shlib provides for nativesdk-buildtools-perl-dummy-staticdev
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-staticdev sonames set()
DEBUG: calculating shlib provides for nativesdk-buildtools-perl-dummy-dev
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-dev sonames set()
DEBUG: calculating shlib provides for nativesdk-buildtools-perl-dummy-doc
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-doc sonames set()
DEBUG: calculating shlib provides for nativesdk-buildtools-perl-dummy-locale
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy-locale sonames set()
DEBUG: calculating shlib provides for nativesdk-buildtools-perl-dummy
DEBUG: LIBNAMES: pkg nativesdk-buildtools-perl-dummy sonames set()
DEBUG: calculating shlib requirements for nativesdk-buildtools-perl-dummy-src
DEBUG: calculating shlib requirements for nativesdk-buildtools-perl-dummy-dbg
DEBUG: calculating shlib requirements for nativesdk-buildtools-perl-dummy-staticdev
DEBUG: calculating shlib requirements for nativesdk-buildtools-perl-dummy-dev
DEBUG: calculating shlib requirements for nativesdk-buildtools-perl-dummy-doc
DEBUG: calculating shlib requirements for nativesdk-buildtools-perl-dummy-locale
DEBUG: calculating shlib requirements for nativesdk-buildtools-perl-dummy
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: '/usr/bin/perl'

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:
nativesdk-buildtools-perl-dummy
Recipe version:
1.0-r2
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:
1
Open a bug