From owner-freebsd-questions@FreeBSD.ORG Mon Mar 4 11:56:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C93EC339 for ; Mon, 4 Mar 2013 11:56:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 1049013E5 for ; Mon, 4 Mar 2013 11:56:48 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.5/8.14.5) with ESMTP id r24Buit6029804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Mar 2013 12:56:44 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.5/8.14.5/Submit) with ESMTP id r24BuiAZ029801; Mon, 4 Mar 2013 12:56:44 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 4 Mar 2013 12:56:44 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Wolfgang Riegler Subject: Re: p5-Bit-Vector SHA256 Checksum mismatch (was PERL problem installing SQLgrey) In-Reply-To: <2594141.AlMBf4Kn0Z@wolfgang> Message-ID: References: <51253e9d.901a.28c09d00.5088e293@go2france.com> <2594141.AlMBf4Kn0Z@wolfgang> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-1342572508-1362398204=:91347" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 11:56:49 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1342572508-1362398204=:91347 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Fri, 1 Mar 2013 14:06+0100, Wolfgang Riegler wrote: > SQLgrey is the only one failing because of the dependency for > p5-Bit-Vector. I tried it several times. Even downloading manually > to /usr/ports/distfiles doesn't work. I test the sha256 checksum > manually, and it is correct. I came across the same problem using portupgrade the other day, this was actually a few weeks ago. My solution was to delete Bit-Vector-* from /usr/ports/distfiles and retry the portupgrade operation. The Bit-Vector-7.2.tar.gz file on my system is dated 2012-05-17T13:32:09+0000, has a size of 135586 bytes, and produce this SHA256 hash: SHA256 (Bit-Vector-7.2.tar.gz) = d60630f0eb033edabfe904416c6e7324fefff13699e97302361d1bad80f62e0f This seem consistent with the contents of the distinfo file. Make sure Bit-Vector-7.2.tar.gz is the only file in the distfiles directory with filenames beginning with "Bit-Vector-7.2". > Here the log from poudriere: # cat p5-Bit-Vector-7.2_2.log > > build started at Fri Mar 1 12:38:24 CET 2013 > port directory: /usr/ports/math/p5-Bit-Vector > building for: 9.1-RELEASE amd64 > maintained by: tobez@FreeBSD.org > Makefile ident: $FreeBSD: ports/math/p5-Bit-Vector/Makefile,v 1.22 2013/01/22 09:50:13 svnexp Exp $ > ---Begin Environment--- > OSVERSION=901000 > UNAME_v=FreeBSD 9.1-RELEASE > UNAME_r=9.1-RELEASE > BLOCKSIZE=K > MAIL=/var/mail/root > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > STATUS=1 > PKG_EXT=txz > WITH_CCACHE_BUILD=yes > FORCE_PACKAGE=yes > tpid=15131 > POUDRIERE_BUILD_TYPE=bulk > PKGNG=1 > PKG_DELETE=/usr/local/sbin/pkg delete -y -f > PKG_ADD=/usr/local/sbin/pkg add > CCACHE_DIR=/var/cache/ccache > PWD=/mnt/system/DATEN/poudriere/basefs/data/logs/bulk/91amd64/hostportstree > LOGS=/mnt/system/DATEN/poudriere/basefs/data/logs > HOME=/root > USER=root > SKIPSANITY=0 > LOCALBASE=/usr/local > PACKAGE_BUILDING=yes > ---End Environment--- > > ---Begin OPTIONS List--- > ---End OPTIONS List--- > ================================================= > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - not found > ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg > ===> Installing existing package /usr/ports/packages/All/pkg-1.0.8.txz > Installing pkg-1.0.8... done > If you are upgrading from the old package format, first run: > > # pkg2ng > ===> Returning to build of p5-Bit-Vector-7.2_2 > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - not found > ===> Verifying install for /usr/local/bin/perl5.14.2 in /usr/ports/lang/perl5.14 > ===> Installing existing package /usr/ports/packages/All/perl-5.14.2_2.txz > Installing perl-5.14.2_2...Removing stale symlinks from /usr/bin... > Skipping /usr/bin/perl > Skipping /usr/bin/perl5 > Done. > Creating various symlinks in /usr/bin... > Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl > Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl5 > Done. > Cleaning up /etc/make.conf... Done. > Spamming /etc/make.conf... Done. > done > ===> Returning to build of p5-Bit-Vector-7.2_2 > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - found > ===> p5-Bit-Vector-7.2_2 depends on package: p5-Carp-Clan>=0 - not found > ===> Verifying install for p5-Carp-Clan>=0 in /usr/ports/devel/p5-Carp-Clan > ===> Installing existing package /usr/ports/packages/All/p5-Carp-Clan-6.04.txz > Installing p5-Carp-Clan-6.04... done > ===> Returning to build of p5-Bit-Vector-7.2_2 > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - found > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/ccache - not found > ===> Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache > ===> Installing existing package /usr/ports/packages/All/ccache-3.1.9.txz > Installing ccache-3.1.9...Create compiler links... > create symlink for cc > create symlink for cc (world) > create symlink for c++ > create symlink for c++ (world) > create symlink for gcc > create symlink for gcc (world) > create symlink for g++ > create symlink for g++ (world) > create symlink for clang > create symlink for clang (world) > create symlink for clang++ > create symlink for clang++ (world) > done > > NOTE: > Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for > information on using ccache with FreeBSD ports and src. > ===> Returning to build of p5-Bit-Vector-7.2_2 > ====================================================================== > ===> Cleaning for p5-Bit-Vector-7.2_2 > ================================================= > ====================================================================== > ================================================= > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found > ====================================================================== > ================================================= > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found > => SHA256 Checksum mismatch for Bit-Vector-7.2.tar.gz. > ===> Refetch for 1 more times files: Bit-Vector-7.2.tar.gz > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found > => Bit-Vector-7.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.dti.ad.jp/pub/lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch ftp://mirror.hiwaay.net/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch http://at.cpan.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://at.cpan.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch http://backpan.perl.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://backpan.perl.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Not Found > => Attempting to fetch ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch http://cpan.nctu.edu.tw/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://cpan.nctu.edu.tw/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz: size mismatch: expected 135586, actual 137817 > => Couldn't fetch it - please try to retrieve this > => port manually into /usr/ports/distfiles/ and try again. > *** [do-fetch] Error code 1 > > Stop in /usr/ports/math/p5-Bit-Vector. > *** [checksum] Error code 1 > > Stop in /usr/ports/math/p5-Bit-Vector. > ===> Cleaning for p5-Bit-Vector-7.2_2 > build of /usr/ports/math/p5-Bit-Vector ended at Fri Mar 1 12:39:17 CET 2013 -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-1342572508-1362398204=:91347--