Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] portage
Date: Thu, 15 Oct 2009 09:09:00
Message-Id: 20091015090956.GE17465@gentoo.org
In Reply to: Re: [gentoo-alt] portage by Michael Haubenwallner
1 On 15-10-2009 10:56:26 +0200, Michael Haubenwallner wrote:
2 >
3 > Fabian Groffen wrote:
4 > > On 14-10-2009 17:43:32 +0200, Heiko Przybyl wrote:
5 > >> iirc according to truss it hangs in portage.__init__._test_pty_eof()
6 > >> when writing 'test_string = 2 * "blah blah blah\n"' to the terminal.
7 > >> If you make that method just return True the delay vanishes. Portage
8 > >> still seems to work then.
9 > >
10 > > I guess this means openpty is also not working like expected on FreeBSD.
11 >
12 > What exactly does this command show on your platform:
13 > $ python -c 'import platform; print platform.system()'
14 >
15 > This would be the item to add here:
16 > http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/sys-apps/portage/files/portage-2.2.00.14487-brokentty-more-platforms.patch
17
18 Me and zmedico actually already changed that to read something like 'if
19 not in ["FreeBSD", "Linux"]:', last night zmedico also committed
20 something not to perform the pty_eof check on FreeBSD, as it seems to
21 work for Gentoo/FreeBSD people.
22
23 You can try to resolve the problem by removing the "FreeBSD" from the
24 list in $EPREFIX/var/lib/portage/pym/portage/__init__.py:3882, same
25 place haubi's patch added AIX in the older Portage
26
27
28 --
29 Fabian Groffen
30 Gentoo on a different level