Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2013 19:50:33 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        mexas@bristol.ac.uk, njm@njm.me.uk
Cc:        umq@ueo.co.jp, freebsd-ports@freebsd.org
Subject:   Re: security/libgcrypt checksum mismatch
Message-ID:  <201305111850.r4BIoXg5060638@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20130511110107.GB94348@titania.njm.me.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
	From njm@njm.me.uk Sat May 11 13:41:11 2013

	In message <201305111044.r4BAiMuH059762@mech-cluster241.men.bris.ac.uk>,
		Anton Shterenlikht (mexas@bris.ac.uk) wrote:
	> This is on amd64/clang r249781, with ports at 317861:
	> 
	> # pkg version -vX libgcry
	> libgcrypt-1.5.0_1                  <   needs updating (port has 1.5.2)
	> 
	> ===>  License GPLv2 LGPL21 accepted by the user
	> ===>   libgcrypt-1.5.2 depends on file: /usr/local/sbin/pkg - found
	> => libgcrypt-1.5.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles//.
	> => Attempting to fetch http://gnupg.org.favoritelinks.net/libgcrypt/libgcrypt-1.5.2.tar.bz2
	> fetch: http://gnupg.org.favoritelinks.net/libgcrypt/libgcrypt-1.5.2.tar.bz2: size unknown
	> fetch: http://gnupg.org.favoritelinks.net/libgcrypt/libgcrypt-1.5.2.tar.bz2: size of remote file is not known
	> libgcrypt-1.5.2.tar.bz2                               1082  B 2277 kBps 00m00s
	> ===> Fetching all distfiles required by libgcrypt-1.5.2 for building
	> ===>  License GPLv2 LGPL21 accepted by the user
	> ===>   libgcrypt-1.5.2 depends on file: /usr/local/sbin/pkg - found
	> ===> Fetching all distfiles required by libgcrypt-1.5.2 for building
	> => SHA256 Checksum mismatch for libgcrypt-1.5.2.tar.bz2.
	> ===>  Giving up on fetching files: libgcrypt-1.5.2.tar.bz2 
	> Make sure the Makefile and distinfo file (/usr/ports/security/libgcrypt/distinfo)
	> are up to date.  If you are absolutely sure you want to override this
	> check, type "make NO_CHECKSUM=yes [other args]".
	> *** [checksum] Error code 1
	> 
	> Stop in /usr/ports/security/libgcrypt.
	> *** [checksum] Error code 1

	I had something similar to this yesterday.  Can you do the following and
	post the results here please?

	# file /usr/ports/distfiles/libgcrypt-1.5.2*

	In my case HTML files had been fetched!


# file /usr/ports/distfiles/libgcrypt-1.5.2*
/usr/ports/distfiles/libgcrypt-1.5.2.tar.bz2: HTML document, ASCII text, with very long lines, with no line terminators
#

yes, silly..

But did you manage to get the right file afterwards?

Thanks

Anton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305111850.r4BIoXg5060638>