Opened 16 years ago

Closed 15 years ago

#13981 closed defect (fixed)

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

Reported by: bzbarsky (Boris Zbarsky) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.6.0
Keywords: Cc: jmroot (Joshua Root)
Port:

Description (last modified by jmpp@…)

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 (7)

comment:1 Changed 16 years ago by raimue (Rainer Müller)

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

comment:2 Changed 16 years ago by bzbarsky (Boris Zbarsky)

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 16 years ago by jmpp@…

Description: modified (diff)
Milestone: Port Bugs

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Milestone: Port BugsMacPorts base bugs
Summary: "jasper" port should depend on "unzip" but doesn't"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".

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

Component: portsbase

comment:6 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Milestone: MacPorts FutureMacPorts 1.8.0
Resolution: fixed
Status: newclosed

Fixed in r43782.

Note: See TracTickets for help on using tickets.