#27393: use_xmkmf does not work on recursive deps -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: Xaw3d -------------------------------------+-------------------------------------- Installing '''xfig''' without having imake installed will result in a build error in '''Xaw3d''' even if '''Xaw3d''' has '''use_xmkmf yes'''. Seems that second level dependency doesn't get correct order for ''use_xxxx'' variable, '''imake''' is listed as a port to be installed but it's not installed before '''Xaw3d''' I'm using 1.9.99, this is reproducible: {{{ $ sudo port clean xfig Xaw3d imake ---> Cleaning xfig ---> Cleaning Xaw3d ---> Cleaning imake bimac:~ $ sudo port uninstall xfig Xaw3d imake bimac:~ $ sudo port installed xfig Xaw3d imake None of the specified ports are installed. bimac:~ $ sudo port install xfig ---> Computing dependencies for xfig ---> Dependencies to be installed: Xaw3d imake ---> Fetching Xaw3d ---> Verifying checksum(s) for Xaw3d ---> Extracting Xaw3d ---> Configuring Xaw3d Error: Target org.macports.configure returned: xmkmf failure: shell command failed (see log for details) Error: Failed to install Xaw3d Log for Xaw3d is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_x11_Xaw3d/main.log Error: The following dependencies were not installed: Xaw3d imake Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} Here's the interesting bit of debug: {{{ ---> Dependencies to be installed: Xaw3d imake xorg-cf-files transfig netpbm }}} I'm attaching a more complete log. -- Ticket URL: <https://trac.macports.org/ticket/27393> MacPorts <http://www.macports.org/> Ports system for Mac OS