Message98858
The readline-libedit-2.6.5.patch is attached.
The patch was applied and python built in several configurations on Mac
OS X 10.6 (Snow Leopard). There is no regression (details below).
Can somebody else test on Mac OS X 10.5 (Leopard)?
32-bit
======
Configuration with system libedit::
./configure --prefix=${HOME}/opt/snapshot/2.6.5 \
BASECFLAGS="-arch i386" \
CFLAGS="-arch i386" \
LDFLAGS="-arch i386" \
MACOSX_DEPLOYMENT_TARGET=10.6
Configuration with GNU readline 6.1::
./configure --prefix=${HOME}/opt/snapshot/gnurl/2.6.5 \
BASECFLAGS="-arch i386" \
CFLAGS="-arch i386" \
CPPFLAGS="-I/opt/local/include" \
LDFLAGS="-arch i386 -L/opt/local/lib" \
MACOSX_DEPLOYMENT_TARGET=10.6
Failed tests for both builds:
- test_asynchat
- test_smtplib
64-bit
======
Configuration with system libedit::
./configure --prefix=${HOME}/opt/snapshot/2.6.5-64 \
MACOSX_DEPLOYMENT_TARGET=10.6
Configuration with GNU readline 6.1::
./configure --prefix=${HOME}/opt/snapshot/gnurl/2.6.5-64 \
CPPFLAGS="-I/opt/local/include" \
LDFLAGS="-L/opt/local/lib" \
MACOSX_DEPLOYMENT_TARGET=10.6checking
Failed tests for both builds:
- test_asynchat
- test_macostools
- test_smtplib
Unexpected skips:
- test_dl
Universal
=========
Configuration with system libedit::
./configure --prefix=${HOME}/opt/snapshot \
BASECFLAGS="-arch x86_64 -arch i386" \
CFLAGS="-arch x86_64 -arch i386" \
LDFLAGS="-arch x86_64 -arch i386" \
MACOSX_DEPLOYMENT_TARGET=10.6
Configuration with GNU readline 6.1::
./configure --prefix=${HOME}/opt/snapshot/gnurl \
BASECFLAGS="-arch x86_64 -arch i386" \
CFLAGS="-arch x86_64 -arch i386" \
CPPFLAGS="-I/opt/local/include" \
LDFLAGS="-arch x86_64 -arch i386 -L/opt/local/lib" \
MACOSX_DEPLOYMENT_TARGET=10.6
Failed tests for both builds:
- test_asynchat
- test_macostools
- test_smtplib
Unexpected skips:
- test_dl
when run as 64-bit or 32-bit executable.
Errors in both asynchat and smtplib are caused by the same issue in
asyncore.py. A typical error output::
error: uncaptured python exception, closing channel
<test.test_asynchat.echo_client at 0x1b112b0>
(<class 'socket.error'>:[Errno 9]
Bad file descriptor
[/Users/zvezdan/opt/snapshot/2.6.5/lib/python2.6/asyncore.py|
readwrite|107]
[/Users/zvezdan/opt/snapshot/2.6.5/lib/python2.6/asyncore.py|
handle_expt_event|441]
[<string>|getsockopt|1]
[/Users/zvezdan/opt/snapshot/2.6.5/lib/python2.6/socket.py|_dummy|165])
but this is not caused by readline patch. |
|
Date |
User |
Action |
Args |
2010-02-04 21:45:01 | zvezdan | set | recipients:
+ zvezdan, fdrake, barry, brett.cannon, ronaldoussoren, mark.dickinson, srid |
2010-02-04 21:45:01 | zvezdan | set | messageid: <1265319901.18.0.258735217993.issue6877@psf.upfronthosting.co.za> |
2010-02-04 21:44:59 | zvezdan | link | issue6877 messages |
2010-02-04 21:44:58 | zvezdan | create | |
|