[gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread maxim wexler

Hi group,

Will somebody please explain this:

kyzyl heathen # emerge -afv klibc
These are the packages that would be fetched, in order:
Calculating dependencies... done!
[ebuild  N] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
Total: 1 package (1 new), Size of downloads: 48,765 kB
Would you like to fetch the source files for these packages? [Yes/No] yes

 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
--10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
   = `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
...

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.

Maxim


  __
Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers and share what you know at http://ca.answers.yahoo.com



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Boris Fersing
On Thu, May 7, 2009 at 18:59, maxim wexler bliss...@yahoo.com wrote:

 Hi group,

Hi,

 Will somebody please explain this:

 kyzyl heathen # emerge -afv klibc
 These are the packages that would be fetched, in order:
 Calculating dependencies... done!
 [ebuild  N    ] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
 Total: 1 package (1 new), Size of downloads: 48,765 kB
 Would you like to fetch the source files for these packages? [Yes/No] yes

 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
 --10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
           = `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
 ...

 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.

I checked the ebuild and it seems that klibc needs the kernel sources to build.

Nothing wrong with portage ;)

regards,

Boris.

 Maxim


      __
 Ask a question on any topic and get answers from real people. Go to Yahoo! 
 Answers and share what you know at http://ca.answers.yahoo.com





-- 
42



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Daniel Pielmeier
maxim wexler schrieb am 07.05.2009 18:59:
 Hi group,
 
 Will somebody please explain this:
 
 kyzyl heathen # emerge -afv klibc
 These are the packages that would be fetched, in order:
 Calculating dependencies... done!
 [ebuild  N] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
 Total: 1 package (1 new), Size of downloads: 48,765 kB
 Would you like to fetch the source files for these packages? [Yes/No] yes
 
 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
 --10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
= `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
 ...
 
 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.

Well you did not order it but the ebuild. klibc needs this version of
the linux kernel.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Dirk Heinrichs
Am Donnerstag, 7. Mai 2009 18:59:54 schrieb maxim wexler:

 Whatever portage is fetching is turning into something I didn't order.

Yes, you did. Just guess where the k in klibc comes from?

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Paul Hartman
On Thu, May 7, 2009 at 11:59 AM, maxim wexler bliss...@yahoo.com wrote:

 Hi group,

 Will somebody please explain this:

 kyzyl heathen # emerge -afv klibc
 These are the packages that would be fetched, in order:
 Calculating dependencies... done!
 [ebuild  N] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
 Total: 1 package (1 new), Size of downloads: 48,765 kB
 Would you like to fetch the source files for these packages? [Yes/No] yes

 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
 --10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
   = `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
 ...

 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.

Nothing is wrong. That file is required for klibc. From the ebuild notes:

 NOTES:
 ==
 We need to bring in the kernel sources seperately
 Because they have to be configured in a way that differs from the copy in
 /usr/src/. The sys-kernel/linux-headers are too stripped down to use
 unfortunetly.
 This will be able to go away once the klibc author updates his code
 to build again the headers provided by the kernel's 'headers_install' target.



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread maxim wexler


  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.
 
 Nothing is wrong. That file is required for klibc. From the
 ebuild notes:

Yes, I saw that too, but 

1) why doesn't it list it from the start? 
2) the 2.6.28 source is already in my box, and it wants the 26? 

Oh well, there goes my phone line for 5 more hrs sob!

mw





  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Alan McKinnon
On Thursday 07 May 2009 21:07:57 maxim wexler wrote:
   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.
 
  Nothing is wrong. That file is required for klibc. From the
  ebuild notes:

 Yes, I saw that too, but

 1) why doesn't it list it from the start?

Q: How many packages have you ever installed that have multiple SRC_URIs and 
portage has given you a list of them up front?

A: None. You need emerge -pvf for that

 2) the 2.6.28 source is already in my box, and it wants the 26?

Read the ebuild notes. It fetches 26 because the ebuild says it must fetch 26, 
not any old version you feel like.

Why 26 specifically? Well, headers can change between versions. Obviously, 
either a) the developer's code will only build against that particular version 
or b) the developer feels that's the safest version.

It's all right there in the notes - the very ones you chose the snip out of 
your reply..

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Paul Hartman
On Thu, May 7, 2009 at 2:07 PM, maxim wexler bliss...@yahoo.com wrote:


  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.

 Nothing is wrong. That file is required for klibc. From the
 ebuild notes:

 Yes, I saw that too, but

 1) why doesn't it list it from the start?
 2) the 2.6.28 source is already in my box, and it wants the 26?

 Oh well, there goes my phone line for 5 more hrs sob!

 mw

It did include it in the total size estimate it gave in the first
output (48,765 kB). Your confusion may be from this: it is not
emerging a kernel package, it is simply downloading the kernel sources
as part of the klibc package.