[MacPorts] #32090: python27 +universal: destroot fails if py27-xml is installed non-universal

MacPorts noreply at macports.org
Mon Mar 19 13:36:20 PDT 2012


#32090: python27 +universal: destroot fails if py27-xml is installed non-universal
----------------------------------+-----------------------------------------
 Reporter:  cdiehl@…              |       Owner:  jwa@…            
     Type:  defect                |      Status:  new              
 Priority:  Normal                |   Milestone:                   
Component:  ports                 |     Version:  2.0.3            
 Keywords:                        |        Port:  python27 py27-xml
----------------------------------+-----------------------------------------

Comment(by nad@…):

 I see two separate issues here.  The more important problem is that pyxx-
 xml is still being provided as a port and it shouldn't be.  The upstream
 project has not been maintained in years since the most important subset
 of its functionality is now included in the Python standard library and
 there are more modern and maintained ports for added functionality, like
 lxml.  The [http://sourceforge.net/projects/pyxml/files/ upstream project
 download page] on SourceForge states '''Download out of date. Do not
 use'''.  The package was also removed from Debian a few years ago.  One of
 its problems is that it replaces the expat.so parser supplied with
 standard Python and the standard one is now more up-to-date, including
 [http://bugs.python.org/issue14234 a security fix] that is being released
 in Python 3.2.3, 2.7.3, 2.6.8, and 3.1.5.

 The second issue is that ''Build Applet'' is both a product of a Python 2
 build and is used in the build to install itself (target
 install_BuildApplet in Mac/Makefile).  In so doing, I think it's not quite
 careful enough to avoid mixing using an already installed Python 2
 executable with the being-built standard library, which may have different
 architecture configure options (as in the cases noted in this ticket and
 elsewhere).  That should be considered an upstream bug.  But it's pretty
 minor and ''Build Applet'' has been removed in Python 3 so the only branch
 where it would be considered to be fixed would be 2.7 (since older
 releases are either retired or in security fix mode only).

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


More information about the macports-tickets mailing list