p5-Bit-Vector SHA256 Checksum mismatch (was PERL problem installing SQLgrey)
Trond Endrestøl
Trond.Endrestol at fagskolen.gjovik.no
Mon Mar 4 11:56:49 UTC 2013
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 at 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---
> =======================<phase: depends >==========================
> ===> 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
> =======================<phase: check-config>==========================
> ======================================================================
> =======================<phase: fetch >==========================
> ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found
> ======================================================================
> =======================<phase: checksum >==========================
> ===> 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. |
+-------------------------------+------------------------------------+
More information about the freebsd-questions
mailing list