classification
Title: Python fails to install with empty ABI flags
Type: Stage:
Components: Build Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: Arfrever, barry
Priority: normal Keywords: patch

Created on 2010-12-12 18:34 by Arfrever, last changed 2010-12-13 18:06 by barry. This issue is now closed.

Files
File name Uploaded Description Edit
10687.diff barry, 2010-12-13 16:49
Messages (5)
msg123845 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) * (Python triager) Date: 2010-12-12 18:34
$ make DESTDIR=/var/tmp/portage/dev-lang/python-3.2_pre20101212/image/ altinstall 
Creating directory /usr/bin
Creating directory /usr/lib64
/usr/bin/install -c python /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2
if test -f /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2 -o -h /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2; \
then rm -f /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin/python3.2; \
else true; \
fi
(cd /var/tmp/portage/dev-lang/python-3.2_pre20101212/image//usr/bin; ln python3.2 python3.2)
ln: accessing `python3.2': No such file or directory
make: *** [altbininstall] Error 1
msg123879 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-12-13 15:21
Please include your ./configure command too
msg123883 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-12-13 16:49
I've tested the following patch with both ./configure --prefix=/tmp/python and ./configure --without-pymalloc --prefix=/tmp/python.  Both seem to work as expected.

Note that this patch fixes a small drive-by bug I found, and it makes editing Makefile.pre.in nicer for Emacsers (without I hope affecting other editor users).
msg123884 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) * (Python triager) Date: 2010-12-13 17:19
The patch works correctly for me.
msg123888 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-12-13 18:04
Thanks for testing it!  r87213
History
Date User Action Args
2010-12-13 18:06:28barrysetstatus: open -> closed
resolution: fixed
2010-12-13 18:04:53barrysetmessages: + msg123888
2010-12-13 17:19:35Arfreversetmessages: + msg123884
2010-12-13 16:49:18barrysetfiles: + 10687.diff
keywords: + patch
messages: + msg123883
2010-12-13 15:58:19barrysetassignee: barry
2010-12-13 15:21:24barrysetmessages: + msg123879
2010-12-12 18:34:04Arfrevercreate