All of lore.kernel.org
 help / color / mirror / Atom feed
* RPROVIDES problem for kdepimpi
@ 2008-03-21 14:32 Junqian Gordon Xu
  2008-03-21 14:57 ` Koen Kooi
  2008-03-21 15:46 ` Holger Freyther
  0 siblings, 2 replies; 5+ messages in thread
From: Junqian Gordon Xu @ 2008-03-21 14:32 UTC (permalink / raw)
  To: openembedded-devel

Similar to the tzdata problem. kdepimpi recipe does not define a package 
${PN}, and bitbake doesn't like the fact that ${PN} is missing in RPROVIDES.

Should we ship an empty kdepimpi? Or any better solution?

Regards
Gordon



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

* Re: RPROVIDES problem for kdepimpi
  2008-03-21 14:32 RPROVIDES problem for kdepimpi Junqian Gordon Xu
@ 2008-03-21 14:57 ` Koen Kooi
  2008-03-21 15:46 ` Holger Freyther
  1 sibling, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2008-03-21 14:57 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Junqian Gordon Xu schreef:
| Similar to the tzdata problem. kdepimpi recipe does not define a package
| ${PN}, and bitbake doesn't like the fact that ${PN} is missing in
RPROVIDES.
|
| Should we ship an empty kdepimpi? Or any better solution?

kdepimpi-x11 does:

PACKAGES = "libmicrokcal-x11 libmicrokabc-x11 kopi-applet-x11 kopi-x11
kapi-x11 libmicrokdelibs-x11 kammu-x11 libmicrokammu-x11"

Which is buggy, since it will break the -dev and -dbg depchains (and
ships no .debug files).

Change that to:

PACKAGES += " \
libmicrokcal-x11 libmicrokcal-x11-dbg libmicrokcal-x11-dev \
libmicrokabc-x11 libmicrokabc-x11-dbg libmicrokabc-x11-dev\
kopi-applet-x11 kopi-applet-x11-dbg kopi-applet-x11-dev\
kopi-x11 kopi-x11-dbg kopi-x11-dev\
kapi-x11 kapi-x11-dbg kapi-x11-dev\
libmicrokdelibs-x11 libmicrokdelibs-x11-dbg libmicrokdelibs-x11-dev\
kammu-x11 kammu-x11-dbg\
libmicrokammu-x11 libmicrokammu-x11-dbg libmicrokammu-x11-dev"

ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN} = "kopi-applet-x11 kopi-x11 kapi-x11 kammu-x11"

FILES_....-dev
FILES_....-dbg
etc.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH48zwMkyGM64RGpERAq/fAJ9J9UHDj/GWLoxLn+39CUFnG6XdtACgqvZP
PfvptGphDh4wh1dbRBofUgQ=
=fUrC
-----END PGP SIGNATURE-----




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

* Re: RPROVIDES problem for kdepimpi
  2008-03-21 14:32 RPROVIDES problem for kdepimpi Junqian Gordon Xu
  2008-03-21 14:57 ` Koen Kooi
@ 2008-03-21 15:46 ` Holger Freyther
  2008-03-21 16:02   ` Junqian Gordon Xu
  1 sibling, 1 reply; 5+ messages in thread
From: Holger Freyther @ 2008-03-21 15:46 UTC (permalink / raw)
  To: openembedded-devel

On Friday 21 March 2008 15:32:23 Junqian Gordon Xu wrote:
> Similar to the tzdata problem. kdepimpi recipe does not define a package
> ${PN}, and bitbake doesn't like the fact that ${PN} is missing in
> RPROVIDES.

Where is the issue? Why should there be a RPROVIDES=kdepimpi?

z.



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

* Re: RPROVIDES problem for kdepimpi
  2008-03-21 15:46 ` Holger Freyther
@ 2008-03-21 16:02   ` Junqian Gordon Xu
  2008-03-21 18:42     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Junqian Gordon Xu @ 2008-03-21 16:02 UTC (permalink / raw)
  To: openembedded-devel

On 03/21/2008 10:46 AM, Holger Freyther wrote:
> On Friday 21 March 2008 15:32:23 Junqian Gordon Xu wrote:
>> Similar to the tzdata problem. kdepimpi recipe does not define a package
>> ${PN}, and bitbake doesn't like the fact that ${PN} is missing in
>> RPROVIDES.
> 
> Where is the issue? Why should there be a RPROVIDES=kdepimpi?

bitbake kdepimpi

ERROR: 
'['/home/gordon/oe/org.openembedded.dev/packages/kdepimpi/kdepimpi_2.2.7.bb']' 
RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'kdepimpi' 
but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'kdepimpi' is unbuildable, removing...

Regards
Gordon



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

* Re: RPROVIDES problem for kdepimpi
  2008-03-21 16:02   ` Junqian Gordon Xu
@ 2008-03-21 18:42     ` Richard Purdie
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2008-03-21 18:42 UTC (permalink / raw)
  To: openembedded-devel

On Fri, 2008-03-21 at 11:02 -0500, Junqian Gordon Xu wrote:
> On 03/21/2008 10:46 AM, Holger Freyther wrote:
> > On Friday 21 March 2008 15:32:23 Junqian Gordon Xu wrote:
> >> Similar to the tzdata problem. kdepimpi recipe does not define a package
> >> ${PN}, and bitbake doesn't like the fact that ${PN} is missing in
> >> RPROVIDES.
> > 
> > Where is the issue? Why should there be a RPROVIDES=kdepimpi?
> 
> bitbake kdepimpi
> 
> ERROR: 
> '['/home/gordon/oe/org.openembedded.dev/packages/kdepimpi/kdepimpi_2.2.7.bb']' 
> RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'kdepimpi' 
> but it wasn't found in any PACKAGE or RPROVIDES variables
> NOTE: Runtime target 'kdepimpi' is unbuildable, removing...

It comes from bitbake.conf:

RDEPENDS_${PN}-dev = "${PN} (= ${DEBPV})"
RRECOMMENDS_${PN}-dbg = "${PN} (= ${DEBPV})"

If ${PN} doesn't exist these entries upset bitbake.

The usual solution is to override these with something which makes sense
for the packages. The -dev abd -dbg package should always exist
otherwise the depchain magic for pulling in dev and dbg packages will
break.

Cheers,

Richard





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

end of thread, other threads:[~2008-03-21 18:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 14:32 RPROVIDES problem for kdepimpi Junqian Gordon Xu
2008-03-21 14:57 ` Koen Kooi
2008-03-21 15:46 ` Holger Freyther
2008-03-21 16:02   ` Junqian Gordon Xu
2008-03-21 18:42     ` Richard Purdie

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.