#2239 closed defect (fixed)
fortune 4.6.2-RELEASE fails checksum
Reported by: | toby@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
I just installed DarwinPorts into my $HOME and attempted to build fortune (which, for some reason, OS X doesn't include). This resolved the dependency for libcompat, fetched it and built it, but when it got to fortune, fortune-4.6.2-RELEASE.tar.bz2 failed the checksum, despite me manually verifying the checksum in the Portfile. Here is the output:
system:~> port install fortune ---> Fetching fortune ---> Attempting to fetch fortune-4.6.2-RELEASE.tar.bz2 from http://distfiles-od.opendarwin.org/ ---> Verifying checksum(s) for fortune Error: No checksum set for fortune-4.6.2-RELEASE.tar.bz2 Error: Target com.apple.checksum returned: Unable to verify file checksums system:~>
In /opt/local/var/db/dports/distfiles/fortune, there is only the fortune-4.6.2-RELEASE.tar.bz2 file. The MD5 sum of the file is:
system:/opt/local/var/db/dports/distfiles/fortune> md5 fortune-4.6.2-RELEASE.tar.bz2 MD5 (fortune-4.6.2-RELEASE.tar.bz2) = 99166e1c47d4b60c865a31d59d359b16 system:/opt/local/var/db/dports/distfiles/fortune>
This matches what is listed in ~/darwinports/dports/games/fortune/Portfile as the MD5 sum of the tarball exactly (first line in the checksums section).
Previously, I had installed a2ps, coreutils, epic4, lft (and psutils and libcompat as a result of these choices). I followed the standard procedure for installing DarwinPorts; checked it out of anoncvs and ./ configure;make;sudo make install and then put /opt/local/bin in my path and restarted the terminal emulator. No problems with the installation of any of the other above-listed software, either. Afterwards, I always port clean and distclean to save some space.
Any clues?
Change History (3)
comment:1 Changed 20 years ago by thomas+opendarwin@…
comment:2 Changed 20 years ago by mww@…
just added some missing checksums and fixed the 'm5' string to 'md5'
comment:3 Changed 20 years ago by toby@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed a fix to portchecksum.tcl that should take care of this.
This bug is very strange. First off, it installs fine on my Mac OS X 10.3.5 machine with xCode 1.2 and DarwinPorts as of 25 June 2004. It crashes with the same error however on my Mac OS X 10.3.5 machine with xCode 1.5 and DarwinPorts as of 25 Sept 2004. I suspect this is a regression with a newer version of DarwinPorts.
The fortune Portfile has many checksums included:
checksums ${distname}${extract.suffix} md5 99166e1c47d4b60c865a31d59d359b16 \
If you remove any one of those additional checksums used by the variants, the fortune port builds fine on both machines. Please note the ralph-quotes file has an 'm5' checksum instead of an 'md5' checksum. Fixing this bug did not seem to affect the outcome.