Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354701 - sys-libs/uclibc invalid metadata
Summary: sys-libs/uclibc invalid metadata
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 4 votes (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 358241 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-13 09:03 UTC by Tiziano Müller (RETIRED)
Modified: 2014-05-04 15:36 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix bad SLOT value when metadata/cache is generated (fix-uclibc.patch,3.68 KB, patch)
2011-08-22 20:02 UTC, Ian Stakenvicius (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2011-02-13 09:03:44 UTC
cave-search> /usr/bin/cave@1297587220: [WARNING e.cache.failure] Not using cache file at '/var/repositories/portage/metadata/cache/sys-libs/uclibc-0.9.30.1-r1' due to exception 'Name '-pc-linux-uclibc' is not a valid slot name' (paludis::SlotNameError)
cave-search> /usr/bin/cave@1297587220: [QA e.ebuild.cache.no_usable] No usable cache entry for 'sys-libs/uclibc-0.9.30.1-r1::gentoo

... same thing as in bug #354069
Comment 1 Andrey Batyiev 2011-04-10 15:19:41 UTC
bug #358241 is related to this. uclibc in portage has broken metadata.
Comment 2 SpanKY gentoo-dev 2011-04-10 16:36:05 UTC
*** Bug 358241 has been marked as a duplicate of this bug. ***
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2011-08-22 20:02:27 UTC
Created attachment 284245 [details, diff]
fix bad SLOT value when metadata/cache is generated

Relating directly to bug 358241 , but probably fixing this bug as well , an interim fix which would allow anyone using uclibc/* profiles to properly emerge uclibc is to make the SLOT=$CTARGET conditional a little more strict.

The issue is that when the metadata/cache is generated, there is no CHOST.  However, the logic for managing crossdev compatibility, which sets the SLOT=$CTARGET , checks for $CTARGET != $CHOST.

The above patch strengthens the conditional to ensure SLOT is not set to $CTARGET if CHOST is empty/unset, for all uclibc ebuilds currently in the tree.
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2011-08-23 15:59:16 UTC
It might be worth noting that although this patch doesn't really "fix" the uclibc packaging, what it does do is fix the portage tree (which currently has broken metadata/cache files) and so IMO should still be applied for that reason.