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
btw, the pkg it would normally pull is linux-headers
Is this really a problem? It tells you what to do to remedy the issue.
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.
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
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 :(
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?
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.