Subject: [3.0 i386] Fresh install problem: pkgtools
To: None <netbsd-help@netbsd.org>
From: Sylvain Briole <sbriole.mls@free.fr>
List: netbsd-help
Date: 01/11/2006 16:23:11
Hi all,

I have a problem attempting to install the pkgtools on my freshly installed
NetBSD 3.0 i386.
I have made a default installation, with all packages except games.

On my fresh installed system, I have tried to install pkgtools :

Downloaded ftp://ftp.netbsd.org/pub/pkgsrc/2005Q4/pkgsrc-2005Q4.tar.bz2
cd /usr
tar xjpf $HOME/pkgsrc-2005Q4.tar.bz2 -C /usr
mkdir /usr/pkgsrc_distfiles
vi /etc/mk.conf
   DISTDIR=/usr/pkgsrc_distfiles
export ftp_proxy=http://myproxy:myport/
export http_proxy=http://myproxy:myport/
cd /usr/pkgsrc/pkgtools
make

And then, a problem with dfdisk during the make process :

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
===> dfdisk
===> *** No /usr/pkgsrc_distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Building for dfdisk-1.0
make: cannot open Makefile.

make: stopped in /usr/pkgsrc/pkgtools/dfdisk/work
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/pkgtools/dfdisk
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/pkgtools/dfdisk/work/.work.log
===>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/dfdisk
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Then I have dumped /usr/pkgsrc/pkgtools/dfdisk/work/.work.log

# cat  /usr/pkgsrc/pkgtools/dfdisk/work/.work.log
[*] /usr/pkgsrc/pkgtools/dfdisk/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/pkgtools/dfdisk/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/pkgtools/dfdisk/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/pkgtools/dfdisk/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/pkgtools/dfdisk/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/pkgtools/dfdisk/work/.tools/bin/true
<.> true
[*] /usr/pkgsrc/pkgtools/dfdisk/work/.tools/bin/true
<.> true
#

What's that?

I have also tried with ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz : I
have the same problem!

I thank you in advance for any tip!

Sylvain.