[MacPorts] #27715: py27-wxpython arch mismatch for ppc

MacPorts noreply at macports.org
Sat Dec 18 06:42:21 PST 2010


#27715: py27-wxpython arch mismatch for ppc
---------------------------------+------------------------------------------
 Reporter:  nDiScReEt@…          |       Owner:  macports-tickets@…                   
     Type:  submission           |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:                                       
 Keywords:                       |        Port:  py27-wxpython                        
---------------------------------+------------------------------------------
 I couldn't install py27-wxpython on my G5 because it kept giving me the
 following error:
 {{{
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py27-wxpython
 DEBUG: OS darwin/9.8.0 (Mac OS X 10.5) arch powerpc
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python27-1.0.tcl
 DEBUG: universal_variant is false, so not adding the default universal
 variant
 DEBUG: Starting logging for py27-wxpython
 Error: Cannot install py27-wxpython for the arch(s) 'i386' because
 Error: its dependency wxWidgets is only installed for the arch 'ppc'
 Error: and does not have a universal variant.
 DEBUG: architecture mismatch
     while executing
 "macports::_upgrade_mport_deps $mport $target"
     (procedure "mportexec" line 26)
     invoked from within
 "mportexec $workername $target"
 Error: Unable to execute port: architecture mismatch
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 I made the following changes to the Portfile:
 {{{
 #configure.build_arch   i386
 supported_archs i386 ppc
 }}}

 Basically, I did a port edit of py27-wxpython and commented out the build
 arch for i386 and added the line "`supported_archs i386 ppc`" without the
 quotes, saved my edit and then ran the command to install the port. Then I
 was able to finally have a successful install.

 My command line steps:
 {{{
 sudo port edit py27-wxpython
 sudo port install py27-wxpython
 }}}

 I have included the changed Portfile with revisions. I hope I did this
 correctly.

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


More information about the macports-tickets mailing list