Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370371 - dev-lang/python-2.7.1: ./python fails to execute on compile phase due to name conflict with Python directory (Interix loader)
Summary: dev-lang/python-2.7.1: ./python fails to execute on compile phase due to name...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Interix
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 01:26 UTC by John Stroy
Modified: 2011-06-07 13:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Stroy 2011-06-07 01:26:00 UTC
When compiling python-2.7.1, ./python fails to execute in the compile phase due to a name conflict with a directory called Python.  The NT (Interix) executable loader attempts to run the first "Python" it finds, which corresponds to the directory ./Python.

Reproducible: Always

Steps to Reproduce:
1. "emerge python"
Actual Results:  
python fails to emerge with "./python: Permission denied."

Expected Results:  
python should be merged.

Will paste emerge --info when requested/when I return to the machine experiencing the issue.

Marking severity as Major, as Python is needed for portage.  (The old version of Python depends on some older libraries that have been unmerged with emerge @preserved-rebuild.)
Comment 1 Markus Duft (RETIRED) gentoo-dev 2011-06-07 06:36:54 UTC
the python configure script checks for a case insensitive filesystem, in which case it names the executable python.exe (would be the case on OS X too, right?)

 4699 $as_echo_n "checking for case-insensitive build directory... " >&6; }
 4700 if test ! -d CaseSensitiveTestDir; then
 4701 mkdir CaseSensitiveTestDir
 4702 fi
 4703 
 4704 if test -d casesensitivetestdir
 4705 then
 4706     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4707 $as_echo "yes" >&6; }
 4708     BUILDEXEEXT=.exe
 4709 else
 4710     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4711 $as_echo "no" >&6; }
 4712     BUILDEXEEXT=$EXEEXT
 4713 fi
 4714 rmdir CaseSensitiveTestDir

could you attach your config.log please.

the problem is not reproducible here on any windows version i use (XP, Srv2003R2, Srv2008, Srv2008R2, 7 Ultimate).
Comment 2 Markus Duft (RETIRED) gentoo-dev 2011-06-07 13:08:57 UTC
from talking on IRC: the problem is, that this interix was installed with case-sensitive (!) file system enabled, which is not the default on interix. it seems the loader can not handle this correctly for some reason.

since the loader is in a system location (and _has to be_ in that location), we cannot replace it within prefix anyway. so, sorry to say that, case-sensitive file system on windows is (still) unsupported. that's why the gentoo prefix installer doesn't even offer an option to enable it in the first place.