16.07.2014 14:33, J. Roeleveld пишет: > On 16 July 2014 11:19:20 CEST, Dale <rdalek1...@gmail.com> wrote: >> Dale wrote: >>> Helmut Jarausch wrote: >>>> On 07/16/2014 09:32:31 AM, Dale wrote: >>>>> I tried this. I unpacked the stage3 tarball just like I would for >> a new >>>>> install, in /mnt/gentoo of course. I set it up just enough to >> where I >>>>> could try and emerge glibc and just see if it would complete or if >> it >>>>> would fail. It failed. It seems to me that while it may be >> complaining >>>>> about the kernel version, something else is really the issue. I'm >> using >>>>> the latest kernel so it can't be that. I also installed >> linux-headers >>>>> and tried again, still failed. >>>> What kernel version are you using? >>>> On one machine I have strange effects with kernel 3.15.x (including >>>> 3.15.5) >>>> Portage hangs. Attaching gdb to it one can see that hangs in the >> glibc >>>> call >>>> __epoll_wait_nocancel >>>> called from pyepoll_poll from PyRun_FileExFlags >>>> >>>> Just stepping back to 3.14.12 solves the problem. >>>> (I do have linux-headers-3.15 installed here) >>>> >>>> Helmut >>>> >>>> >>>> >>> 3.15.5-gentoo >>> >>> I got a different tarball, going to test that. If it fails, may step >>> back a kernel version and see if that helps. It's faster than >>> re-installing from scratch again. ;-) >>> >>> Dale >>> >>> :-) :-) >>> >> UPDATE: I downloaded a different stage3 tarball and I think I see >> progress. It has a couple errors that I had to fix, had to run >> gcc-config for one, but it looks like glibc is running longer than >> before. It seems to be compiling now. So, it seems that other tarball >> has some issues and needs a hammer. >> >> Now to figure out if I want to try and use the binary from this new >> tarball on the current install OR just install Gentoo again from >> scratch. >> >> Dale >> >> :-) :-) > I would start from scratch. Who knows what else is broken? > > -- > Joost When I reinstalled gcc and glibc, migrating from non-multilib amd64 arch to multilib one, I just unpacked gentoo stage3 into temporary directory, chrooted there, made binary packages out of installed ones (quickpkg <name>), copied resulted binary packages and their metadata to host system (i.e. moved $chroot/usr/portage/packages into /usr/portage/packages) and installed those binary packages replacing current ones. It's fast (you don't have to build packages from scratch), and it didn't fail me even once, although I heard playing with glibc such way may be dangerous (particularly, downgrading it). I guess it works for other purposes too.
I don't like installing from scratch if there is a way to fix it. I don't like that approach 'unpack stage on top of your system', because it will lead to system pollution: a lot of files might be no longer tracked by package manager after that. But that's just my experience and opinion. I hope it can help you.