New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #27393 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

use_xmkmf does not work on recursive deps

Reported by: and.damore@… 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

log.txt (11.8 KB) - added by and.damore@… 3 years ago.

Change History

Changed 3 years ago by and.damore@…

comment:1 follow-up: ↓ 2 Changed 3 years ago by ryandesign@…

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

comment:2 in reply to: ↑ 1 Changed 3 years ago by and.damore@…

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 follow-up: ↓ 4 Changed 3 years ago by jmr@…

  • Version changed from 1.9.2 to 1.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 3 years ago by and.damore@…

  • Status changed from new to closed
  • Resolution set to invalid

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 3 years ago by jmr@…

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 3 years ago by and.damore@…

My apologies about that.

Note: See TracTickets for help on using tickets.