Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Portage and SIGHUP
Date: Thu, 23 Apr 2009 17:52:10
Message-Id: 49F0AAD9.4060400@gentoo.org
In Reply to: [gentoo-portage-dev] Portage and SIGHUP by Fabian Groffen
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Fabian Groffen wrote:
5 > I recently noticed this:
6 >
7 > (pegasus:portage/dev-libs/poppler) fabian% emerge --resume
8 > Calculating dependencies... done!
9 > *** Resuming merge...
10 >
11 >>>> Verifying ebuild manifests
12 >
13 >>>> Starting parallel fetch
14 >
15 >>>> Emerging (1 of 9) dev-libs/libgpg-error-1.7
16 > * libgpg-error-1.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
17 > * checking ebuild checksums ;-) ... [ ok ]
18 > * checking auxfile checksums ;-) ... [ ok ]
19 > * checking miscfile checksums ;-) ... [ ok ]
20 >>>> Unpacking source...
21 >>>> Unpacking libgpg-error-1.7.tar.bz2 to /net/pegasus.ins.cwi.nl/export/scratch/stripe/fabian/gentoo/prefix64/var/tmp/portage/dev-libs/libgpg-error-1.7/work
22 > * Running eautoreconf in '/net/pegasus.ins.cwi.nl/export/scratch/stripe/fabian/gentoo/prefix64/var/tmp/portage/dev-libs/libgpg-error-1.7/work/libgpg-error-1.7' ...
23 > * Running aclocal -I m4 -I /net/pegasus.ins.cwi.nl/export/scratch/stripe/fabian/gentoo/prefix64/usr/share/aclocal ...
24 > Hangup
25 > (pegasus:portage/dev-libs/poppler) fabian%
26 >
27 > e.g. Portage terminating immediately on a SIGHUP. If I sent SIGHUP myself to
28 > Portage from another shell it immediately stops as well.
29 >
30 > Can some one Linux try to reproduce this? I tested it by doing emerge -av portage and from another terminal SIGHUP that emerge.
31
32 Well, what else would you expect from SIGHUP? It's supposed to mean
33 that the terminal has been lost, right? That's what it says here:
34
35 http://en.wikipedia.org/wiki/SIGHUP
36
37 If you want a program to continue running after the terminal is
38 lost, then you're supposed to do something like use nohup or run it
39 inside of a screen session.
40 - --
41 Thanks,
42 Zac
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v2.0.11 (GNU/Linux)
45
46 iEYEARECAAYFAknwqtcACgkQ/ejvha5XGaN4OACeIluDFQ9wGAzYHKPp0OUL6y+K
47 BZcAnjtzQPlN3u+o8hOoaFrqY4jfNdPO
48 =w5IF
49 -----END PGP SIGNATURE-----

Replies

Subject Author
[gentoo-portage-dev] files in ${FILESDIR} Toha <tonich@××××××.ru>