Subject: Re: nbase missing in packages for nmap and nmapfe
To: None <netbsd-help@netbsd.org>
From: Daniel R. Killoran,Ph.D. <drkilloran@speakeasy.net>
List: netbsd-help
Date: 08/13/2003 10:17:49
--============_-1151338166==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

>>On Mon, 11 Aug 2003, Daniel R. Killoran,Ph.D. wrote:
>>
>>>  When it was suggested that I had an old pgksrc, I ftp'ed to
>>>  ftp.netbsd.org, then
>>>  I
>>>  cd pub
>>>  cd NetBSD
>>>  cd packages
>>  > get bootstrap-pkgsrc.tar.gz
>
>Jeremy C. Reed replied:
>
>>That is for getting started with pkgsrc. That is for building and
>>installing bmake, pkg_* tools, mtree, ftp, etc.
>>
>>The real pkgsrc is at pkgsrc.tar.gz (not "bootstrap") -- it is over ten
>>times bigger. It was last updated August 9th, I believe.
>
>Ah! Thanks, I will use that one.
>
>>Have a look at
>>http://www.netbsd.org/Documentation/software/packages.html
>>
>>(I use cvs to update my pkgsrc collection. But I don't see the examples
>>on that webpage.)
>>
>
>Yes, there is an example of using CVS. However, the page leaves the 
>strong impression that bootstrap-pkgsrc.tar.gz is the one to use!
>
>
>Dan Killoran

Continuing...

So I did that, and when I tried to make nmap, it said:

MacIIvx# pwd
/usr1/pkgsrc/net/nmap
MacIIvx# make
===> Your package tools need to be updated to 2002/11/23 versions.
===> The installed package tools were last updated on 2002/08/04.
===> To fix this, use the following command:
===>    cd /usr1/pkgsrc/pkgtools/pkg_install && make install
*** Error code 1

Stop.
make: stopped in /usr1/pkgsrc/net/nmap


OK, so I

MacIIvx# cd /usr1/pkgsrc/pkgtools/pkg_install
MacIIvx# make install
===> *** No /usr1/pkgsrc/distfiles/vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Extracting for pkg_install-20030423
===> Patching for pkg_install-20030423
===> Applying pkgsrc patches for pkg_install-20030423
File to patch:


.. and after an hour or 2 it occurred to me that it must be waiting 
for an input.
???
so I tried a carr.ret, and it said

No file found--skip this patch? [n] n
File to patch:
No file found--skip this patch? [n] y
3 out of 3 hunks ignored--saving rejects to Makefile.inc.rej
Patch /usr1/pkgsrc/pkgtools/pkg_install/patches/patch-aa failed
*** Error code 1

Stop.
make: stopped in /usr1/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr1/pkgsrc/pkgtools/pkg_install

I don't know quite what to make of all this ... "a maze of twisty 
little passages, all different..."

