Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [RFC] gnome.bbclass change broke lots of package dependencies
@ 2009-05-25  9:07 Ihar Hrachyshka
  2009-05-25 10:20 ` Phil Blundell
  0 siblings, 1 reply; 12+ messages in thread
From: Ihar Hrachyshka @ 2009-05-25  9:07 UTC (permalink / raw)
  To: openembedded-devel, koen

Hello to all!

Today I was working on bringing qt4-embedded toolchain to OE and found
the following problem with the last change
(4c275b5c0350ed1dbd94bfcdd9ce8786ad11b8a1) for gnome.bbclass.
Here is the problematic code snippet I'd like to discuss:

@@ -17,6 +17,9 @@ inherit autotools gtk-icon-cache pkgconfig gconf mime

 AUTOTOOLS_STAGE_PKGCONFIG = "1"

+PACKAGES =+ "${PN}-scrollkeeper-leftovers"
+FILES_${PN}-scrollkeeper-leftovers = "${localstatedir}/lib/scrollkeeper"
+
 gnome_stage_includes() {
        autotools_stage_includes
 }

As we can see, there is now ${PN}-scrollkeeper-leftovers package for
every recipe that inherited gnome.bbclass. And this -leftovers package
is in the current dependency chains (at least for qt4-embedded-dev
package).

At the first place, I'd like to get some explanation on the reason for
pushing the change in the tree. Git log is somehow ambiguous so I
can't understand the reason for doing the commit.

If it's really needed then we should resolve the following problems:
1) this new package (leftovers) is not generated for empty packages
resulting in broken dependency chains (as for gnome-vfs that is
somehow needed by qt4-embedded-dev);
2) this new package (leftovers) is not generated for *every* recipe
that was built *before* the change was made.

As for the 1st problem, I suggest adding ALLOW_EMPTY = "1" to
gnome.bbclass (it works for my current setup, and if you will approve
the change then I'll send the patch immediately).
As for the 2nd problem, there is a big question what should we do.
Revision bumping for every recipe that inherits gnome.bbclass is not
an elegant thing (though it will really push the change for all the
users). Maybe there is another, better way to handle such tasks. If
you know it please provide me with the info.

Thanks for help in advance,
Ihar Hrachyshka



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-05-30 23:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25  9:07 [RFC] gnome.bbclass change broke lots of package dependencies Ihar Hrachyshka
2009-05-25 10:20 ` Phil Blundell
2009-05-25 11:18   ` [PATCH] gnome.bbclass: remove unneeded scrollkeeper stuff from gnome packages Ihar Hrachyshka
2009-05-25 12:17     ` Phil Blundell
2009-05-30 20:53       ` Tom Rini
2009-05-30 20:54         ` Tom Rini
2009-05-30 21:00         ` Ihar Hrachyshka
2009-05-30 21:04           ` Tom Rini
2009-05-30 23:06         ` Phil Blundell
2009-05-30 23:42           ` Phil Blundell
2009-05-30 20:36     ` Ihar Hrachyshka
2009-05-25 11:21   ` [RFC] gnome.bbclass change broke lots of package dependencies Dmitry Eremin-Solenikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox