Skip to contentSkip to conversation

dbus seems to be given debian naming convention, breaking another recipe

DISCUSSION Robert P. J. Day 3 participants 4 messages Feb 20, 2017

lore
Share & tools
lore
#0 lore raw

moving on, i whipped together a recipe for libnet-dbus-perl, tried
to build, and:

...
DBus >= 1.3.0 is required
...

which is weird since oe-core contains the recipe:

meta/recipes-core/dbus/dbus_1.10.14.bb

but when i examined the deployed rpms:

-rw-r--r--. 3 rpjday rpjday 163963 Feb 20 06:04 dbus-1-1.10.14-r0.ppc7400.rpm -rw-r--r--. 3 rpjday rpjday 1393445 Feb 20 06:04 dbus-dbg-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 36372 Feb 20 06:04 dbus-dev-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 92124 Feb 20 06:04 dbus-doc-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 2960 Feb 20 06:04 dbus-ptest-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 135131 Feb 20 06:04 libdbus-1-3-1.10.14-r0.ppc7400.rpm

uh, what's with the "dbus-1-1.10.14-r0.ppc7400.rpm"?

                           ^^^^

oh, wait, here's a line from the dbus recipe:

  DEBIANNAME_${PN} = "dbus-1"

it would seem that that is getting in the way, or am i doing something silly?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 26 lines · Robert P. J. Day

moving on, i whipped together a recipe for libnet-dbus-perl, tried
to build, and:

...
DBus >= 1.3.0 is required
...

which is weird since oe-core contains the recipe:

meta/recipes-core/dbus/dbus_1.10.14.bb

but when i examined the deployed rpms:

-rw-r--r--. 3 rpjday rpjday 163963 Feb 20 06:04 dbus-1-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 1393445 Feb 20 06:04 dbus-dbg-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 36372 Feb 20 06:04
dbus-dev-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 92124 Feb 20 06:04
dbus-doc-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 2960 Feb 20 06:04
dbus-ptest-1.10.14-r0.ppc7400.rpm
-rw-r--r--. 3 rpjday rpjday 135131 Feb 20 06:04 libdbus-1-3-1.10.14-r0. ppc7400.rpm

Quoted 9 lines

uh, what's with the "dbus-1-1.10.14-r0.ppc7400.rpm"?

                           ^^^^

oh, wait, here's a line from the dbus recipe:

  DEBIANNAME_${PN} = "dbus-1"

it would seem that that is getting in the way, or am i doing something silly?

debian.bbclass handles this, but package naming is irrelevent. Your buildsystem isn’t running out and trying to find a binary rpm, at least I’d certainly hope not.

Signature · 4 lines
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 32 lines · Christopher Larson

On Mon, Feb 20, 2017 at 7:40 AM, Robert P. J. Day <[email protected]> wrote:

        moving on, i whipped together a recipe for libnet-dbus-perl, tried
      to build, and:

        ...
        DBus >= 1.3.0 is required
        ...

      which is weird since oe-core contains the recipe:

        meta/recipes-core/dbus/dbus_1.10.14.bb

      but when i examined the deployed rpms:

      -rw-r--r--. 3 rpjday rpjday  163963 Feb 20 06:04 dbus-1-1.10.14-r0.ppc7400.rpm
      -rw-r--r--. 3 rpjday rpjday 1393445 Feb 20 06:04 dbus-dbg-1.10.14-r0.ppc7400.rpm
      -rw-r--r--. 3 rpjday rpjday   36372 Feb 20 06:04 dbus-dev-1.10.14-r0.ppc7400.rpm
      -rw-r--r--. 3 rpjday rpjday   92124 Feb 20 06:04 dbus-doc-1.10.14-r0.ppc7400.rpm
      -rw-r--r--. 3 rpjday rpjday    2960 Feb 20 06:04 dbus-ptest-1.10.14-r0.ppc7400.rpm
      -rw-r--r--. 3 rpjday rpjday  135131 Feb 20 06:04 libdbus-1-3-1.10.14-r0.ppc7400.rpm

        uh, what's with the "dbus-1-1.10.14-r0.ppc7400.rpm"?
                                 ^^^^
      oh, wait, here's a line from the dbus recipe:

        DEBIANNAME_${PN} = "dbus-1"

      it would seem that that is getting in the way, or am i doing something
      silly?
Quoted 3 lines

debian.bbclass handles this, but package naming is irrelevent. Your buildsystem isn’t running out and trying to find a binary rpm, at least I’d certainly hope not.

i'm still confused, then ... what is libnet-dbus-perl complaining
about?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#3 lore raw
Quoted 3 lines · Robert P. J. Day

i'm still confused, then ... what is libnet-dbus-perl complaining
about?

You'll have to look at what libnet-dbus-perl is doing. Maybe the logic is broken and it thinks 1.10 < 1.3 (ascii compare would do that). Maybe you forgot a dbus DEPENDS.

Ross