Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18226 closed defect (fixed)

mpfr 2.4.0 and lzma (lzmautils)

Reported by: garribald@… Owned by: vinc17@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: mpfr lzma lzmautils Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: mpfr

Description

The first attempt to upgrade mpfr ended like this:

book:~ test$ sudo port upgrade mpfr
Password:
--->  Fetching mpfr
--->  Attempting to fetch mpfr-2.4.0.tar.lzma from http://trd.no.distfiles.macports.org/mpfr/2.4.0
--->  Attempting to fetch mpfr-2.4.0.tar.lzma from http://www.mpfr.org/mpfr-2.4.0/
--->  Verifying checksum(s) for mpfr
Error: Target org.macports.extract returned: Failed to locate 'lzma' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin'
Error: Unable to upgrade port: 1

Then I grabbed the port lzmautils and the installation of mpfr was unproblematic.

I don't know, if there is a better lzma port out there for making a dependency, but IMHO some check should be made, whether lzma is installed or not and in need to grab the relevant port for expanding mpfr (if that one really has to be in the lzma flavor).

MacPorts 1.7, Tiger 10.4.11

Change History (6)

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

Owner: changed from macports-tickets@… to vinc17@…

Right, this dependency needs to be added:

depends_build bin:lzma:lzmautils

comment:2 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:3 Changed 15 years ago by vinc17@…

Fixed in r46101.

BTW, I thought that "use_lzma yes" would imply this dependency in MacPorts rules.

comment:4 Changed 15 years ago by vinc17@…

Resolution: fixed
Status: newclosed

comment:5 in reply to:  3 Changed 15 years ago by blb@…

Replying to vinc17@…:

BTW, I thought that "use_lzma yes" would imply this dependency in MacPorts rules.

It will (as of r43782 on trunk) in 1.8.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.