* [PATCH V3 0/1] dbus: fix a hard dependency about dbus-ptest
@ 2014-03-19 2:00 Chong Lu
2014-03-19 2:00 ` [PATCH V3 1/1] " Chong Lu
0 siblings, 1 reply; 7+ messages in thread
From: Chong Lu @ 2014-03-19 2:00 UTC (permalink / raw)
To: openembedded-core
Changes since V2:
PACKAGES is conditional on DISTRO_FEATURES containing ptest.
Modify ${PN}-ptest to dbus-ptest.
Remove RPROVIDES_dbus-ptest.
The following changes since commit 0150bc30d3674301631c2e9b6c64e01058fd1070:
bitbake: runqueue: Really fix sigchld handling (2014-03-18 23:05:53 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib chonglu/dbus
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/dbus
Chong Lu (1):
dbus: fix a hard dependency about dbus-ptest
meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => dbus-test_1.6.18.bb} | 0
meta/recipes-core/dbus/dbus.inc | 4 +++-
2 files changed, 3 insertions(+), 1 deletion(-)
rename meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => dbus-test_1.6.18.bb} (100%)
--
1.8.1.2
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH V3 1/1] dbus: fix a hard dependency about dbus-ptest 2014-03-19 2:00 [PATCH V3 0/1] dbus: fix a hard dependency about dbus-ptest Chong Lu @ 2014-03-19 2:00 ` Chong Lu 2014-03-19 11:59 ` Burton, Ross 2014-04-03 20:31 ` Saul Wold 0 siblings, 2 replies; 7+ messages in thread From: Chong Lu @ 2014-03-19 2:00 UTC (permalink / raw) To: openembedded-core If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest package is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. This issue will increase size for most small images. This patch fixes this problem. [YOCTO #5702] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> --- meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => dbus-test_1.6.18.bb} | 0 meta/recipes-core/dbus/dbus.inc | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => dbus-test_1.6.18.bb} (100%) diff --git a/meta/recipes-core/dbus/dbus-ptest_1.6.18.bb b/meta/recipes-core/dbus/dbus-test_1.6.18.bb similarity index 100% rename from meta/recipes-core/dbus/dbus-ptest_1.6.18.bb rename to meta/recipes-core/dbus/dbus-test_1.6.18.bb diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 677ff78..6059e7c 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc @@ -6,9 +6,11 @@ LICENSE = "AFL-2 | GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" DEPENDS = "expat virtual/libintl" -RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest-ptest', '', d)}" RDEPENDS_dbus_class-native = "" RDEPENDS_dbus_class-nativesdk = "" +PACKAGES += "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" +ALLOW_EMPTY_dbus-ptest = "1" +RDEPENDS_dbus-ptest = "dbus-test-ptest" SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ file://tmpdir.patch \ -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH V3 1/1] dbus: fix a hard dependency about dbus-ptest 2014-03-19 2:00 ` [PATCH V3 1/1] " Chong Lu @ 2014-03-19 11:59 ` Burton, Ross 2014-04-01 1:20 ` Chong Lu 2014-04-03 20:31 ` Saul Wold 1 sibling, 1 reply; 7+ messages in thread From: Burton, Ross @ 2014-03-19 11:59 UTC (permalink / raw) To: Chong Lu; +Cc: OE-core On 19 March 2014 02:00, Chong Lu <Chong.Lu@windriver.com> wrote: > If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest package > is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. This > issue will increase size for most small images. > This patch fixes this problem. Reviewed-by: Ross Burton <ross.burton@intel.com> Ross ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V3 1/1] dbus: fix a hard dependency about dbus-ptest 2014-03-19 11:59 ` Burton, Ross @ 2014-04-01 1:20 ` Chong Lu 0 siblings, 0 replies; 7+ messages in thread From: Chong Lu @ 2014-04-01 1:20 UTC (permalink / raw) To: Burton, Ross; +Cc: OE-core Ping On 03/19/2014 07:59 PM, Burton, Ross wrote: > On 19 March 2014 02:00, Chong Lu <Chong.Lu@windriver.com> wrote: >> If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest package >> is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. This >> issue will increase size for most small images. >> This patch fixes this problem. > Reviewed-by: Ross Burton <ross.burton@intel.com> > > Ross > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V3 1/1] dbus: fix a hard dependency about dbus-ptest 2014-03-19 2:00 ` [PATCH V3 1/1] " Chong Lu 2014-03-19 11:59 ` Burton, Ross @ 2014-04-03 20:31 ` Saul Wold 2014-04-04 6:09 ` Chong Lu 1 sibling, 1 reply; 7+ messages in thread From: Saul Wold @ 2014-04-03 20:31 UTC (permalink / raw) To: Chong Lu, openembedded-core On 03/18/2014 07:00 PM, Chong Lu wrote: > If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest package > is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. This > issue will increase size for most small images. > This patch fixes this problem. > > [YOCTO #5702] > > Signed-off-by: Chong Lu <Chong.Lu@windriver.com> > --- > meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => dbus-test_1.6.18.bb} | 0 > meta/recipes-core/dbus/dbus.inc | 4 +++- > 2 files changed, 3 insertions(+), 1 deletion(-) > rename meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => dbus-test_1.6.18.bb} (100%) > > diff --git a/meta/recipes-core/dbus/dbus-ptest_1.6.18.bb b/meta/recipes-core/dbus/dbus-test_1.6.18.bb > similarity index 100% > rename from meta/recipes-core/dbus/dbus-ptest_1.6.18.bb > rename to meta/recipes-core/dbus/dbus-test_1.6.18.bb > diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc > index 677ff78..6059e7c 100644 > --- a/meta/recipes-core/dbus/dbus.inc > +++ b/meta/recipes-core/dbus/dbus.inc > @@ -6,9 +6,11 @@ LICENSE = "AFL-2 | GPLv2+" > LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ > file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" > DEPENDS = "expat virtual/libintl" > -RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest-ptest', '', d)}" > RDEPENDS_dbus_class-native = "" > RDEPENDS_dbus_class-nativesdk = "" > +PACKAGES += "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" > +ALLOW_EMPTY_dbus-ptest = "1" > +RDEPENDS_dbus-ptest = "dbus-test-ptest" Seems like this is still causing some issues > ERROR: Nothing RPROVIDES 'nativesdk-dbus-test-ptest' (but virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-intel-gpl/build/meta/recipes-core/dbus/dbus_1.6.18.bb RDEPENDS on or otherwise requires it) > NOTE: Runtime target 'nativesdk-dbus-test-ptest' is unbuildable, removing... > Missing or unbuildable dependency chain was: ['nativesdk-dbus-test-ptest'] > ERROR: Required build target 'nativesdk-qt4-tools' has no buildable providers. > Missing or unbuildable dependency chain was: ['nativesdk-qt4-tools', 'nativesdk-dbus', 'nativesdk-dbus-test-ptest'] As seen in this AB Failure: http://autobuilder.yoctoproject.org/main/builders/nightly-intel-gpl/builds/30/steps/BuildImages/logs/stdio Sau! > > SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ > file://tmpdir.patch \ > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V3 1/1] dbus: fix a hard dependency about dbus-ptest 2014-04-03 20:31 ` Saul Wold @ 2014-04-04 6:09 ` Chong Lu 2014-04-04 10:43 ` Paul Eggleton 0 siblings, 1 reply; 7+ messages in thread From: Chong Lu @ 2014-04-04 6:09 UTC (permalink / raw) To: Saul Wold, openembedded-core On 04/04/2014 04:31 AM, Saul Wold wrote: > On 03/18/2014 07:00 PM, Chong Lu wrote: >> If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest >> package >> is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. >> This >> issue will increase size for most small images. >> This patch fixes this problem. >> >> [YOCTO #5702] >> >> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> >> --- >> meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => >> dbus-test_1.6.18.bb} | 0 >> meta/recipes-core/dbus/dbus.inc | 4 +++- >> 2 files changed, 3 insertions(+), 1 deletion(-) >> rename meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => >> dbus-test_1.6.18.bb} (100%) >> >> diff --git a/meta/recipes-core/dbus/dbus-ptest_1.6.18.bb >> b/meta/recipes-core/dbus/dbus-test_1.6.18.bb >> similarity index 100% >> rename from meta/recipes-core/dbus/dbus-ptest_1.6.18.bb >> rename to meta/recipes-core/dbus/dbus-test_1.6.18.bb >> diff --git a/meta/recipes-core/dbus/dbus.inc >> b/meta/recipes-core/dbus/dbus.inc >> index 677ff78..6059e7c 100644 >> --- a/meta/recipes-core/dbus/dbus.inc >> +++ b/meta/recipes-core/dbus/dbus.inc >> @@ -6,9 +6,11 @@ LICENSE = "AFL-2 | GPLv2+" >> LIC_FILES_CHKSUM = >> "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ >> file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" >> DEPENDS = "expat virtual/libintl" >> -RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', >> 'dbus-ptest-ptest', '', d)}" >> RDEPENDS_dbus_class-native = "" >> RDEPENDS_dbus_class-nativesdk = "" >> +PACKAGES += "${@base_contains('DISTRO_FEATURES', 'ptest', >> 'dbus-ptest', '', d)}" >> +ALLOW_EMPTY_dbus-ptest = "1" >> +RDEPENDS_dbus-ptest = "dbus-test-ptest" > > Seems like this is still causing some issues > >> ERROR: Nothing RPROVIDES 'nativesdk-dbus-test-ptest' (but >> virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-intel-gpl/build/meta/recipes-core/dbus/dbus_1.6.18.bb >> RDEPENDS on or otherwise requires it) >> NOTE: Runtime target 'nativesdk-dbus-test-ptest' is unbuildable, >> removing... >> Missing or unbuildable dependency chain was: >> ['nativesdk-dbus-test-ptest'] >> ERROR: Required build target 'nativesdk-qt4-tools' has no buildable >> providers. >> Missing or unbuildable dependency chain was: ['nativesdk-qt4-tools', >> 'nativesdk-dbus', 'nativesdk-dbus-test-ptest'] > > > As seen in this AB Failure: > http://autobuilder.yoctoproject.org/main/builders/nightly-intel-gpl/builds/30/steps/BuildImages/logs/stdio > > Sau! > > Hi Saul, I built core-image-sato-sdk after applied my patch. I didn't see error. Can you tell me how to reproduce your building errors? Best Regards Chong > > > >> >> SRC_URI = >> "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ >> file://tmpdir.patch \ >> > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V3 1/1] dbus: fix a hard dependency about dbus-ptest 2014-04-04 6:09 ` Chong Lu @ 2014-04-04 10:43 ` Paul Eggleton 0 siblings, 0 replies; 7+ messages in thread From: Paul Eggleton @ 2014-04-04 10:43 UTC (permalink / raw) To: Chong Lu; +Cc: openembedded-core On Friday 04 April 2014 14:09:09 Chong Lu wrote: > On 04/04/2014 04:31 AM, Saul Wold wrote: > > On 03/18/2014 07:00 PM, Chong Lu wrote: > >> If image contains dbus and ptest is in DISTRO_FEATURES, dbus-ptest > >> package > >> is installed, regardless of whether ptest-pkgs is in IMAGE_FEATURES. > >> This > >> issue will increase size for most small images. > >> This patch fixes this problem. > >> > >> [YOCTO #5702] > >> > >> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> > >> --- > >> > >> meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => > >> > >> dbus-test_1.6.18.bb} | 0 > >> meta/recipes-core/dbus/dbus.inc | 4 +++- > >> > >> 2 files changed, 3 insertions(+), 1 deletion(-) > >> rename meta/recipes-core/dbus/{dbus-ptest_1.6.18.bb => > >> > >> dbus-test_1.6.18.bb} (100%) > >> > >> diff --git a/meta/recipes-core/dbus/dbus-ptest_1.6.18.bb > >> b/meta/recipes-core/dbus/dbus-test_1.6.18.bb > >> similarity index 100% > >> rename from meta/recipes-core/dbus/dbus-ptest_1.6.18.bb > >> rename to meta/recipes-core/dbus/dbus-test_1.6.18.bb > >> diff --git a/meta/recipes-core/dbus/dbus.inc > >> b/meta/recipes-core/dbus/dbus.inc > >> index 677ff78..6059e7c 100644 > >> --- a/meta/recipes-core/dbus/dbus.inc > >> +++ b/meta/recipes-core/dbus/dbus.inc > >> @@ -6,9 +6,11 @@ LICENSE = "AFL-2 | GPLv2+" > >> > >> LIC_FILES_CHKSUM = > >> > >> "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ > >> file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a97453 > >> 8bb3c">> > >> DEPENDS = "expat virtual/libintl" > >> > >> -RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', > >> 'dbus-ptest-ptest', '', d)}" > >> > >> RDEPENDS_dbus_class-native = "" > >> RDEPENDS_dbus_class-nativesdk = "" > >> > >> +PACKAGES += "${@base_contains('DISTRO_FEATURES', 'ptest', > >> 'dbus-ptest', '', d)}" > >> +ALLOW_EMPTY_dbus-ptest = "1" > >> +RDEPENDS_dbus-ptest = "dbus-test-ptest" > > > > Seems like this is still causing some issues > > > >> ERROR: Nothing RPROVIDES 'nativesdk-dbus-test-ptest' (but > >> virtual:nativesdk:/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-i > >> ntel-gpl/build/meta/recipes-core/dbus/dbus_1.6.18.bb RDEPENDS on or > >> otherwise requires it) > >> NOTE: Runtime target 'nativesdk-dbus-test-ptest' is unbuildable, > >> removing... > >> Missing or unbuildable dependency chain was: > >> ['nativesdk-dbus-test-ptest'] > >> ERROR: Required build target 'nativesdk-qt4-tools' has no buildable > >> providers. > >> Missing or unbuildable dependency chain was: ['nativesdk-qt4-tools', > >> 'nativesdk-dbus', 'nativesdk-dbus-test-ptest'] > > > > As seen in this AB Failure: > > http://autobuilder.yoctoproject.org/main/builders/nightly-intel-gpl/builds > > /30/steps/BuildImages/logs/stdio > > I built core-image-sato-sdk after applied my patch. I didn't see error. > Can you tell me how to reproduce your building errors? You'd need to try to build nativesdk-dbus - "bitbake nativesdk-dbus" should be able to reproduce this. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-04-04 10:43 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-03-19 2:00 [PATCH V3 0/1] dbus: fix a hard dependency about dbus-ptest Chong Lu 2014-03-19 2:00 ` [PATCH V3 1/1] " Chong Lu 2014-03-19 11:59 ` Burton, Ross 2014-04-01 1:20 ` Chong Lu 2014-04-03 20:31 ` Saul Wold 2014-04-04 6:09 ` Chong Lu 2014-04-04 10:43 ` Paul Eggleton
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.