fix do_rootfs for images with dev-pkgs in IMAGE_FEATURES
| Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for qtquickcontrols-dev: | * qtquickcontrols (= 5.1.0-r0) * | * opkg_install_cmd: Cannot install package qtquickcontrols-dev.
--- recipes-qt/qt5/qtquickcontrols.inc | 2 ++ 1 file changed, 2 insertions(+)
recipes-qt/qt5/qtquickcontrols.inc +2 -0
@@ -1,3 +1,5 @@ require qt5.inc DEPENDS += "qtdeclarative" + +ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
1.8.3.1
Quoted 16 lines · Andreas Müller
| Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for qtquickcontrols-dev: | * qtquickcontrols (= 5.1.0-r0) * | * opkg_install_cmd: Cannot install package qtquickcontrols-dev.Signed-off-by Andreas Müller <[email protected]>--- recipes-qt/qt5/qtquickcontrols.inc | 2 ++ 1 file changed, 2 insertions(+)recipes-qt/qt5/qtquickcontrols.inc +0
-0
recipes-qt/qt5/qtquickcontrols.inc line 5
Quoted 5 lines
recipes-qt/qt5/qtquickcontrols.inc +2
-0@@ -1,3 +1,5 @@ require qt5.inc DEPENDS += "qtdeclarative" + +ALLOW_EMPTY_${PN} = "1"
Hi Andreas,
I ran into this problem the other day, and after speaking to Ross Burton, he suggested that the better way to fix this is with:
RDEPENDS_${PN}-dev = ""
I'm starting to get the feeling that the dev-pkgs feature is also a little broken, as it seems as though it doesn't handle cases where sub-packages are installed, but the main package is not.
Quoted 8 lines · Jack Mitchell
I ran into this problem the other day, and after speaking to Ross Burton, he suggested that the better way to fix this is with:
RDEPENDS_${PN}-dev = ""
I'm starting to get the feeling that the dev-pkgs feature is also a little broken, as it seems as though it doesn't handle cases where sub-packages are installed, but the main package is not.
Well, the problem is the default dependency on the main package in the -dev package, which happens whether or not the main package even exists. That's why I prefer removing the dependency instead of creating empty packages just for the bad dependency.
Ross
Quoted 6 lines · Ross
Quoted 5 lines · Jack Mitchell
I ran into this problem the other day, and after speaking to Ross Burton, he suggested that the better way to fix this is with:
RDEPENDS_${PN}-dev = ""
Quoted 9 lines
Quoted 3 lines
I'm starting to get the feeling that the dev-pkgs feature is also a little broken, as it seems as though it doesn't handle cases where sub-packages are installed, but the main package is not.
Well, the problem is the default dependency on the main package in the -dev package, which happens whether or not the main package even exists. That's why I prefer removing the dependency instead of creating empty packages just for the bad dependency.
agreed :)
Andreas
Quoted 5 lines · Ross
Quoted 5 lines
I ran into this problem the other day, and after speaking to Ross Burton, he suggested that the better way to fix this is with:
RDEPENDS_${PN}-dev = ""
Quoted 8 lines
Quoted 3 lines
I'm starting to get the feeling that the dev-pkgs feature is also a little broken, as it seems as though it doesn't handle cases where sub-packages are installed, but the main package is not.
Well, the problem is the default dependency on the main package in the -dev package, which happens whether or not the main package even exists. That's why I prefer removing the dependency instead of creating empty packages just for the bad dependency.
ack. This causes also problems with populate_sdk as it can add conflicting packages to the package set. E.g. when having 'dropbear' and 'openssh-sftp-server' in the image, the -dev RDEPENDS tries to add the conflicting 'dropbear' and 'openssh' packages to the sdk.
Instead of (or better: additional to) changing 'RDEPENDS_${PN}-dev', I would prefer the removal of 'ALLOW_EMPTY_${PN}-dev' from bitbake.conf. There is not reason to create -dev packages for applications.
In 'meta/conf/bitbake.conf' the '${PN}' in
|:RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})"
should be replaced by something which means the "library" package(s).
Enrico