Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#27393 closed defect (invalid)

use_xmkmf does not work on recursive deps

Reported by: anddam (Andrea D'Amore) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.99
Keywords: Cc:
Port: Xaw3d

Description

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.

Attachments (1)

log.txt (11.8 KB) - added by anddam (Andrea D'Amore) 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by anddam (Andrea D'Amore)

Attachment: log.txt added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

FYI, it works fine for me with 1.9.2. Did not test trunk.

comment:2 in reply to:  1 Changed 14 years ago by anddam (Andrea D'Amore)

Replying to ryandesign@…:

FYI, it works fine for me with 1.9.2. Did not test trunk.

Can you paste the ---> Dependencies to be installed line from your run?

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Version: 1.9.21.9.99

With trunk:

% port echo active and \( xfig Xaw3d imake \)
% sudo port -y install xfig
--->  Computing dependencies for xfig
--->  Dependencies to be installed: Xaw3d imake transfig netpbm
For imake: skipping org.macports.activate (dry run)
For Xaw3d: skipping org.macports.main (dry run)
For netpbm: skipping org.macports.main (dry run)
For transfig: skipping org.macports.main (dry run)
For xfig: skipping org.macports.main (dry run)

comment:4 in reply to:  3 Changed 14 years ago by anddam (Andrea D'Amore)

Resolution: invalid
Status: newclosed

Replying to jmr@…:

With trunk:

% port echo active and \( xfig Xaw3d imake \)
% sudo port -y install xfig
--->  Computing dependencies for xfig
--->  Dependencies to be installed: Xaw3d imake transfig netpbm
For imake: skipping org.macports.activate (dry run)
For Xaw3d: skipping org.macports.main (dry run)
For netpbm: skipping org.macports.main (dry run)
For transfig: skipping org.macports.main (dry run)
For xfig: skipping org.macports.main (dry run)

Before updating trunk:

$ port echo active and \( xfig Xaw3d imake \)
$ sudo port -y install xfig
--->  Computing dependencies for xfig
--->  Dependencies to be installed: Xaw3d imake
For Xaw3d: skipping org.macports.main (dry run)
For imake: skipping org.macports.main (dry run)
For xfig: skipping org.macports.main (dry run)

after updating:

$ port echo active and \( xfig Xaw3d imake \)
$ sudo port -y install xfig
--->  Computing dependencies for xfig
--->  Dependencies to be installed: Xaw3d imake
For imake: skipping org.macports.main (dry run)
For Xaw3d: skipping org.macports.main (dry run)
For xfig: skipping org.macports.main (dry run)

My port command was only a few days old can't say exactly what revision.

Closing as invalid.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Yeah, please don't report bugs against trunk unless you've tested with the very latest revision. It's trunk; stuff breaks and gets fixed all the time.

comment:6 Changed 14 years ago by anddam (Andrea D'Amore)

My apologies about that.

Note: See TracTickets for help on using tickets.