Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13981 (new defect)

Opened 10 months ago

Last modified 9 months ago

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

Reported by: bzbarsky@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts base bugs
Component: base Version: 1.6.0
Keywords: Cc:
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 10 months ago by raimue@…

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

Changed 10 months 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 10 months ago by jmpp@…

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

Changed 9 months ago by jmr@…

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

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

Changed 9 months ago by jmr@…

  • component changed from ports to base
Note: See TracTickets for help on using tickets.