Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11280 - linux-header problem in portage 2.0.44 for export with ROOT
Summary: linux-header problem in portage 2.0.44 for export with ROOT
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-26 22:15 UTC by Mark Guertin
Modified: 2011-10-30 22:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Guertin 2002-11-26 22:15:34 UTC
Trying to start a new set of stages I ran into this one, it looks self explanatory:

>>> /tmp/stage1build/tmp doesn't exist, creating it...
>>> /tmp/stage1build/var/tmp doesn't exist, creating it...
>>> /tmp/stage1build/var/cache/edb doesn't exist, creating it...
>>> /tmp/stage1build/var/cache/edb/dep doesn't exist, creating it...
Calculating dependencies \
!!! Error extracting kernel version:
!!! You must either install kernel sources or kernel headers.
!!! Portage will not merge anything until one of those is merged.
!!! [Errno 2] No such file or directory:
'/tmp/stage1build/usr/src/linux/include/linux/version.h'
!!! [Errno 2] No such file or directory:
'/tmp/stage1build/usr/include/linux/version.h'


!!! Problem in >=sys-apps/baselayout-1.7.9-r1 dependancies.
!!! 1

That was all the output I got from it, it's a blocker to build stages, so if it
can be looked at soon would be great :)

If you need any more info lemme know
Comment 1 Mark Guertin 2002-11-26 22:16:58 UTC
btw, the pkg it would normally pull is linux-headers
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-11-27 06:23:26 UTC
Is this really a problem? It tells you what to do to remedy the issue.
Comment 3 Mark Guertin 2002-11-27 09:22:54 UTC
There is nothing in the new ROOT at this point, and it breaks stage1 building
because of it.  It is a portage problem, unless we are to rewrite the way we
make stage1 tarballs...the very first dep that should get filled there is
linux-headers.  So unless we manually do the initial creation of the new ROOT
and manually put linux-headers into it, or somehow modify all the stage1
building to try and install inux-headers before anything else (will this even
work?) I'm not sure.
Comment 4 Mark Guertin 2002-11-27 10:00:53 UTC
ok, I've done some modifications and going to try it this way, I'll let you know
how it goes, hopefully by end of day today
Comment 5 Mark Guertin 2002-11-27 14:07:47 UTC
no, still no luck as of yet, it's very unhappy building a stage1 setup.  I'm
trying more thing, but I think this is going to be problematic :(
Comment 6 Mark Guertin 2002-11-28 09:45:32 UTC
Well I did manage to get it to work, but I had to change the way the stage1 was
made... not sure I'm happy with this workaround, but if it's needed then so be it.

It required parsing out and calling the linux-headers ebuild first, as a
seperate emerge call (as the way it is now it won't parse any deps at all until
there is a linux-headers installed in the new ROOT).  The old way it would parse
all the deps and linux-headers would be the first thing installed.

Thoughts carpaski?
Comment 7 Mark Guertin 2002-12-02 09:38:50 UTC
Well no thoughts apparently

We have to change the way a stage1 is built in that case, which I have done in
my scripts.  I'll mark this closed I guess.