Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 433958

Summary: sys-apps/portage: emerge ignores CTRL+C when running jobs in parallel
Product: Portage Development Reporter: Sebastian Luther (few) <SebastianLuther>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Luther (few) 2012-09-04 19:44:23 UTC
When merging several large packages in parallel, it's sometimes not possible to interrupt emerge with CTRL+C.

The output looks like this:
>>> Emerging binary (45 of 192) sys-devel/gcc-4.6.3
>>> Emerging binary (46 of 192) dev-util/pkgconfig-0.27
>>> Emerging binary (47 of 192) net-misc/curl-7.26.0
>>> Jobs: 44 of 192 complete, 3 running             Load avg: 1.22, 1.68, 1.52^C

Exiting on signal 2
>>> Failed to emerge sys-devel/gcc-4.6.3, Log file:
>>>  '/var/log/portage/sys-devel:gcc-4.6.3:20120904-193104.log'
>>> Jobs: 44 of 192 complete, 2 running, 1 failed   Load avg: 1.22, 1.68, 1.52^C^C^C^C^C^C

gcc failed because I pressed CTRL+C, but the others continue and are not interruptible. The log file it mentions does not exist.

# emerge --version
Portage 2.2.0_alpha124_p5 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.15-r2, 3.3.8-gentoo x86_64)
Comment 1 Zac Medico gentoo-dev 2012-09-04 20:17:53 UTC

*** This bug has been marked as a duplicate of bug 425554 ***