Bug 109268

Summary: distutils configured with wrong CC/LDSHARED etc
Product: [Retired] Red Hat Raw Hide Reporter: Joe Orton <jorton>
Component: pythonAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 2.3.2-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-13 13:50:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joe Orton 2003-11-06 10:44:44 UTC
The Subversion build is broken against Python 2.3.2, because:

python -c "from distutils import sysconfig; print

expected results:
gcc -pthread -shared

actual results: (e.g.)
x86_64-redhat-linux-gcc -pthread -shared

'CC' is likewise broken.

Comment 1 Mihai Ibanescu 2003-11-06 16:19:32 UTC
That is weird, but why is it wrong? AFAICT, in the gcc package they
are exactly the same file. Hardlinked too.

Comment 2 Joe Orton 2003-11-06 16:24:25 UTC
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)

Comment 3 Mihai Ibanescu 2003-11-06 16:51:25 UTC
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.

Comment 4 Mihai Ibanescu 2003-11-12 22:33:12 UTC
python-2.3.2-5 in fc2 should fix this.

Comment 5 Joe Orton 2003-11-13 13:50:47 UTC