Red Hat Bugzilla – Bug 109268
distutils configured with wrong CC/LDSHARED etc
Last modified: 2007-04-18 12:59:11 EDT
The Subversion build is broken against Python 2.3.2, because:
python -c "from distutils import sysconfig; print
gcc -pthread -shared
actual results: (e.g.)
x86_64-redhat-linux-gcc -pthread -shared
'CC' is likewise broken.
That is weird, but why is it wrong? AFAICT, in the gcc package they
are exactly the same file. Hardlinked too.
It breaks because the generated libtool script only knows what "gcc"
is, not "x86_64-redhat-linux-gcc". (In case it wasn't clear, this is
a regression - the python 2.2 packages didn't have this bug)
This happens because distutils parses the Makefile used to compile
python (i.e. /usr/lib/python2.3/config/Makefile), and this is the
compiler beehive used.
On my local machine, CC is correctly set to gcc - I would think it's
something from beehive that confuses python.
python-2.3.2-5 in fc2 should fix this.