Date: Sat, 19 May 2012 18:48:13 -0400 From: "b. f." <bf1783@googlemail.com> To: freebsd-ports@FreeBSD.org Cc: johans@FreeBSD.org, Jason Helfman <jgh@FreeBSD.org>, Henry Miller <hank@millerfarm.com> Subject: Re: checksum mismatch in print/texinfo Message-ID: <CAGFTUwNHOOywbdKo0KGaFAi-8SbS=3CDPhRmJrs8gDx9u3EmAQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
> > > On Sat, May 19, 2012 at 5:13 AM, Henry Miller <hank at millerfarm.com> 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 .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGFTUwNHOOywbdKo0KGaFAi-8SbS=3CDPhRmJrs8gDx9u3EmAQ>