Solved b2qt-embedded-qt5-image fails to build for intel-corei7-64
-
Hello,
I am running the prebuilt „b2qt-embedded-qt5-image“ on an Intel Atom E3930. Now I want to build the same image myself from source using „bitbake b2qt-embedded-qt5-image“ . The build persistently fails when it comes to building the package „packagegroup-b2qt-embedded-tools“.The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:sstate_task_postfunc(d)
0003:
File: '/home/behnkjoc/testimg/boot2qt/sources/poky/meta/classes/sstate.bbclass', lineno: 710, function: sstate_task_postfunc
0706:
0707: sstateinst = d.getVar("SSTATE_INSTDIR")
0708: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
0709:
*** 0710: sstate_installpkgdir(shared_state, d)
0711:
0712: bb.utils.remove(d.getVar("SSTATE_BUILDDIR"), recurse=True)
0713:}
0714:sstate_task_postfunc[dirs] = "${WORKDIR}"
File: '/home/behnkjoc/testimg/boot2qt/sources/poky/meta/classes/sstate.bbclass', lineno: 354, function: sstate_installpkgdir
0350: oe.path.remove(dir)
0351:
0352: for state in ss['dirs']:
0353: prepdir(state[1])
*** 0354: os.rename(sstateinst + state[0], state[1])
0355: sstate_install(ss, d)
0356:
0357: for plain in ss['plaindirs']:
0358: workdir = d.getVar('WORKDIR')
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/behnkjoc/testimg/boot2qt/build-intel-corei7-64/tmp/work/all-poky-linux/packagegroup-b2qt-embedded-tools/1.0-r0/sstate-build-packagedata/pkgdata' -> '/home/behnkjoc/testimg/boot2qt/build-intel-corei7-64/tmp/work/all-poky-linux/packagegroup-b2qt-embedded-tools/1.0-r0/pkgdata'DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: sstate_task_postfuncFrom „Exception: FileNotFoundError: [Errno 2] No such file or directory ...“
I understand, that the pkgdata direcory is missing, but what is the cause?Any suggestions what could be the problem?
-
I ran the bitbake process a second time, and now it succeeded.
I guess that some interruptions of the first build process somehow led to inconsistent build caches.
For example git-lfs was missing (but this was detected right at the beginning of the build process, so I don‘t think this was the culprit).So I went through the b2qt build instructions once again.
But this time-
I updated the required software packages using
$> sudo apt-get install gawk curl git-core diffstat unzip p7zip-full texinfo
gcc-multilib build-essential chrpath libsdl1.2-dev xterm gperf bison
g++-multilib
This resulted in some software packages being added and some existing being upgraded -
I ran bitbake from a virtual console
I am running xubuntu 16.04 LTS and recently my desktop sessions sometime have been closed, when bitbake ran for a while. So I decided not to run bitbake from a GUI terminal, but from a virtual text console. -
I created a new build environment from scratch
I created a new directory for the b2qt build environment and ran the b2qt-init-build-env script from there. So I was sure there was no old stuff laying around.
As already said, „$> bitbake b2qt-embedded-qt5-image“ then successfully built the image.
Problem solved. -
-
Hi and welcome to devnet,
Boot2Qt being a licensed product, you should rather ask the Qt Company directly.
-
Thanks for your reply.
I am new to Qt and thought this forum is run by the Qt company.
I'll give Qt company support a try. -
They handle the infrastructure but this is a user forum mostly answered by volunteers.
-
I ran the bitbake process a second time, and now it succeeded.
I guess that some interruptions of the first build process somehow led to inconsistent build caches.
For example git-lfs was missing (but this was detected right at the beginning of the build process, so I don‘t think this was the culprit).So I went through the b2qt build instructions once again.
But this time-
I updated the required software packages using
$> sudo apt-get install gawk curl git-core diffstat unzip p7zip-full texinfo
gcc-multilib build-essential chrpath libsdl1.2-dev xterm gperf bison
g++-multilib
This resulted in some software packages being added and some existing being upgraded -
I ran bitbake from a virtual console
I am running xubuntu 16.04 LTS and recently my desktop sessions sometime have been closed, when bitbake ran for a while. So I decided not to run bitbake from a GUI terminal, but from a virtual text console. -
I created a new build environment from scratch
I created a new directory for the b2qt build environment and ran the b2qt-init-build-env script from there. So I was sure there was no old stuff laying around.
As already said, „$> bitbake b2qt-embedded-qt5-image“ then successfully built the image.
Problem solved. -