Opened 12 years ago
Closed 12 years ago
#35672 closed defect (fixed)
py27-mx-base fails to compile
Reported by: | jamie@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | haspatch | Cc: | |
Port: | py27-mx-base |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
On Mountain Lion, py27-mx-base fails to compile due to an incorrect location for the "customize_compiler" call. The line:
from distutils.ccompiler import customize_compiler
fails, as in the current configuration it should be:
from distutils.sysconfig import customize_compiler
For the record, this is the version of py27-mx-base that fails to compile:
py27-mx-base @3.2.1 python/py27-mx-base
The latest version of egenix-mx-base (3.2.4) fixes this bug, so I would suggest that updating the port to the latest version would be the easiest fix. I attach a modified Portfile, which I have verifies builds fine on my ML/MacPorts 2.1.2 system.
Attachments (1)
Change History (3)
Changed 12 years ago by jamie@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | haspatch added |
Milestone: | MacPorts Future |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | py27-mx-base added |
Status: | new → assigned |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In the future, please attach a unified diff instead of a complete new portfile; this makes it easier to review your changes.
Note that we also have py26-mx-base and py25-mx-base ports which should be kept in sync with py27-mx-base, until such a time as they are all unified into a single py-mx-base port.