p5-Bit-Vector SHA256 Checksum mismatch (was PERL problem installing SQLgrey)

2013-03-04 Thread Wolfgang Riegler
Hi,

I have the same problem. I use poudriere to package all needed software for my 
servers.

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.

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: to...@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 

Re: p5-Bit-Vector SHA256 Checksum mismatch (was PERL problem installing SQLgrey)

2013-03-04 Thread Trond Endrestøl
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+, 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: to...@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 

Re: PERL problem installing SQLgrey

2013-02-21 Thread Matthew Seaman
On 20/02/2013 21:22, lcon...@go2france.com wrote:
 ===   p5-Date-Calc-6.3 depends on package: p5-Bit-Vector=7.1 - not found
 ===Verifying install for p5-Bit-Vector=7.1 in
 /usr/ports/math/p5-Bit-Vector
 ===  Extracting for p5-Bit-Vector-7.2_2
 = SHA256 Checksum mismatch for Bit-Vector-7.2.tar.gz.
 
 
 and it can't find it anywhere else.
 
 bombs out with:
 
 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.
 *** Error code 1

Did you try updating your ports to the latest and:

   cd /usr/ports/math/p5-Bit-Vector
   make distclean

and then try and install sqlgrey again?  If you get the same error
repeatably, then it's possibly a bug in the p5-Bit-Vector port --
perhaps the distfile was changed, in which case the port maintainer
would have to update the distinfo to match.

In any case, if you're still having problems, please ask again on
freebsd-po...@freebsd.org

Cheers,

Matthew

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


math/p5-Bit-Vector size error (was PERL problem installing SQLgrey)

2013-02-21 Thread parv
in message 51253e9d.901a.28c09d00.5088e...@go2france.com,
wrote lcon...@go2france.com thusly...


  freebsd 9.0

 portsnap fetch update
...
 ===  Installing for sqlgrey-1.8.0
...
 ===   sqlgrey-1.8.0 depends on package: p5-Date-Calc=0 - not found
 ===Verifying install for p5-Date-Calc=0 in /usr/ports/devel/p5-Date-Calc
 ===   p5-Date-Calc-6.3 depends on package: p5-Bit-Vector=7.1 - not found
 ===Verifying install for p5-Bit-Vector=7.1 in 
 /usr/ports/math/p5-Bit-Vector
 ===  Extracting for p5-Bit-Vector-7.2_2
 = SHA256 Checksum mismatch for Bit-Vector-7.2.tar.gz.


 and it can't find it anywhere else.

 bombs out with:

 fetch:
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz:
 size mismatch: expected 135586, actual 137817

No error of that sort here (on FreeBSD 8.3-STABLE/i386 in Hawaii,
USA).


 = Couldn't fetch it - please try to retrieve this
 = port manually into /usr/ports/distfiles/ and try again.
 *** Error code 1
...

Here source was fetched from ...

  ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz


... and port was built without fatal errors (lots of warning: cast
to pointer from integer of different size though).


-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PERL problem installing SQLgrey

2013-02-20 Thread lconrad


freebsd 9.0

portsnap fetch update

... completed successfully

cd /usr/ports/mail/sqlgrey


make install

===  Installing for sqlgrey-1.8.0
===   sqlgrey-1.8.0 depends on package: p5-Net-Server=0 - found
===   sqlgrey-1.8.0 depends on package: p5-IO-Multiplex=0 - found
===   sqlgrey-1.8.0 depends on package: p5-Pod-Parser=0 - found
===   sqlgrey-1.8.0 depends on package: p5-DBD-mysql=0 - found
===   sqlgrey-1.8.0 depends on package: p5-Date-Calc=0 - not found
===Verifying install for p5-Date-Calc=0 in 
/usr/ports/devel/p5-Date-Calc
===   p5-Date-Calc-6.3 depends on package: p5-Bit-Vector=7.1 - not 
found
===Verifying install for p5-Bit-Vector=7.1 in 
/usr/ports/math/p5-Bit-Vector

===  Extracting for p5-Bit-Vector-7.2_2
= SHA256 Checksum mismatch for Bit-Vector-7.2.tar.gz.


and it can't find it anywhere else.

bombs out with:

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.
*** Error code 1

Stop in /usr/ports/math/p5-Bit-Vector.
*** Error code 1

Stop in /usr/ports/math/p5-Bit-Vector.
*** Error code 1

Stop in /usr/ports/devel/p5-Date-Calc.
*** Error code 1

Stop in /usr/ports/mail/sqlgrey.
*** Error code 1

but:

cpanm Date::Calc
Date::Calc is up to date. (6.3)

cpanm Bit::Vector
Bit::Vector is up to date. (7.2)

thanks
Len


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org