Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge fetch grabs wrong file!?
Date: Thu, 07 May 2009 17:09:52
Message-Id: 58965d8a0905071008u13281ce8kb977cbe8ea5e30f8@mail.gmail.com
In Reply to: [gentoo-user] emerge fetch grabs wrong file!? by maxim wexler
1 On Thu, May 7, 2009 at 11:59 AM, maxim wexler <blissfix@×××××.com> wrote:
2 >
3 > Hi group,
4 >
5 > Will somebody please explain this:
6 >
7 > kyzyl heathen # emerge -afv klibc
8 > These are the packages that would be fetched, in order:
9 > Calculating dependencies... done!
10 > [ebuild N ] dev-libs/klibc-1.5.12-r1 USE="-debug (-n32)" 48,765 kB
11 > Total: 1 package (1 new), Size of downloads: 48,765 kB
12 > Would you like to fetch the source files for these packages? [Yes/No] yes
13 >
14 >>>> Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
15 >>>> Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
16 > --10:47:13-- http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
17 > => `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
18 > ...
19 >
20 > Whatever portage is fetching is turning into something I didn't order. I checked in distfiles and sure enough, there's no klibc* but a growing linux-2.6.26.tar.bz2. Weird.
21
22 Nothing is wrong. That file is required for klibc. From the ebuild notes:
23
24 NOTES:
25 ======
26 We need to bring in the kernel sources seperately
27 Because they have to be configured in a way that differs from the copy in
28 /usr/src/. The sys-kernel/linux-headers are too stripped down to use
29 unfortunetly.
30 This will be able to go away once the klibc author updates his code
31 to build again the headers provided by the kernel's 'headers_install' target.