Subject: Re: Updating pkgsrc on NetBSD 1.6 (aargh matey)
To: Ravengate <isaac@ravengate.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 08/18/2005 21:28:11
On Wed, Aug 17, 2005 at 07:09:29PM -0700, Ravengate wrote:
> here are some errors i get in order to help illustrate what i am seeing:
> 
> bash-2.05b# make
> => ipcalc.pl doesn't seem to exist on this system.
> => Attempting to fetch ipcalc.pl from http://jodies.de/.
> Requesting http://jodies.de/ipcalc.pl
> 100% 
> |*****************************************************************************************| 
> 14251      35.93 KB/s    00:00 ETA
> => Checksum mismatch for ipcalc-0.35/ipcalc.pl.
> Make sure the Makefile and checksum file (/usr/pkgsrc/net/ipcalc/distinfo)
> are up to date.  If you want to override this check, type
> "make NO_CHECKSUM=yes [other args]".
> *** Error code 1
> ------------------------------

Do you fetch via a http proxy ? I noticed checksum mismatch when ascii
files are downloaded via http proxy ...

> 
> that one complains about a checksome mismatch but others like wget complain 
> like:
> 
> /usr/pkg/share/locale\" -DINET6 
> -I/usr/pkgsrc/net/wget/work/.buildlink/include -O2 -c safe-ctype.c
> /bin/sh ../libtool 
> cc -DINET6 -I/usr/pkgsrc/net/wget/work/.buildlink/include -O2 
> -L/usr/pkgsrc/net/wget/work/.buildlink/lib -Wl,-R/usr/pkg/lib -o wget  
>  cmpt.o connect.o cookies.o fnmatch.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o 
> getopt.o hash.o headers.o host.o html-parse.o html-url.o http.o init.o 
> log.o main.o md5.o netrc.o rbuf.o recur.o retr.o snprintf.o  url.o utils.o 
> version.o safe-ctype.o -lintl
> mkdir .libs
> cc -DINET6 -I/usr/pkgsrc/net/wget/work/.buildlink/include -O2 
> -L/usr/pkgsrc/net/wget/work/.buildlink/lib -Wl,-R/usr/pkg/lib -o wget 
> cmpt.o connect.o cookies.o fnmatch.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o 
> getopt.o hash.o headers.o host.o html-parse.o html-url.o http.o init.o 
> log.o main.o md5.o netrc.o rbuf.o recur.o retr.o snprintf.o url.o utils.o 
> version.o safe-ctype.o -lintl
> gmake[1]: Leaving directory `/usr/pkgsrc/net/wget/work/wget-1.7/src'
> cd doc && /usr/pkg/bin/gmake CC='cc' 
> CPPFLAGS='-I/usr/pkgsrc/net/wget/work/.buildlink/include  ' 
> DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\" 
> -DLOCALEDIR=\"/usr/pkg/share/locale\"' CFLAGS='-DINET6 
> -I/usr/pkgsrc/net/wget/work/.buildlink/include -O2' 
> LDFLAGS='-L/usr/pkgsrc/net/wget/work/.buildlink/lib  -Wl,-R/usr/pkg/lib' 
> LIBS='-lintl' prefix='/usr/pkg' exec_prefix='/usr/pkg' 
> bindir='/usr/pkg/bin' infodir='/usr/pkg/info' mandir='/usr/pkg/man' 
> manext='1'
> gmake[1]: Entering directory `/usr/pkgsrc/net/wget/work/wget-1.7/doc'
> sed s,/usr/bin/perl,/usr/bin/perl, texi2pod.pl.in > texi2pod.pl
> chmod u+x texi2pod.pl
> ./texi2pod.pl wget.texi wget.pod
> /usr/pkg/bin/pod2man --center="GNU Wget" --release="GNU Wget 1.7" wget.pod 
> > wget.1
> /usr/pkg/bin/pod2man: not found

Looks like it has a build dependancy on perl for this.
In pkgsrc-current this is properly recorded in the Makefile ...
As you're trying to build wget 1.7 I guess you're using a quite old pkgsrc.
Please update.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--