Subject: Re: Broken pkgtools/pkg_install
To: None <tech-pkg@netbsd.org>
From: Jonathan Perkin <sketch@rd.bbc.co.uk>
List: tech-pkg
Date: 01/30/2003 16:06:32
* On 2003-01-09 at 13:28 GMT, Amitai Schlair wrote:
> Jonathan Perkin wrote:
>
> > --<jonp@sunf25>-</home/jonp/pkgsrc/pkgtools/pkg_install>--
> > -% bmake
> > ===> Extracting for pkg_install-20021123
> > ===> Required package db>=2.7.3: NOT found
> > ===> Verifying reinstall for ../../databases/db
> > Your package tools need to be updated to 2002/11/23 versions.
> > The installed package tools were last updated on 2002/08/27.
> > Please "make install" in ../../pkgtools/pkg_install.
>
> Sadly, I caused this without the benefit of crack. I just committed
> what should be a fix, though I don't have a db-less system to test.
> Mind updating your pkgsrc and trying again?
Your fix doesn't work as it only defines NO_PKGTOOLS_REQD_CHECK for
pkgtools/pkg_install itself, and not the dependancies:
===> Extracting for pkg_install
===> Required package db>=2.7.3: NOT found
===> Verifying reinstall for ../../databases/db
=> Checksum OK for db-2.7.7.tar.gz.
===> Extracting for db-2.7.7nb1
===> Required package libtool-base>=1.4.20010614nb11: NOT found
===> Verifying reinstall for ../../devel/libtool-base
===> Your package tools need to be updated to 2002/11/23 versions.
===> The installed package tools were last updated on 2002/08/27.
===> Please "bmake install" in ../../pkgtools/pkg_install.
*** Error code 255
Short of the horrendous bodge of filling every pkg_install dependancy
Makefile with NO_PKGTOOLS_REQD_CHECK I don't have any ideas on a real
fix yet.
FWIW, I just redid ./bootstrap as I moved to a different architecture,
so didn't pick up on the fact this "fix", well, didn't :-) A colleague
has ran into the same problem now though.
--
Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) - http://support.bbc.co.uk/