Summary: | app-text/po4a-0.32-r1 hangs at 100% CPU if output of emerge is redirected | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Schoelver <tengri_lethos> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fatty, ionic, kentnl, sping |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 369011 | ||
Bug Blocks: | 275268 | ||
Attachments: |
build.log
fix-io-capture-0.36.patch Modified ebuild |
Description
Andreas Schoelver
2009-05-13 05:37:37 UTC
Created attachment 191127 [details]
build.log
Confirmed on amd64. Works without redirection, hangs with redirection.
It's the perl process that hangs, not emerge. for me it hangs at X Translate binary manpages to pl without redirection. not sure if this problem is related. x86 here. (In reply to comment #3) > for me it hangs at > > X Translate binary manpages to pl > > without redirection. not sure if this problem is related. x86 here. > Hi, assuming you are using paludis, this is the same problem, yeah. :) Best regards, Mihai No solution yet? I have the same problem with paludis and x86 and wonder how I can install dpkg now... Are there any know workarounds? I guess we're hitting lack-of-time atm mainly, me included. Stephan, do you have time to help out with further research? Created attachment 203139 [details, diff]
fix-io-capture-0.36.patch
After applying the attached patch by extending PATCHES to read
PATCHES=(
"${FILESDIR}/0.36-3-debian.patches"
"${FILESDIR}/fix-io-capture-${PV}.patch"
)
It ceases to fail on me during build, and instead progresses nicely and passes the test suite.
Why exactly It fails however, is still a bewilderment.
Created attachment 203140 [details]
Modified ebuild
( nb. tests performed on perl5.10.1 , you're experience may differ, but I don't think anything reasonable in perl changes since 5.8.8 would translate from 12 hours to : app-text/po4a: Sat Sep 5 07:15:36 2009: 1 minute, 11 seconds ) Also to note, an alternative of system(@list) does *NOT* work either. open(-|) appears to be the only thing that works. 0.36.4 with the patch is in the tree. I am closing this bug and leave the tracker bug open until we find the real cause Hi, is there a way to create a patch for 0.32? (The workaround for me as a paludis-user was to temporarily switch back to emerge) The 0.36.4 depends (indirectly) on perl5.10.1, which is not even in the tree, and I really don't need another overlay :) Thanks |