Dan Killoran
--============_-1151338166==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: nbase missing in packages for nmap and
nmapfe</title></head><body>
<blockquote type="cite" cite>
<blockquote type="cite" cite>On Mon, 11 Aug 2003, Daniel R.
Killoran,Ph.D. wrote:<br>
<blockquote type="cite" cite>&nbsp;When it was suggested that I had an
old pgksrc, I ftp'ed to<br>
&nbsp;ftp.netbsd.org, then<br>
&nbsp;I<br>
&nbsp;cd pub<br>
&nbsp;cd NetBSD<br>
&nbsp;cd packages</blockquote>
</blockquote>
<blockquote type="cite" cite>&nbsp;&gt; get
bootstrap-pkgsrc.tar.gz</blockquote>
</blockquote>
<blockquote type="cite" cite><br>
Jeremy C. Reed replied:<br>
<blockquote type="cite" cite>That is for getting started with pkgsrc.
That is for building and<br>
installing bmake, pkg_* tools, mtree, ftp, etc.<br>
<br>
The real pkgsrc is at pkgsrc.tar.gz (not &quot;bootstrap&quot;) -- it
is over ten<br>
times bigger. It was last updated August 9th, I believe.</blockquote>
</blockquote>
<blockquote type="cite" cite><br>
Ah! Thanks, I will use that one.<br>
<blockquote type="cite" cite>Have a look at<br>
http://www.netbsd.org/Documentation/software/packages.html<br>
<br>
(I use cvs to update my pkgsrc collection. But I don't see the
examples<br>
on that webpage.)<br>
</blockquote>
</blockquote>
<blockquote type="cite" cite><br>
Yes, there is an example of using CVS. However, the page leaves the
strong impression that bootstrap-pkgsrc.tar.gz is the one to use!<br>
<br>
<br>
Dan Killoran</blockquote>
<div><br></div>
<div>Continuing...</div>
<div><br></div>
<div>So I did that, and when I tried to make nmap, it said:</div>
<div><br></div>
<blockquote>MacIIvx# pwd</blockquote>
<blockquote>/usr1/pkgsrc/net/nmap</blockquote>
<blockquote>MacIIvx# make</blockquote>
<blockquote>===&gt; Your package tools need to be updated to
2002/11/23 versions.</blockquote>
<blockquote>===&gt; The installed package tools were last updated on
2002/08/04.</blockquote>
<blockquote>===&gt; To fix this, use the following
command:</blockquote>
<blockquote>===&gt;&nbsp;&nbsp;&nbsp; cd
/usr1/pkgsrc/pkgtools/pkg_install &amp;&amp; make install</blockquote>
<blockquote>*** Error code 1</blockquote>
<blockquote><br></blockquote>
<blockquote>Stop.</blockquote>
<blockquote>make: stopped in /usr1/pkgsrc/net/nmap</blockquote>
<blockquote><br></blockquote>
<div><br></div>
<div>OK, so I</div>
<div><br></div>
<blockquote>MacIIvx# cd /usr1/pkgsrc/pkgtools/pkg_install</blockquote>
<blockquote>MacIIvx# make install</blockquote>
<blockquote>===&gt; *** No /usr1/pkgsrc/distfiles/vulnerabilities file
found,</blockquote>
<blockquote>===&gt; *** skipping vulnerability checks. To fix,
install</blockquote>
<blockquote>===&gt; *** the pkgsrc/security/audit-packages package and
run</blockquote>
<blockquote>===&gt; ***
'/usr/pkg/sbin/download-vulnerability-list'.</blockquote>
<blockquote>===&gt; Extracting for pkg_install-20030423</blockquote>
<blockquote>===&gt; Patching for pkg_install-20030423</blockquote>
<blockquote>===&gt; Applying pkgsrc patches for
pkg_install-20030423</blockquote>
<blockquote>File to patch:</blockquote>
<blockquote><br></blockquote>
<div><br></div>
<div>... and after an hour or 2 it occurred to me that it must be
waiting for an input.</div>
<div>???</div>
<div>so I tried a carr.ret, and it said</div>
<div><br></div>
<blockquote>No file found--skip this patch? [n] n</blockquote>
<blockquote>File to patch:</blockquote>
<blockquote>No file found--skip this patch? [n] y</blockquote>
<blockquote>3 out of 3 hunks ignored--saving rejects to
Makefile.inc.rej</blockquote>
<blockquote>Patch /usr1/pkgsrc/pkgtools/pkg_install/patches/patch-aa
failed</blockquote>
<blockquote>*** Error code 1</blockquote>
<blockquote><br></blockquote>
<blockquote>Stop.</blockquote>
<blockquote>make: stopped in
/usr1/pkgsrc/pkgtools/pkg_install</blockquote>
<blockquote>*** Error code 1</blockquote>
<blockquote><br></blockquote>
<blockquote>Stop.</blockquote>
<blockquote>make: stopped in
/usr1/pkgsrc/pkgtools/pkg_install</blockquote>
<blockquote><br></blockquote>
<div>I don't know quite what to make of all this ... &quot;a maze of
twisty little passages, all different...&quot;</div>
<div><br></div>
<div>Dan Killoran</div>
</body>
</html>
--============_-1151338166==_ma============--