#51137: Cannot build gobject-introspection when python+ucs4 is installed -----------------------+----------------------------------- Reporter: audvare@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: ucs4 | Port: gobject-introspection -----------------------+----------------------------------- 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 }}} I manually installed gobject-introspection with `+python_ucs4` and it still does not see it. Is there any way ports can auto-detect the variant flags they need and apply them? This is a bit surprising to me (coming from Portage where USE flags can be very strict when it comes to dependencies (`REQURED_USE`)). -- Ticket URL: <https://trac.macports.org/ticket/51137> MacPorts <https://www.macports.org/> Ports system for OS X