From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Cannot satisfy the following dependencies for task-core-basic: libusb-compat (>= 0.1.3)
Date: Wed, 22 Feb 2012 17:47:08 +0000 [thread overview]
Message-ID: <1329932828.32110.6.camel@ted> (raw)
In-Reply-To: <CA+b4E8znKGcGq=3q+SXn6+N=A9o9Z=rkrVjT3Pf4v7CMBtipzg@mail.gmail.com>
On Wed, 2012-02-22 at 11:52 -0500, Brandon Stafford wrote:
> On Wed, Feb 22, 2012 at 7:12 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > The first question is did it build libusb-compat at all? Are there any
> > stamps for this in tmp/stamps/*/libusb-compat* or files in
> > tmp/work/*/libusb-compat* that would suggest that it did?
>
> Thanks for the suggestions, Richard. Answers below.
>
> Yes, some stamps exist, but fewer than I would expect. I don't see a
> do_compile step.
>
> :~/oe-core/build/tmp-eglibc/stamps$ find . -name libusb-compat*
> ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_package_write
> ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_populate_lic_setscene
> ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_package_setscene.qemuarm
> ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_package_write_ipk_setscene
> ./armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3.do_populate_sysroot_setscene.qemuarm
What this means is that it build libusb-compat from the sstate cache
rather than building it completely from scratch. The
do_package_write_ipk_setscene in particular means it should have
installed some .ipk files into tmp/deploy/ipk/.
> However, it does look like binaries were created. For example, here is
> a 13 kB ELF file:
> tmp-eglibc/work/armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3/packages-split/libusb-compat/lib/libusb-0.1.so.4.4.4
>
> :~/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3$
> ls -lh packages-split/libusb-compat/lib
> total 16K
> lrwxrwxrwx 1 rascal rascal 19 2012-02-14 09:03 libusb-0.1.so.4 ->
> libusb-0.1.so.4.4.4
> -rwxr-xr-x 1 rascal rascal 13K 2012-02-14 09:03 libusb-0.1.so.4.4.4
> :~/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libusb-compat-1_0.1.3-r3$
> file packages-split/libusb-compat/lib/libusb-0.1.so.4.4.4
> packages-split/libusb-compat/lib/libusb-0.1.so.4.4.4: ELF 32-bit LSB
> shared object, ARM, version 1 (SYSV), dynamically linked, stripped
>
> > Secondly, did it place any libusb-compat package into tmp/deploy/ipk/* ?
>
> It did not:
>
> :~/oe-core/build/tmp-eglibc/deploy/ipk$ find . -name libusb-compat*
>
> However, there are a bunch of libusb packages:
>
> :~/oe-core/build/tmp-eglibc/deploy/ipk$ find . -name libusb*
> ./armv5te/libusb-0.1-dbg_0.1.3-r3_armv5te.ipk
> ./armv5te/libusb-1.0-0_1.0.8-r3_armv5te.ipk
> ./armv5te/libusb-1.0-dbg_1.0.8-r3_armv5te.ipk
> ./armv5te/libusb-1.0-dev_1.0.8-r3_armv5te.ipk
> ./armv5te/libusb-1.0-staticdev_1.0.8-r3_armv5te.ipk
> ./armv5te/libusb-0.1-dev_0.1.3-r3_armv5te.ipk
> ./armv5te/libusb-0.1-4_0.1.3-r3_armv5te.ipk
> ./armv5te/libusb-0.1-staticdev_0.1.3-r3_armv5te.ipk
I think the library renaming code is renaming "libusb-compat" to a
package called "libusb-0.1" using the 'debian' renaming code. Your
packages are therefore present.
> If I understand how do_rootfs works from
> http://docs.openembedded.org/usermanual/usermanual.html#rootfs_ipkg_class,
> it seems like the ipk is not being built correctly, so do_rootfs can't
> pull it into the filesystem image.
>
> I'm not sure where to go from here. It looks like at least some code
> was compiled, but somehow it's not getting packaged right.
It appears for some reason the system wants a "libusb-compat" when it
should be looking for a "libusb-0.1". This would imply that somewhere,
the renaming failed, either in the dependencies of some package, or at
the rootfs creation point itself.
If you look at the tmp/deploy/ipk/*/Packages index file, you should see
the dependencies of each package listed. It would be interesting to see
if something is depending on "libusb-compat". If there is something I'd
be tempted to try running "bitbake xxx -c cleansstate" and rebuilding
that specific recipe.
If there is nothing listing libusb-compat in index, the problem is in
the rootfs step itself.
Cheers,
Richard
next prev parent reply other threads:[~2012-02-22 17:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 23:50 Cannot satisfy the following dependencies for task-core-basic: libusb-compat (>= 0.1.3) Brandon Stafford
2012-02-22 12:12 ` Richard Purdie
2012-02-22 16:52 ` Brandon Stafford
2012-02-22 17:47 ` Richard Purdie [this message]
2012-02-22 18:46 ` Brandon Stafford
2012-02-22 19:31 ` Richard Purdie
2012-02-22 19:45 ` Brandon Stafford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1329932828.32110.6.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.