[oe] [meta-qt5] enviornment-setup.d conflict nativesdk-cmake and nativesedk-qtbase-tools
Diaz de Grenu, Jose
Jose.DiazdeGrenu at digi.com
Fri Jan 12 11:53:56 UTC 2018
Hi,
I am using Yocto 2.4 Rocko and trying to populate_sdk my image that include the meta-qt5 layer. Unfortunately I get the following error while creating the SDK:
file (...)/sysroots/x86_64-deysdk-linux/environment-setup.d conflicts between attempted installs of nativesdk-cmake-3.8.2-r0.0.x86_64_nativesdk and nativesdk-qtbase-tools-5.9.3+git0+73573fce29-r0.0.
x86_64_nativesdk
I had a look at those recipies and this is what I find:
cmake_3.8.2 (from poky, rocko)
do_install_append_class-nativesdk() {
mkdir -p ${D}${datadir}/cmake
install -m 644 ${WORKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
install -m 644 ${WORKDIR}/environment.d-cmake.sh ${D}${SDKPATHNATIVE}/environment-setup.d/cmake.sh
}
nativesdk-qtbase_git.bb (from meta-qt5, rocko):
fakeroot do_generate_qt_environment_file() {
mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d/
script=${D}${SDKPATHNATIVE}/environment-setup.d/qt5.sh
(...)
}
Both recipes are installing the directory ${D}${SDKPATHNATIVE}/environment-setup.d/. Not sure why that is a conflict. Could it be because qtbase is running that as fakeroot?
I checked that in Yocto 2.2 Morty, the recipes do the same but I don't get the error. I am not sure if this is because Yocto 2.4 is more strict.
Does this mean this is broken upstream then, or am I missing something?
Thanks.
More information about the Openembedded-devel
mailing list