[MacPorts] #18800: Building py25-xml fails due to -Wno-long-double
MacPorts
noreply at macports.org
Wed Mar 11 15:35:08 PDT 2009
#18800: Building py25-xml fails due to -Wno-long-double
------------------------------------------+---------------------------------
Reporter: hans.ekkehard.plesser@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: python distutils gcc | Port: py25-xml
------------------------------------------+---------------------------------
Building py25-xml failed with
{{{
cc1: error: unrecognized command line option "-Wno-long-double"
error: command 'gcc' failed with exit status 1
}}}
Configuration:
* MacPorts 1.7.0
* OSX 10.5.6
* XCode 3.1.2
* /opt/local/bin/gcc is gcc 4.3.2
The reason for the failure is that the long-deprecated `-Wno-long-double`
option has been removed from gcc (see also #17788).
The `-Wno-long-double` option is inherited from the Python
`distutils.sysconfig` configuration variables and needs to be deleted in
`setup.py`. A patch doing this is attached.
--
Ticket URL: <http://trac.macports.org/ticket/18800>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list