From owner-freebsd-ports@FreeBSD.ORG Mon Feb 26 21:19:07 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93F1616A417; Mon, 26 Feb 2007 21:19:07 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 54B7E13C4DA; Mon, 26 Feb 2007 21:19:05 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id l1QLJ4WJ005442; Mon, 26 Feb 2007 16:19:04 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id l1QLJ4Kr005441; Mon, 26 Feb 2007 16:19:04 -0500 (EST) Date: Mon, 26 Feb 2007 16:19:04 -0500 From: Thomas Dickey To: Kirill Ponomarew Message-ID: <20070226211904.GA27718@saltmine.radix.net> References: <20070214143011.GA76316@svm.csie.ntu.edu.tw> <20070214150912.GB14230@saltmine.radix.net> <20070214153011.GN88028@svm.csie.ntu.edu.tw> <20070214153827.GA336@saltmine.radix.net> <20070226200748.GA28218@smogmonster.local> <20070226204411.GA61663@voodoo.bawue.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20070226204411.GA61663@voodoo.bawue.com> User-Agent: Mutt/1.3.27i Cc: ports@FreeBSD.org, Xin LI , Thomas Dickey , Joshua Tinnin , Rong-En Fan Subject: Re: Python 2.4.4 and devel/ncurses X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 21:19:07 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 26, 2007 at 09:44:11PM +0100, Kirill Ponomarew wrote: > On Mon, Feb 26, 2007 at 01:07:48PM -0700, Joshua Tinnin wrote: > > > > It seems to me that rpath works as expected but /lib/libncurses.so.= 6 is > > > > loaded first... > > >=20 > > > There was some discussion about a year ago, which pointed out a probl= em. > > > The readline package loads termcap, which could be provided by ncurse= s. > > > You might be hitting that problem (readline, or another package). > > > The fix would be to ensure that "termcap" loads the same library as > > > "curses". > >=20 > > Is there anything that can be done about this in the meantime? I have > > two 6.2-R i386 machines which are encountering this problem. >=20 > BTW, it fails also on AMD64 CURRENT from yesterday with: yes - someone has to provide a patch to make the python and ncurses ports either work together, or ignore each other. The top-level setup.py appears to have all (or most) of the related information: it sets up a search list of library directories, walks through them to find the given libraries. I'm not sure how (reading the earlier email) python decides to get libtinfo, though, since that string doesn't appear in the original python sources. =20 > cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=3Dwchar_t -DTHREAD= _STACK_SIZE=3D0x20000 -fPIC -fno-strict-aliasing -I. -I/usr/ports/lang/pyth= on24/work/Python-2.4.4/./Include -I/usr/local/include -I/usr/ports/lang/pyt= hon24/work/Python-2.4.4/Include -I/usr/ports/lang/python24/work/Python-2.4.= 4 -c /usr/ports/lang/python24/work/Python-2.4.4/Modules/_cursesmodule.c -o = build/temp.freebsd-7.0-CURRENT-amd64-2.4/_cursesmodule.o > cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=3Dwchar_t = -DTHREAD_STACK_SIZE=3D0x20000 build/temp.freebsd-7.0-CURRENT-amd64-2.4/_cur= sesmodule.o -L/usr/local/lib -lncurses -o build/lib.freebsd-7.0-CURRENT-amd= 64-2.4/_curses.so > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.591= 83.0 env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dpython24-2.4.3_3 UPGRADE= _PORT_VER=3D2.4.3_3 make > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! lang/python24 (python24-2.4.3_3) (new compiler error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed >=20 > -Kirill --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFF407DtIqByHxlDocRAlj+AJ0cmyDEHmdPbI6rzBEnmIbsVbAr3ACffbRF mB0QbeWivHrLMiwx7NRQeVg= =IQib -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--