Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

bitbake meta-toolchain-b2qt-embedded-qt5-sdk



  • Hello,

    i try to bitbake the sdk (for my rsp3 image)
    But it throws all the time this error shown bellow

    and a couple of Logfile for failed setscene task warnings which i don't want to post here (because of clarity)

    i hope someone know the solution

    ERROR: nativesdk-expat-2.2.0-r0 do_package_write_ipk_setscene: 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:do_package_write_ipk_setscene(d)
    0003:
    File: '/home/embedded/rsp3/sources/poky/meta/classes/package_ipk.bbclass', lineno: 275, function: do_package_write_ipk_setscene
    0271:
    0272: if os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"), os.R_OK):
    0273: os.unlink(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"))
    0274:
    *** 0275: sstate_setscene(d)
    0276:}
    0277:addtask do_package_write_ipk_setscene
    0278:
    0279:python () {
    File: '/home/embedded/rsp3/sources/poky/meta/classes/sstate.bbclass', lineno: 657, function: sstate_setscene
    0653: break
    0654:
    0655:def sstate_setscene(d):
    0656: shared_state = sstate_state_fromvars(d)
    *** 0657: accelerate = sstate_installpkg(shared_state, d)
    0658: if not accelerate:
    0659: bb.fatal("No suitable staging package found")
    0660:
    0661:python sstate_task_prefunc () {
    File: '/home/embedded/rsp3/sources/poky/meta/classes/sstate.bbclass', lineno: 325, function: sstate_installpkg
    0321: bb.build.exec_func(f, d, (sstateinst,))
    0322:
    0323: for state in ss['dirs']:
    0324: prepdir(state[1])
    *** 0325: os.rename(sstateinst + state[0], state[1])
    0326: sstate_install(ss, d)
    0327:
    0328: for plain in ss['plaindirs']:
    0329: workdir = d.getVar('WORKDIR', True)
    Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/embedded/rsp3/build-raspberrypi3/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-expat/2.2.0-r0/sstate-install-package_write_ipk/deploy-ipks' -> '/home/embedded/rsp3/build-raspberrypi3/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-expat/2.2.0-r0/deploy-ipks'

    ERROR: nativesdk-expat-2.2.0-r0 do_package_write_ipk: 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:do_package_ipk(d)
    0003:
    File: '/home/embedded/rsp3/sources/poky/meta/classes/package_ipk.bbclass', lineno: 98, function: do_package_ipk
    0094: else:
    0095: pkgoutdir = "%s/%s" % (outdir, arch)
    0096:
    0097: bb.utils.mkdirhier(pkgoutdir)
    *** 0098: os.chdir(root)
    0099: cleanupcontrol(root)
    0100: from glob import glob
    0101: g = glob('*')
    0102: if not g and localdata.getVar('ALLOW_EMPTY', False) != "1":
    Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/embedded/rsp3/build-raspberrypi3/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-expat/2.2.0-r0/packages-split/nativesdk-expat-dbg'

    ERROR: nativesdk-expat-2.2.0-r0 do_package_write_ipk: Function failed: do_package_ipk
    ERROR: Logfile of failure stored in: /home/embedded/rsp3/build-raspberrypi3/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-expat/2.2.0-r0/temp/log.do_package_write_ipk.10494
    ERROR: Task (virtual:nativesdk:/home/embedded/rsp3/sources/poky/meta/recipes-core/expat/expat_2.2.0.bb:do_package_write_ipk) failed with exit code '1'


Log in to reply