From owner-freebsd-ports@FreeBSD.ORG Sat May 19 22:48:14 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5C30106564A; Sat, 19 May 2012 22:48:14 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7B28FC0C; Sat, 19 May 2012 22:48:14 +0000 (UTC) Received: by wibhj8 with SMTP id hj8so998704wib.13 for ; Sat, 19 May 2012 15:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; bh=UBIph+bP8x3LuwEMPgeouoz8wMtfIW59SBWM02w7Qt4=; b=lEsbqc6WpRghIpp/NXgjMxeq0JqfthM5BMRFkX6L94q+PEQW3gFHlmm5OdYy1gU3r2 g6w07QHgLfaLzVZWOeJ9cwDorvrXsPgToXi8vF94LzbjctL4qK48yrRpTkvEyL7m842M AxQFcDZddMk385sjTolCgxjOiBkT1pHjR0lJ8lHYYyV1zQ5hoMGAgh5nS2FN8cnE2wQg KWIQalOK5JDI7wclApW04sYNMA1CbUTIu+tq43cHnKACYWaLvWJTrPZ7BZ5bIr7yZySs pjp3NDZ8BpeuDUgpPqB/fxsWaqJh8h8kOjfaFi+5fxMtLVa2MRb3UvgRbR8qJOZUGWnt rMMA== MIME-Version: 1.0 Received: by 10.180.95.137 with SMTP id dk9mr3384406wib.1.1337467693053; Sat, 19 May 2012 15:48:13 -0700 (PDT) Received: by 10.180.24.5 with HTTP; Sat, 19 May 2012 15:48:13 -0700 (PDT) Date: Sat, 19 May 2012 18:48:13 -0400 Message-ID: From: "b. f." To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: johans@FreeBSD.org, Jason Helfman , Henry Miller Subject: Re: checksum mismatch in print/texinfo X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2012 22:48:15 -0000 > > > On Sat, May 19, 2012 at 5:13 AM, Henry Miller wrote: > > > > > subject says it all, I'm trying to update texinfo, and getting a checksum > > mismatch. I deleted the distfiles in questions, so I'm not sure what else > > to > > try. > > > > shairia# uname -a > > FreeBSD shairia.millerfarm.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu > > Feb 17 > > 02:41:51 UTC 2011 root at mason.cse.buffalo.edu: > > /usr/obj/usr/src/sys/GENERIC > > amd64 > > shairia# rm ../../distfiles/tex* > > shairia# make > > ===> License check disabled, port has not defined LICENSE > > => texinfo-4.13.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > > => Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo-4.13.tar.gz > > texinfo-4.13.tar.gz 100% of 2686 kB 785 kBps > > => texinfo.tex doesn't seem to exist in /usr/ports/distfiles/. > > => Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo.tex > > fetch: http://ftp.gnu.org/gnu/texinfo/texinfo.tex: size mismatch: expected > > 321229, actual 321252 > > => Attempting to fetch ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex > > fetch: ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex: size mismatch: expected > > 321229, actual 321252 > > => Attempting to fetch > > http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texinfo.tex > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texinfo.tex: > > size > > unknown > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texinfo.tex: > > size of > > remote file is not known > > texinfo.tex 340 B 2460 kBps > > => texi2dvi doesn't seem to exist in /usr/ports/distfiles/. > > => Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texi2dvi > > fetch: http://ftp.gnu.org/gnu/texinfo/texi2dvi: size mismatch: expected > > 57940, > > actual 58102 > > => Attempting to fetch ftp://ftp.gnu.org/gnu/texinfo/texi2dvi > > fetch: ftp://ftp.gnu.org/gnu/texinfo/texi2dvi: size mismatch: expected > > 57940, > > actual 58102 > > => Attempting to fetch > > http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texi2dvi > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texi2dvi: size > > unknown > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texi2dvi: size > > of > > remote file is not known > > texi2dvi 337 B 2438 kBps > > ===> Extracting for texinfo-4.13.20120406 > > => SHA256 Checksum OK for texinfo-4.13.tar.gz. > > => SHA256 Checksum mismatch for texinfo.tex. > > => SHA256 Checksum mismatch for texi2dvi. > > ===> Refetch for 1 more times files: texinfo.tex texi2dvi > > ===> License check disabled, port has not defined LICENSE > > => texinfo.tex doesn't seem to exist in /usr/ports/distfiles/. > > => Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo.tex > > fetch: http://ftp.gnu.org/gnu/texinfo/texinfo.tex: size mismatch: expected > > 321229, actual 321252 > > => Attempting to fetch ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex > > fetch: ftp://ftp.gnu.org/gnu/texinfo/texinfo.tex: size mismatch: expected > > 321229, actual 321252 > > => Attempting to fetch > > http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texinfo.tex > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texinfo.tex: > > size > > unknown > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texinfo.tex: > > size of > > remote file is not known > > texinfo.tex 340 B 2443 kBps > > => texi2dvi doesn't seem to exist in /usr/ports/distfiles/. > > => Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texi2dvi > > fetch: http://ftp.gnu.org/gnu/texinfo/texi2dvi: size mismatch: expected > > 57940, > > actual 58102 > > => Attempting to fetch ftp://ftp.gnu.org/gnu/texinfo/texi2dvi > > fetch: ftp://ftp.gnu.org/gnu/texinfo/texi2dvi: size mismatch: expected > > 57940, > > actual 58102 > > => Attempting to fetch > > http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texi2dvi > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texi2dvi: size > > unknown > > fetch: http://www.gtlib.cc.gatech.edu/pub/gnu/gnu/texinfo/texi2dvi: size > > of > > remote file is not known > > texi2dvi 337 B 2570 kBps > > ===> License check disabled, port has not defined LICENSE > > => SHA256 Checksum OK for texinfo-4.13.tar.gz. > > => SHA256 Checksum mismatch for texinfo.tex. > > => SHA256 Checksum mismatch for texi2dvi. > > ===> Giving up on fetching files: texinfo.tex texi2dvi > > Make sure the Makefile and distinfo file > > (/usr/ports/print/texinfo/distinfo) > > are up to date. If you are absolutely sure you want to override this > > check, type "make NO_CHECKSUM=yes [other args]". > > *** Error code 1 > > > > Stop in /usr/ports/print/texinfo. > > *** Error code 1 > > > > Stop in /usr/ports/print/texinfo. > > > > Please apply the following diff, and let me know if that works for you: > > Index: distinfo > =================================================================== > RCS file: /home/pcvs/ports/print/texinfo/distinfo,v > retrieving revision 1.10 > diff -u -r1.10 distinfo > --- distinfo 7 Apr 2012 13:24:31 -0000 1.10 > +++ distinfo 19 May 2012 20:13:32 -0000 > @@ -1,6 +1,6 @@ > SHA256 (texinfo-4.13.tar.gz) = > 1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68 > SIZE (texinfo-4.13.tar.gz) = 2751071 > -SHA256 (texinfo.tex) = > af8790386e7d3b1f877f252d4807db368730a31f83fb6a882e9833e365ac2634 > -SIZE (texinfo.tex) = 321229 > -SHA256 (texi2dvi) = > b3eaf78499bc9c25a485218df864af245304a1de2a93740b67a8ec8dee7caab4 > -SIZE (texi2dvi) = 57940 > +SHA256 (texinfo.tex) = > f506a97fe0ea0388c9b29653bd9b9ed8e188d3d649a9e9485e2e051bba47496e > +SIZE (texinfo.tex) = 321252 > +SHA256 (texi2dvi) = > bf6fc2d85b52cde8e7919b5a379804a3d1eeaa95cb781c7daf79fd5f3cc8e6be > +SIZE (texi2dvi) = 58102 This port has several unversioned distfiles, and is prone to occasional mismatches when they are updated by the upstream maintainers. But the distinfo shouldn't be changed before Johans (the maintainer) has had a chance to test the new version of the port. He provided a local mirror ( ftp://ftp.stack.nl/pub/users/johans/texinfo/${PORTVERSION:E}/ ) to overcome this problem, and there are local copies at ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ as well. But I don't see from your log that your machine attempted to use either of these sites -- also it apparently did not use the full set of gnu sites, although those would probably have failed -- did you override MASTER_SITES in some way? You should be able to obtain suitable copies from the local mirrors, either via 'make fetch' or manually. I just verified this a few moments ago. b. P.S. Several standard targets will remove old or corrupt distfiles, so that you don't have to do it manually: a commonly-used one is 'make distclean'. See ports(7) or ports/Mk/bsd.port.mk .