Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing MACHINE breaks bitbake meta-toolchain-qt5 #14

Open
fmhess opened this issue May 15, 2018 · 2 comments
Open

changing MACHINE breaks bitbake meta-toolchain-qt5 #14

fmhess opened this issue May 15, 2018 · 2 comments

Comments

@fmhess
Copy link

fmhess commented May 15, 2018

After doing "bitbake meta-toolchain-qt5", then starting again fresh except with a different MACHINE when running setup_environment, "bitbake meta-toolchain-qt5" will fail with stuff like

ERROR: meta-toolchain-qt5-1.0-r0 do_populate_sdk: The recipe meta-toolchain-qt5 is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/windriver/usr1/halfdome/fluke-cda-setup/angstrom-v2017.06-yocto2.3-manifest-fluke-cda/deploy/glibc/sdk/angstrom-glibc-x86_64-armv7at2hf-neon-v2017.06-toolchain.target.manifest
(matched in manifest-fluke-cda-vanquishx86_64-meta-toolchain-qt5.populate_sdk)
/windriver/usr1/halfdome/fluke-cda-setup/angstrom-v2017.06-yocto2.3-manifest-fluke-cda/deploy/glibc/sdk/angstrom-glibc-x86_64-armv7at2hf-neon-v2017.06-toolchain.testdata.json

I suspect this is due to there being no machine specific subdirs under deploy/glibc/sdk/ unlike for example deploy/glibc/images/ which has a subdirectory for each machine. I guess this is due to the setting of SDK_DEPLOY in openembedded-core/meta/classes/populate_sdk_base.bbclass which doesn't include SDKMACHINE in its path.

@fmhess
Copy link
Author

fmhess commented May 15, 2018

Setting

SDK_DEPLOY = "${DEPLOY_DIR}/sdk/${MACHINE}${SDKMACHINE}"

seems to fix the problem.

@fmhess
Copy link
Author

fmhess commented May 15, 2018

Or actually, maybe it's better to give the MACHINE and SDKMACHINE each their own directory, like:

SDK_DEPLOY = "${DEPLOY_DIR}/sdk/${SDKMACHINE}/${MACHINE}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant