Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128247 - pax-utils-0.1.11 hangs in prepallstrip
Summary: pax-utils-0.1.11 hangs in prepallstrip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 06:26 UTC by Matteo Azzali (RETIRED)
Modified: 2006-04-11 21:00 UTC (History)
1 user (show)

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 Matteo Azzali (RETIRED) gentoo-dev 2006-03-31 06:26:47 UTC
The previous versions of portage were working fine here, in nonstandard shells
(the same one used by portage frontends, as kuroo), but with this new release
2.1_pre7-r3 it seems that emerge stops at the line man: , >>AUTOCLEAN never shows
in emerge.log and cpu use stay to 0% for hours.

The oprion used are "emerge --nospinner --nocolor packagetoemerge".... anyone has 
clues on what happened? Something has changed in autoclean or related tool that 
need some standard shell enviroment variable?
Comment 1 Matteo Azzali (RETIRED) gentoo-dev 2006-03-31 06:40:53 UTC
To be more clear, what doesn't starts seems to be :

strip: i686-pc-linux-gnu-strip --strip-unneeded
   /usr/....
   /usr/....

the output stops at the "man:" line.
Comment 2 Matteo Azzali (RETIRED) gentoo-dev 2006-03-31 07:56:45 UTC
"Shell" used is KProcIO :
http://developer.kde.org/documentation/library/3.5-api/kdelibs-apidocs/kdecore/html/classKProcIO.html

rollback to portage-2.1_pre3-r1 gaved me a line more in the output (than "man:"):
"man:
prepallstrip:"

my current system has expat-2.0.0, if this can give more clues.
Comment 3 Matteo Azzali (RETIRED) gentoo-dev 2006-03-31 08:42:01 UTC
Some more info: perpall and prepstrip seem to be running, howerver they use 0%
CPU and don't exit until I abort emerge.
Comment 4 Brian Jackson (RETIRED) gentoo-dev 2006-03-31 09:53:01 UTC
I think I'm seeing the same thing. The problem seems to be scanelf.

evolution ~ # strace -p `pidof scanelf`
Process 12588 attached - interrupt to quit
read(0,


It just sits there forever. I'm trying to get it so I can capture the whole strace of it, but don't have anything yet.
Comment 5 Matteo Azzali (RETIRED) gentoo-dev 2006-03-31 10:26:26 UTC
Yes, you're definitely right, I did an equery b /usr/bin/scanelf , it pointed 
pax-utils that I updated not too long ago, so I masked pax-utils-0.1.11 and 
downgraded to 0.1.10.
Guess what? It restarted to work fine!
Comment 6 Matteo Azzali (RETIRED) gentoo-dev 2006-04-01 03:20:01 UTC
What should we do now? Start a new report for pax-utils-0.1.11 titled
"is so restrictive that portage frontends can't be run anymore"?
Or you found this scanelf issue for some other software?
Comment 7 Matteo Azzali (RETIRED) gentoo-dev 2006-04-08 03:24:47 UTC
name changed to "pax-utils-0.1.11 blocks portage frontends from launching prepallstrip during emerge" to reflect what has been discovered in this report.
Comment 8 SpanKY gentoo-dev 2006-04-08 11:33:17 UTC
no one here bothered with `emerge info`
Comment 9 solar (RETIRED) gentoo-dev 2006-04-08 11:43:50 UTC
new stdin -f handling?
Comment 10 solar (RETIRED) gentoo-dev 2006-04-08 11:50:08 UTC
I would suspect Line 1242
http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/scanelf.c?r1=1.131&r2=1.132
Comment 11 SpanKY gentoo-dev 2006-04-10 19:48:14 UTC
yeah that last hunk needed a little tweaking

fixed in cvs, just need a new release now
Comment 12 SpanKY gentoo-dev 2006-04-11 21:00:29 UTC
fixed with 0.1.11-r1