[oe] [Bug 4549] A number of xorg dev packages are uninstallable
Tom Rini
trini at kernel.crashing.org
Fri Sep 12 20:15:57 UTC 2008
On Fri, Sep 12, 2008 at 12:21:23PM -0700, Tom Rini wrote:
> On Fri, Sep 12, 2008 at 09:04:07PM +0200, Koen Kooi wrote:
> > Tom Rini wrote:
> >> [ This is all also available at
> >> http://bugs.openembedded.net/show_bug.cgi?id=4549 ]
> >>
> >> A number of xorg dev packages (both literally -dev and util-macros) are
> >> uninstallable on the target. The problem is that by default (with ipk)
> >> any given -dev package will depend on the main package, for example
> >> xproto-dev depends on xproto. But in these packages case, there is no
> >> main package (no xproto). The following patch fixes the issue.
> >
> > No, it doesn't, your patch actually *breaks* the depends chaining, the
> > real fix would be to do ALLOW_EMPTY_${PN} = "1" in the recipes.
>
> Well, they did all suddenly actually install. I'll rework the patch per
> your suggestion, make sure that works too and re-post. Thanks.
Same problem as before, Koen's solution instead:
#
# old_revision [e5b917e5de77a3e1e649867986fdd33f141c7bd3]
#
# patch "packages/xorg-lib/xtrans_1.0.3.bb"
# from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
# to [4326a8948884215174299f16364f47e8b6c07295]
#
# patch "packages/xorg-lib/xtrans_1.0.4.bb"
# from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
# to [4326a8948884215174299f16364f47e8b6c07295]
#
# patch "packages/xorg-lib/xtrans_1.1.bb"
# from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
# to [4326a8948884215174299f16364f47e8b6c07295]
#
# patch "packages/xorg-lib/xtrans_1.2.bb"
# from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
# to [4326a8948884215174299f16364f47e8b6c07295]
#
# patch "packages/xorg-proto/xorg-proto-common.inc"
# from [2f88e96e17c9a539cf5bf9383cad1500375eae86]
# to [aa528c4cf7863704e0d3ae2a0203fe669205bc06]
#
# patch "packages/xorg-util/util-macros_1.1.5.bb"
# from [e4dba9f37b257cea60724c9fd34b82e27e27e349]
# to [4ba31d550f6c3a239d2a4ed31e41804281401a41]
#
# patch "packages/xorg-util/util-macros_1.1.6.bb"
# from [9dd3c08d7715e6e845ab141fd67cbb4e3a962977]
# to [89aa974c4232d1c544e4924996946a514b924bb6]
#
============================================================
--- packages/xorg-lib/xtrans_1.0.3.bb 5adfa3a5c753b71a9a61e266569ccbd26e940b09
+++ packages/xorg-lib/xtrans_1.0.3.bb 4326a8948884215174299f16364f47e8b6c07295
@@ -1,5 +1,7 @@ require xorg-lib-common.inc
require xorg-lib-common.inc
+ALLOW_EMPTY_${PN} = "1"
+
DESCRIPTION = "network API translation layer to insulate X applications and \
libraries from OS network vageries."
PE = "1"
============================================================
--- packages/xorg-lib/xtrans_1.0.4.bb 5adfa3a5c753b71a9a61e266569ccbd26e940b09
+++ packages/xorg-lib/xtrans_1.0.4.bb 4326a8948884215174299f16364f47e8b6c07295
@@ -1,5 +1,7 @@ require xorg-lib-common.inc
require xorg-lib-common.inc
+ALLOW_EMPTY_${PN} = "1"
+
DESCRIPTION = "network API translation layer to insulate X applications and \
libraries from OS network vageries."
PE = "1"
============================================================
--- packages/xorg-lib/xtrans_1.1.bb 5adfa3a5c753b71a9a61e266569ccbd26e940b09
+++ packages/xorg-lib/xtrans_1.1.bb 4326a8948884215174299f16364f47e8b6c07295
@@ -1,5 +1,7 @@ require xorg-lib-common.inc
require xorg-lib-common.inc
+ALLOW_EMPTY_${PN} = "1"
+
DESCRIPTION = "network API translation layer to insulate X applications and \
libraries from OS network vageries."
PE = "1"
============================================================
--- packages/xorg-lib/xtrans_1.2.bb 5adfa3a5c753b71a9a61e266569ccbd26e940b09
+++ packages/xorg-lib/xtrans_1.2.bb 4326a8948884215174299f16364f47e8b6c07295
@@ -1,5 +1,7 @@ require xorg-lib-common.inc
require xorg-lib-common.inc
+ALLOW_EMPTY_${PN} = "1"
+
DESCRIPTION = "network API translation layer to insulate X applications and \
libraries from OS network vageries."
PE = "1"
============================================================
--- packages/xorg-proto/xorg-proto-common.inc 2f88e96e17c9a539cf5bf9383cad1500375eae86
+++ packages/xorg-proto/xorg-proto-common.inc aa528c4cf7863704e0d3ae2a0203fe669205bc06
@@ -1,9 +1,10 @@ XORG_PN = "${PN}"
DESCRIPTION = "X protocol headers: ${XORG_PN}"
HOMEPAGE = "http://www.x.org"
SECTION = "x11/libs"
LICENSE = "MIT-X"
XORG_PN = "${PN}"
+ALLOW_EMPTY_${PN} = "1"
SRC_URI = "${XORG_MIRROR}/individual/proto/${XORG_PN}-${PV}.tar.bz2"
============================================================
--- packages/xorg-util/util-macros_1.1.5.bb e4dba9f37b257cea60724c9fd34b82e27e27e349
+++ packages/xorg-util/util-macros_1.1.5.bb 4ba31d550f6c3a239d2a4ed31e41804281401a41
@@ -1,5 +1,7 @@ require xorg-util-common.inc
require xorg-util-common.inc
+ALLOW_EMPTY_${PN} = "1"
+
DESCRIPTION = "X autotools macros"
PR = "r1"
PE = "1"
============================================================
--- packages/xorg-util/util-macros_1.1.6.bb 9dd3c08d7715e6e845ab141fd67cbb4e3a962977
+++ packages/xorg-util/util-macros_1.1.6.bb 89aa974c4232d1c544e4924996946a514b924bb6
@@ -1,4 +1,6 @@ require xorg-util-common.inc
require xorg-util-common.inc
+ALLOW_EMPTY_${PN} = "1"
+
DESCRIPTION = "X autotools macros"
PE = "1"
--
Tom Rini
More information about the Openembedded-devel
mailing list