From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PmBjf-0005Kx-Aq for garchives@archives.gentoo.org; Sun, 06 Feb 2011 21:01:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADEB6E0984; Sun, 6 Feb 2011 21:01:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 75B5DE0984 for ; Sun, 6 Feb 2011 21:01:22 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5D4C1B40D2 for ; Sun, 6 Feb 2011 21:01:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 535628006A for ; Sun, 6 Feb 2011 21:01:21 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: Subject: [gentoo-commits] proj/portage:prefix commit in: pym/portage/util/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/_pty.py X-VCS-Directories: pym/portage/util/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: efe4b99bd72d4ac9b13b5885c33cc3f8bd6059f9 Date: Sun, 6 Feb 2011 21:01:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 13426c2dadada2f8a279c187ad45d288 commit: efe4b99bd72d4ac9b13b5885c33cc3f8bd6059f9 Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 6 20:58:46 2011 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Feb 6 20:58:46 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Defe4b99b pty: disable the use of openpty on FreeMiNT As reported by Alan Hourihane, openpty seems not to work at all, making Portage non-usable, so disable it, like we do for Solaris. --- pym/portage/util/_pty.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pym/portage/util/_pty.py b/pym/portage/util/_pty.py index f45ff0a..db1c9ac 100644 --- a/pym/portage/util/_pty.py +++ b/pym/portage/util/_pty.py @@ -131,9 +131,12 @@ else: # Disable the use of openpty on Solaris as it seems Python's openpty # implementation doesn't play nice on Solaris with Portage's # behaviour causing hangs/deadlocks. + # Similarly, on FreeMiNT, reading just always fails, causing Portage + # to think the system is malfunctioning, and returning that as error + # message. # Additional note for the future: on Interix, pipes do NOT work, so # _disable_openpty on Interix must *never* be True - _disable_openpty =3D platform.system() in ("SunOS",) + _disable_openpty =3D platform.system() in ("SunOS", "FreeMiNT",) _tested_pty =3D False =20 if not _can_test_pty_eof():