From: Mark Hatle <mark.hatle@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: rpm dependency errors
Date: Wed, 16 Nov 2011 12:37:39 -0600 [thread overview]
Message-ID: <4EC402F3.9080201@windriver.com> (raw)
In-Reply-To: <1321412775.23774.26.camel@phenom.localdomain>
On 11/15/11 9:06 PM, Michael E Brown wrote:
> On Mon, 2011-11-14 at 22:16 -0600, Michael E Brown wrote:
>> I've now run across this same error in two different contexts, and am
>> having difficulty trying to figure out what is going on
>>
>> First, while building meta-toolchain-sdk, I ran into
>> http://pastebin.com/BT02UYk1
>> ... cut ...
>> Processing task-core-standalone-gmae-sdk-target-dbg...
>> | error: Failed dependencies:
>> | libgthread-2.0.so.0 is needed by libgupnp-1.0-3-0.16.1-r0.sh4
>> | libresolv.so.2 is needed by libgupnp-1.0-3-0.16.1-r0.sh4
>>
>> I've confirmed that the libgupnp rpm has only SH4 binaries in it.
>>
>> Next, while building a custom image, I ran across the same error with
>> portmap and tcp-wrappers:
>>
>> http://pastebin.com/dRb5Dum8
>>
>> Note in the pastebin I extracted tcp-wrappers and 'file' says that
>> everything is SH4.
>
> As a bit more information, I found that when I changed to "package_ipk"
> vs rpm in my local.conf, I was able to do image build and sdk builds
> without incident. So this problem looks like something specific to rpm
> package builds. Is there any solution to this other than just not using
> rpm?
RPM packages contain more dependency information then ipk and deb packages.
This is not a bug, but a feature. When using RPM packages not only are
specified dependencies there, but also soname and file level dependencies.
There is an outstanding item to add these soname and file level dependencies to
the OE/Yocto deb and ipk implementations as well.
Trust me, if the dependency is failing, then there is something wrong with the
packages or the binaries within the packages (or they're not compatible with the
elfutils mechanisms used to dump that information.)
You really do need to understand the actual files present in the packages, and
if they have the corresponding sonames that the dependent packages are looking for.
If you post your layer somewhere, I can attempt to reproduce the problem.
--Mark
> --
> Michael
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
next prev parent reply other threads:[~2011-11-16 18:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DB6E482E89290547898851B8CC9D81108F6183B1@AUSX7MCPS302.AMER.DELL.COM>
2011-11-16 3:06 ` rpm dependency errors Michael E Brown
2011-11-16 18:37 ` Mark Hatle [this message]
2011-11-15 4:16 Michael E Brown
2011-11-15 17:21 ` Mark Hatle
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=4EC402F3.9080201@windriver.com \
--to=mark.hatle@windriver.com \
--cc=yocto@yoctoproject.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.