pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: offlineimap checksum mismatch



On 19 Nov 2011 at 12:14, Mayuresh wrote:

> I am getting following error when trying to install offlineimap:
> 
> 
> # make
> => Bootstrap dependency digest>=20010302: found digest-20080510
> => Fetching offlineimap_4.0.16.tar.gz
> checksum: Checksum SHA1 mismatch for offlineimap_4.0.16.tar.gz
> ERROR: Make sure the Makefile and checksum file
> (/usr/pkgsrc/mail/offlineimap/distinfo)
> ERROR: are up to date.  If you want to override this check, type
> ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
> *** Error code 1
> 
> 
> Besides, I find that the dist file is corrupt.

Where was the dist file downloaded from?

Have you tried download from another site? 

I've had a few bad downloads from sites that I guess had
been hijacked as some of the files were web pages with
advertising. The bad distfiles were deleted and downloaded
again but from NetBSD.org and the files from there have 
been ok. In some instances distfiles must be downloaded 
from a specific site due to licence etc.


David


> # file /usr/pkgsrc/distfiles/offlineimap_4.0.16.tar.gz 
> /usr/pkgsrc/distfiles/offlineimap_4.0.16.tar.gz: data
> 
> It should say gzip archive or something instead of data.
> 
> 
> 
> The file size in distinfo matches with the archive however:
> # cat distinfo 
> $NetBSD: distinfo,v 1.4 2007/02/16 15:46:21 tonio Exp $
> 
> SHA1 (offlineimap_4.0.16.tar.gz) =
> fcbd16b1838d3dde328b939de2256b9480216e43
> RMD160 (offlineimap_4.0.16.tar.gz) =
> 0182994bab7a244c45d59c5cdbd620451c21f29c
> Size (offlineimap_4.0.16.tar.gz) = 174917 bytes
> 
> 
> # ls -l /usr/pkgsrc/distfiles/offlineimap_4.0.16.tar.gz 
> -rw-r--r--  1 root  wheel  174917 Dec  2  2006
> /usr/pkgsrc/distfiles/offlineimap_4.0.16.tar.gz
> 
> 
> 
> I have just done a cvs update. Had not tried compiling offlineimap prior
> to that. Am using -current.
> 
> (Have attempted filing a PR with send-pr. Discussing PR filing queries on
> another thread.)
> 
> Mayuresh.




Home | Main Index | Thread Index | Old Index