#51137: Cannot build gobject-introspection when python+ucs4 is installed ------------------------------------+------------------------ Reporter: audvare@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gobject-introspection | ------------------------------------+------------------------ Comment (by devans@…): Replying to [ticket:51137 audvare@…]:
When I run `port upgrade outdated` I get the below output:
{{{ ---> Computing dependencies for atk.. ---> Dependencies to be installed: gobject-introspection ---> Configuring gobject-introspection Error: org.macports.configure for port gobject-introspection returned: You have python installed with the +ucs4 variant. Please build gobject- introspection with +python_ucs4 Warning: targets not executed for gobject-introspection: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Failed to install gobject-introspection Please see the log file for port gobject-introspection for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_gobject-introspection/gobject- introspection/main.log
Error: The following dependencies were not installed: gobject- introspection Error: Unable to upgrade port: 1 }}}
The relevant message here is {{{ You have python installed with the +ucs4 variant. Please build gobject- introspection with +python_ucs4 }}}
I manually installed gobject-introspection with `+python_ucs4` and it
still does not see it. I'm not sure what you mean here by 'still does not see it' but the following commands work for me: {{{ $ sudo port install python27 +ucs $ sudo port install gobject-introspection +python_ucs4 $ port installed python27 gobject-introspection gobject-introspection @1.48.0_0 gobject-introspection @1.48.0_0+python_ucs4 (active) python27 @2.7.11_2 python27 @2.7.11_2+ucs4 (active) }}} Keep in mind, however, that as stated above, using python27 +ucs is known to cause problems with some ports so if you don't really need to use it, best is to not do so. -- Ticket URL: <https://trac.macports.org/ticket/51137#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X