Bug 4168 - eglibc dev not installable on target
Summary: eglibc dev not installable on target
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.4 M6
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard: Having difficulty reproducing the issue
Depends on:
Blocks:
 
Reported: 2013-04-02 02:22 UTC by Khem Raj
Modified: 2013-04-11 11:43 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khem Raj 2013-04-02 02:22:31 UTC
while trying to install the target SDK via smart it fails to install eglibc dev package since eglibc-extra-nss-dev is really missing


root@localhost:~# smart install libgcc-s-dev
Loading cache...
Updating cache...                           ########################################################### [100%]

Computing transaction...                                                                                       error: Can't install libgcc-s-dev-4.7.2-r19.2@ppc64e5500: all packages providing libc6-dev failed to install:
error: Can't install libc6-dev-2.17-r3.2@ppc64e5500: no package provides eglibc-extra-nss-dev
error: Can't install libc6-dev-2.17-r3.1@ppc64e5500: no package provides eglibc-extra-nss-dev
error: Can't install libc6-dev-2.17-r3.0@ppc64e5500: no package provides eglibc-extra-nss-dev
error: Can't install eglibc-dev-2.17-r3.2@lib32_ppce5500: no package provides eglibc-extra-nss-dev
error: Can't install eglibc-dev-2.17-r3.1@lib32_ppce5500: no package provides eglibc-extra-nss-dev
error: Can't install eglibc-dev-2.17-r3.0@lib32_ppce5500: no package provides eglibc-extra-nss-dev
Comment 1 Richard Purdie 2013-04-02 12:07:44 UTC
I'm not convinced creating this package is the correct way to solve this issue...
Comment 2 Khem Raj 2013-04-02 14:16:22 UTC
if we could find out why libc6-dev is creating this artificial dependency on
an empty package then yes that would be a better one and  i have a hunch that we may be having this
issue systemwide
Comment 3 Richard Purdie 2013-04-02 15:52:33 UTC
Is the dependency a DEPENDS or a RECOMMENDS?
Comment 4 Richard Purdie 2013-04-02 15:58:52 UTC
At least here, eglibc-extra-nss-dev is a RRECOMMENDS so the error shouldn't be fatal even if it is missing.
Comment 5 Richard Purdie 2013-04-02 16:04:11 UTC
I think this is an issue with smart not handling recommends on target properly, hopefully Paul can comment.
Comment 6 Paul Eggleton 2013-04-04 16:13:45 UTC
I can't reproduce this (with qemuarm, which is what I had around to test). Any suggestions? I'll examine the code in the meantime.
Comment 7 Paul Eggleton 2013-04-04 17:19:17 UTC
Looking at the Smart transaction code I suspect this is not a recommends case, because the "no package provides" error can only occur if the package is in the requires and not the recommends list. It's possible there is something misbehaving before this code that means the recommends list doesn't have the package in it, but I think I need to be able to reproduce the error first before I can figure out where the problem really lies.
Comment 8 Paul Eggleton 2013-04-08 08:15:16 UTC
Khem, can you help me to reproduce this?
Comment 9 Richard Purdie 2013-04-11 11:43:58 UTC
We can't reproduce this and everything we've tried to test checks out and works fine. Please reopen this if more details can be provided.