Opened 21 years ago

Last modified 9 years ago

#778 closed defect

BUG: fortune-4.6.2-RELEASE — at Initial Version

Reported by: charlie@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: eric@…
Port: fortune

Description

fortune will try and use bzip2 on the fortune datfiles like so..

---> Fetching fortune ---> Verifying checksum for fortune Warning: No checksum recorded for fortune-4.6.2-RELEASE.tar.bz2 Warning: No checksum recorded for fortune-starwars.tgz ---> Extracting fortune Error: Target com.apple.extract returned: shell command "cd "/Users/yeled/Documents/DEV/ darwinports/dports/games/fortune/work" && bzip2 -dc /opt/local/var/db/dports/distfiles/ fortune-starwars.tgz | tar -xf -" returned error 1 Command output: bzip2: /opt/local/var/db/dports/distfiles/fortune-starwars.tgz is not a bzip2 file. tar: End of archive volume 1 reached tar: Sorry, unable to determine archive format.

and here is a patch to fix this,

--- Portfile.old Thu Aug 14 22:26:19 2003 +++ Portfile Thu Aug 14 22:25:31 2003 @@ -45,6 +45,10 @@

limerick.dat murphy murphy.dat murphy-o murphy-o.dat \ startrek startrek.dat zippy zippy.dat"

+# we already have post-extract to untar the datfiles, so just extract the +# program itself. +extract.only ${portname}-${version}.tar.bz2 +

# ugly hack to extract variant datfiles properly - default these variables to # zero, then set them in each variant, and then check them all in post-extract set plusstarwars 0

Change History (0)

Note: See TracTickets for help on using tickets.