List Archive: gentoo-alt
On 15-10-2009 10:56:26 +0200, Michael Haubenwallner wrote:
>
> Fabian Groffen wrote:
> > On 14-10-2009 17:43:32 +0200, Heiko Przybyl wrote:
> >> iirc according to truss it hangs in portage.__init__._test_pty_eof()
> >> when writing 'test_string = 2 * "blah blah blah\n"' to the terminal.
> >> If you make that method just return True the delay vanishes. Portage
> >> still seems to work then.
> >
> > I guess this means openpty is also not working like expected on FreeBSD.
>
> What exactly does this command show on your platform:
> $ python -c 'import platform; print platform.system()'
>
> This would be the item to add here:
> http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/sys-apps/portage/files/portage-2.2.00.14487-brokentty-more-platforms.patch
Me and zmedico actually already changed that to read something like 'if
not in ["FreeBSD", "Linux"]:', last night zmedico also committed
something not to perform the pty_eof check on FreeBSD, as it seems to
work for Gentoo/FreeBSD people.
You can try to resolve the problem by removing the "FreeBSD" from the
list in $EPREFIX/var/lib/portage/pym/portage/__init__.py:3882, same
place haubi's patch added AIX in the older Portage
--
Fabian Groffen
Gentoo on a different level
|
|