New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13981 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

"use_zip yes" should imply dependency on "unzip" but doesn't

Reported by: bzbarsky@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.6.0
Keywords: Cc: jmr@…
Port:

Description (last modified by jmpp@…) (diff)

STEPS TO REPRODUCE:

  1. Install macports on a vanilla Tiger system
  2. "port install xfig"

ACTUAL RESULTS:

--->  Attempting to fetch jasper-1.701.0.zip from http://www.ece.uvic.ca/~mdadams/jasper/software/
--->  Verifying checksum(s) for jasper
Error: Target org.macports.extract returned: Failed to locate 'unzip' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin'

Doing "port install unzip" before trying to install xfig makes things work correctly.

ACTUAL RESULTS: "unzip" should be listed as a dependancy for "jasper", so it'll get installed automagically in this situation.

Change History

Changed 4 years ago by raimue@…

unzip should be at /usr/bin/unzip. At least it is for me on Mac OS X 10.5 Leopard.

Changed 4 years ago by bzbarsky@…

Interesting. It's definitely not there on this machine (Tiger on a G4 tower). I do have a /usr/bin/unzip on Tiger on an Intel MacBook...

Changed 4 years ago by jmpp@…

  • description modified (diff)
  • milestone set to Port Bugs

Changed 4 years ago by jmr@…

  • milestone changed from Port Bugs to MacPorts base bugs
  • summary changed from "jasper" port should depend on "unzip" but doesn't to "use_zip yes" should imply dependency on "unzip" but doesn't

If unzip can't be relied upon to exist, this will be a problem for any port that has "use_zip yes".

Changed 4 years ago by jmr@…

  • component changed from ports to base

Changed 3 years ago by toby@…

  • milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

Changed 3 years ago by jmr@…

  • cc jmr@… added
  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from MacPorts Future to MacPorts 1.8.0

Fixed in r43782.

Note: See TracTickets for help on using tickets.