Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156032 - junit-3.8.1-r3 emerge pauses if backgrounded
Summary: junit-3.8.1-r3 emerge pauses if backgrounded
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 07:06 UTC by Josh Sled
Modified: 2015-07-11 20:59 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 Josh Sled 2006-11-23 07:06:00 UTC
I usually run emerge --update --deep world in the background; updating to junit-3.8.1-r3 paused at the following point.  Foregrounding the process resumed the copying (as evidenced); I was able to re-background the emerge after the "copying" phase completed

[...]
  [javadoc] Generating /dev/shm/portage/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/javadoc/help-doc.html...
  [javadoc] 2 warnings
     [copy] Copying 20 files to /dev/shm/portage/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/doc
     [copy] Copying 1 file to /dev/shm/portage/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1
     [copy] Copying 1 file to /dev/shm/portage/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1
[1]+  Stopped                 emerge --resume --skipfirst >>/tmp/2006-11-23-world.out 2>&1 && echo -ne "*** emerge done"

     [java] .........................................
     [java] .........................................
     [java] .....................................
     [java] Time: 39.258

     [java] OK (119 tests)


BUILD SUCCESSFUL
Total time: 5 minutes 29 seconds
>>> Source compiled.
>>> Test phase [not enabled]: dev-java/junit-3.8.1-r3

>>> Install junit-3.8.1-r3 into /dev/shm/portage/junit-3.8.1-r3/image/ category dev-java
[...]
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-01-14 21:13:07 UTC
Yeah I was able to reproduce with 3.8.2 too.
Comment 2 Larry D. Pyeatt 2010-09-09 05:32:16 UTC

junit-3.8.2-r1 also hangs when installing in background. 
Bringing it to the foreground allows it to continue.
Comment 3 Patrice Clement gentoo-dev 2015-07-11 20:59:37 UTC
What do you put emerge in background for? Why do you not run it in a separate shell like 99% of common users? I mean:

Why?

Nonsensical behaviour with Portage will result in unpredictable outcomes. This is not a bug, this is not even a feature of Portage. Just open a terminal, login as root, emerge junit and leave it finish. 

Closing this bug.