Python 2.4.4 and devel/ncurses

Kirill Ponomarew krion at voodoo.bawue.com
Mon Feb 26 21:08:56 UTC 2007


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...
> > 
> > There was some discussion about a year ago, which pointed out a problem.
> > The readline package loads termcap, which could be provided by ncurses.
> > You might be hitting that problem (readline, or another package).
> > The fix would be to ensure that "termcap" loads the same library as
> > "curses".
> 
> 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.

BTW, it fails also on AMD64 CURRENT from yesterday with:

cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fPIC -fno-strict-aliasing -I. -I/usr/ports/lang/python24/work/Python-2.4.4/./Include -I/usr/local/include -I/usr/ports/lang/python24/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=wchar_t -DTHREAD_STACK_SIZE=0x20000 build/temp.freebsd-7.0-CURRENT-amd64-2.4/_cursesmodule.o -L/usr/local/lib -lncurses -o build/lib.freebsd-7.0-CURRENT-amd64-2.4/_curses.so
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.59183.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=python24-2.4.3_3 UPGRADE_PORT_VER=2.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

-Kirill


More information about the freebsd-ports mailing list