DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/srv/pokybuild/yocto-worker/beaglebone/build/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/beaglebone/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/beaglebone/build/meta/recipes-devtools/rpm/rpm_4.17.1.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['update-rc.d-native', 'rpm-native', 'popt-native', 'zstd-native', 'elfutils-native', 'file-native', 'bzip2-native', 'xz-native', 'sqlite3-native', 'libgcrypt-native', 'gettext-minimal-native', 'libtool-native', 'python3-native', 'lua-native', 'curl-native', 'libarchive-native', 'libmicrohttpd-native', 'zlib-native', 'libcap-native', 'libgpg-error-native', 'texinfo-dummy-native', 'util-linux-libuuid-native', 'openssl-native', 'libffi-native', 'gdbm-native', 'readline-native', 'ncurses-native', 'libnsl2-native', 'libtirpc-native', 'attr-native', 'lzo-native', 'gnutls-native', 'perl-native', 'nettle-native', 'libidn2-native', 'gmp-native', 'libunistring-native', 'make-native']
NOTE: Skipping as already exists in sysroot: ['pseudo-native']
DEBUG: sed -e 's:^[^/]*/:TOPDIR/tmp/work/all-poky-linux/run-postinsts/1.0-r10/recipe-sysroot-native/:g' TOPDIR/tmp/sysroots-components/x86_64/rpm-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/elfutils-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libgcrypt-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libtool-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/python3-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/lua-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/curl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/libgpg-error-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/openssl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/ncurses-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/perl-native/fixmepath TOPDIR/tmp/sysroots-components/x86_64/gmp-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp/work/all-poky-linux/run-postinsts/1.0-r10/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/all-poky-linux/run-postinsts/1.0-r10/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/beaglebone-yocto:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/all-poky-linux/run-postinsts/1.0-r10/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/all-poky-linux/run-postinsts/1.0-r10/temp/fifo.3983141:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package_write_rpm
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
DEBUG: Executing python function do_package_rpm
DEBUG: Executing python function write_specfile
NOTE: Not creating empty RPM package for run-postinsts-src
NOTE: Creating empty RPM package for run-postinsts-dbg
NOTE: Not creating empty RPM package for run-postinsts-staticdev
NOTE: Creating empty RPM package for run-postinsts-dev
NOTE: Not creating empty RPM package for run-postinsts-doc
NOTE: Not creating empty RPM package for run-postinsts-locale
NOTE: Creating RPM package for run-postinsts
DEBUG: Python function write_specfile finished
DEBUG: PKGWRITEDIR: TOPDIR/tmp/work/all-poky-linux/run-postinsts/1.0-r10/deploy-rpms/noarch
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:do_package_rpm(d)
0003:
File: '/srv/pokybuild/yocto-worker/beaglebone/build/meta/classes/package_rpm.bbclass', lineno: 674, function: do_package_rpm
0670: bb.utils.mkdirhier(pkgwritedir)
0671: os.chmod(pkgwritedir, 0o755)
0672:
0673: cmd = rpmbuild
*** 0674: cmd = cmd + " --noclean --nodeps --short-circuit --target " + pkgarch + " --buildroot " + pkgd
0675: cmd = cmd + " --define '_topdir " + workdir + "' --define '_rpmdir " + pkgwritedir + "'"
0676: cmd = cmd + " --define '_builddir " + d.getVar('B') + "'"
0677: cmd = cmd + " --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'"
0678: cmd = cmd + " --define '_use_internal_dependency_generator 0'"
Exception: TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
DEBUG: Python function do_package_rpm finished
DEBUG: Python function do_package_write_rpm finished