Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504568 - sys-apps/portage: hitting CTRL+Z while fetching at the wrong time can wrongly crash
Summary: sys-apps/portage: hitting CTRL+Z while fetching at the wrong time can wrongly...
Status: RESOLVED DUPLICATE of bug 525552
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-14 08:37 UTC by SpanKY
Modified: 2015-04-22 01:31 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 SpanKY gentoo-dev 2014-03-14 08:37:12 UTC
i started an emerge, then while it was fetching, hit CTRL+Z.  then when i typed `fg`, portage hit a traceback when it shouldn't have.


root@polyp 0:0 ~ # emerge man-pages portage -1uav
Calculating dependencies... done!
[ebuild     U  ] sys-apps/man-pages-3.57 [3.56] USE="nls" LINGUAS="-da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 1,168 kB
Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/man-pages-3.57
>>> Downloading 'http://distfiles.gentoo.org/distfiles/man-pages-3.57.tar.xz'
--2014-03-14 04:31:10--  http://distfiles.gentoo.org/distfiles/man-pages-3.57.tar.xz
Resolving distfiles.gentoo.org... 64.50.233.100, 64.50.236.52, 140.211.166.134, ...
Connecting to distfiles.gentoo.org|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1195700 (1.1M) [application/x-tar]
Saving to: ‘/usr/portage/distfiles/man-pages-3.57.tar.xz’

27% [=========>                             ] 329,852     61.3KB/s  eta 13s    ^Z
[1]+  Stopped                 emerge man-pages portage -1uav
root@polyp 1:148 ~ # fg
emerge man-pages portage -1uav
28% [==========>                            ] 342,388     50.7KB/s  eta 13s    Traceback (most recent call last):
  File "/usr/lib/portage/pym/portage/util/_async/ForkProcess.py", line 45, in _spawn
    rval = self._run()
  File "/usr/lib/portage/pym/_emerge/EbuildFetcher.py", line 172, in _run
    allow_missing_digests=allow_missing):
  File "/usr/lib/portage/pym/portage/package/ebuild/fetch.py", line 993, in fetch
    myret = _spawn_fetch(mysettings, myfetch)
  File "/usr/lib/portage/pym/portage/package/ebuild/fetch.py", line 97, in _spawn_fetch
    rval = spawn_func(args, env=settings.environ(), **kwargs)
  File "/usr/lib/portage/pym/portage/process.py", line 362, in spawn
    retval = os.waitpid(pid, 0)[1]
  File "/usr/lib/portage/pym/portage/__init__.py", line 259, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
InterruptedError: [Errno 4] Interrupted system call
100%[======================================>] 1,195,700   52.7KB/s   in 24s

2014-03-14 04:31:35 (47.7 KB/s) - ‘/usr/portage/distfiles/man-pages-3.57.tar.xz’ saved [1195700/1195700]

 * Fetch failed for 'sys-apps/man-pages-3.57', Log file:

Portage 2.2.8-r1 (default/linux/arm/13.0/armv7a, gcc-4.7.3, glibc-2.17, 3.4.0-vapier armv7l)
Comment 1 Zac Medico gentoo-dev 2015-04-22 01:31:03 UTC

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