Subject: Re: Updating pkgsrc on NetBSD 1.6 (aargh matey)
To: Ravengate <netbsd-help@netbsd.org>
From: Ravengate <isaac@ravengate.net>
List: netbsd-help
Date: 08/17/2005 19:09:29
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
------------------------------

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
gmake[1]: *** [wget.1] Error 127
gmake[1]: Leaving directory `/usr/pkgsrc/net/wget/work/wget-1.7/doc'
gmake: *** [doc] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/wget
*** Error code 1

Stop.

----- Original Message ----- 
From: "Ravengate" <isaac@ravengate.net>
To: <netbsd-help@netbsd.org>
Sent: Wednesday, August 17, 2005 7:00 PM
Subject: Updating pkgsrc on NetBSD 1.6 (aargh matey)


>
> Hello,
>
> i have tried to make sense of the FAQs, HOWTOs, and various things i have 
> found via the all powerful google but to no avail.
>
> (doing this on a 486DX sucks too because everytime i get it wrong it takes 
> forever to rm -rf, repeat untar, etc)
>
> anyhow,
>
> my netbsd 1.6 system has been a rock as far as its firewall duties go.  i 
> decided, hey it would be neat to update /usr/pkgsrc
>
> so following the tutorial on the netbsd webpage 
> (http://www.netbsd.org/guide/en/chap-pack.html#chap-pack-install)
>
> i do:
>
> rm -rf /usr/pkgsrc
>
> ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-current/tar_files/.
>
> did that, untarred tar ball, etc.  nothing would build.  wget, etc.  (this 
> must be because it is current? - i wish the help file would be more 
> verbose on this kind of stuff)
>
>
> so then i downloaded the tarball of pkgsrc.tgz from 
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6/source/sets/
>
> untar, watch tv, blah, blah and none of the pkgsrc works out of there 
> either.
>
> ---------------------------
>
> can someone please tell me where to get a working pkgsrc for 1.6?  and 
> then after i build a few packages the best way to update pkgsrc 1.6 so 
> that stuff works right?
>
> thank you,
> jg
>
>
>
>
>