Opened 17 years ago

Closed 17 years ago

Last modified 4 years ago

#778 closed defect (fixed)

BUG: fortune-4.6.2-RELEASE

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

Description (last modified by ryandesign (Ryan Schmidt))

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

comment:1 Changed 17 years ago by fkr@…

Resolution: fixed
Status: newclosed

thanks! -fkr

comment:2 Changed 4 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Port: fortune added
Note: See TracTickets for help on using tickets.