[MacPorts] #35672: py27-mx-base fails to compile

MacPorts noreply at macports.org
Tue Aug 14 11:22:40 PDT 2012


#35672: py27-mx-base fails to compile
------------------------------+---------------------------------------------
 Reporter:  jamie@…           |       Owner:  ryandesign@…           
     Type:  defect            |      Status:  assigned               
 Priority:  Normal            |   Milestone:                         
Component:  ports             |     Version:  2.1.2                  
 Keywords:  haspatch          |        Port:  py27-mx-base           
------------------------------+---------------------------------------------
Changes (by ryandesign@…):

  * status:  new => assigned
  * keywords:  => haspatch
  * milestone:  MacPorts Future =>
  * owner:  macports-tickets@… => ryandesign@…
  * port:  => py27-mx-base


Old description:

> 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.

New description:

 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.

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/35672#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list