Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2013 12:01:07 +0100
From:      "N.J. Mann" <njm@njm.me.uk>
To:        mexas@bristol.ac.uk
Cc:        umq@ueo.co.jp, freebsd-ports@freebsd.org
Subject:   Re: security/libgcrypt checksum mismatch
Message-ID:  <20130511110107.GB94348@titania.njm.me.uk>
In-Reply-To: <201305111044.r4BAiMuH059762@mech-cluster241.men.bris.ac.uk>
References:  <201305111044.r4BAiMuH059762@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,


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!


Cheers,
       Nick.
-- 




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