New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13981 (closed defect: fixed)

Opened 5 years ago

Last modified 5 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

comment:1 Changed 5 years ago by raimue@…

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

comment:2 Changed 5 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...

comment:3 Changed 5 years ago by jmpp@…

  • Description modified (diff)
  • Milestone set to Port Bugs

comment:4 Changed 5 years 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".

comment:5 Changed 5 years ago by jmr@…

  • Component changed from ports to base

comment:6 Changed 5 years ago by toby@…

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

comment:7 Changed 5 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.