Skip to contentSkip to conversation

RPROVIDES problem for kdepimpi

DISCUSSION Junqian Gordon Xu 4 participants 5 messages Mar 21, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

-----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-----

#2 lore raw
In reply to Junqian Gordon Xu
Quoted 3 lines · 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.

#3 lore raw
Quoted 6 lines · Holger Freyther
Quoted 3 lines · 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

#4 lore raw
Quoted 8 lines · Junqian Gordon Xu
Quoted 6 lines · Holger Freyther
Quoted 3 lines · 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?

Quoted 7 lines

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