Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1974 - portage is unable to merge anything
Summary: portage is unable to merge anything
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-21 09:38 UTC by phoen][x
Modified: 2011-10-30 22:37 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 phoen][x 2002-04-21 09:38:13 UTC
okay the story goes like this:
i grabbed spiders gnome-2 ebuilds and installed them. everything was fine. 
later, i wanted to merge a few more packages of gnome2, and i issued an 
appropriate --fetchonly command on tty1 (cause it takes very long to 
download stuff with dialup). back in x11 i chatted with spider about some 
gnome-2 issues, and that was the point when stuff got strange:
my box froze - completely. no lan, no mouse, no keyboard - nothing worked. 
showed me a frozen X11 and that was pretty much it. after 1 minute of 
waiting, i resetted it and booted it back up.

i was angry about my lost uptime and issued the same emerge -f command 
again. i wondered, cause emerge froze after the first or second line of 
output. it said "Merging foo to /" (or something similar - you know what i 
mean) and showed a blinking cursor. funny. i checked `top` and it showed a 
sandbox process which used 99% of my cpu. after 2-3 minutes, i ctrl-c'ed 
out of the stalled emerge. i tried to `ebuild portage-1.9.1.ebuild merge` 
by hand, but it stalled after the compilation. 

so i grabbed a binary package of portage (1.9.1) and tar jxvf'ed it to /, 
overwriting all traces of my old portage. the same thing happened again - 
it simply stalled.

after that i tried `emerge --clean rsync` but that didnt help either. stuff 
like `emerge -s` still works - but i'm unable to merge anything new (and 
thats why i dont try to unmerge stuff, heh)

i rebooted a few minutes ago, and now `emerge --debug portage` gives me 
this output:
root@gravity etc # emerge --debug portage
Calculating dependencies ...done!
>>> emerge sys-apps/portage-1.9.1 to /
!!! emerge aborting on  /usr/portage/sys-apps/portage/portage-1.9.1.ebuild .
root@gravity etc #

lol, why does it abort? it's nice that sandbox doesnt stall anymore, but 
whats wrong now? ~sigh~ i dont want to reinstall. :(

-phoen][x-
Comment 1 phoen][x 2002-04-21 09:46:48 UTC
btw, "ebuild portage-1.9.1.ebuild merge" says:
root@gravity portage # ebuild portage-1.9.1.ebuild merge
root@gravity portage # 

unpack/install/compile dont work either.

-phoen][x-

Comment 2 phoen][x 2002-04-21 13:55:29 UTC
okay i edited conf files for hours now, and it seems that i stumbled about 
something which helps me:
i had an rc6 make.globals.backup in my /etc (backups are nifty). i was so 
desparate that i copied it to /etc/make.globals (with backing the 1.0 
version up before, of course)

portage worked with this file, so i diffed it and merged it by hand (line 
by line). this line makes my portage act so weird:
# Default user options
FEATURES="sandbox"

if i comment FEATURES="sandbox", it works like a charm. good for me - but i 
never ever edited this file by hand before. and there was no portage update 
lately, so this line has to be in there for like a few weeks (wild guess) - 
why did it work before, and what can i do to make portage work with this 
line again? 

btw, what is this line good for anyways? does it completely disable 
sandboxing? cant think of that..

-phoen][x-
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-04-21 23:22:06 UTC
IF you remove your /etc/ld.so.preload file before starting portage it should fix it.
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-04-22 00:30:59 UTC
This will be fixed in Portage 1.9.2
Comment 5 phoen][x 2002-04-22 10:57:50 UTC
reopened this bug cause of this:

removing the /etc/ld.so.preload and uncommenting the FEATURES="sandbox" 
line in /etc/make.globals make emerge stall again. (with the mysterious 99% 
sandbox process). however, if i rm /etc/ld.so.preload and do not uncomment 
the FEATURES-line, emerge will work. There seems to be something really 
wrong..

-phoen][x-
(or am i supposed to not uncomment FEATURES?)
Comment 6 phoen][x 2002-04-22 12:55:42 UTC
i updated to portage 1.9.2 a minute ago, but this didnt help too.
i'll try your reboot trick later, but i fear that it wont help me.

-phoen][x-
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 09:13:40 UTC
phoen][x reports this as a non-issue now anyway