id summary reporter owner description type status priority milestone component version resolution keywords cc port 27715 py27-wxpython uses i386 build arch even on ppc chicagotripp jyrkiwahlstedt "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 }}} 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. " defect closed Normal ports fixed realmightycat@… py27-wxpython