Subject: Re: pkgsrc/bootstrap is broken , Solaris and co
To: None <tech-pkg@netbsd.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 07/20/2006 14:14:19
> 
> This should be fixed now.  I'm not sure why this wasn't picked up on my 
> Mac OS X system, and I'll have to investigate that later.

Something goes wrong with SED now,
I don't understand what's happen , 

TOOLS_PLATFORM.sed?=            /usr/pkg/bin/nbsed
is defined in /pkg/obj/mk.conf.example, I look for SED with bmake -dvx and found
SED = ${TOOLS_PLATFORM.sed}

but in mk/platform/SunOS.mk, SED seems not defined at line
.if !exists(${SED}) || ${SED} == "/usr/xpg4/bin/sed"


here is the error:
--------------------------------------------------------------------------------
.././install-sh -c -m 444 linkfarm.cat1 /usr/pkg/man/cat1/linkfarm.0
.././install-sh -c -m 444 pkg_view.1 /usr/pkg/man/man1/pkg_view.1
.././install-sh -c -m 444 pkg_view.cat1 /usr/pkg/man/cat1/pkg_view.0
===> Registering installed packages
===> running: (cd ../pkgtools/bootstrap-mk-files && /usr/pkg/bin/bmake 
MAKECONF=/pkg/obj/mk.conf
.example WRKOBJDIR=/pkg/obj/pkgsrc bootstrap-register)

===========================================================================

ERROR: pkgsrc now requires a more functional sed(1) than Solaris provides.
you can satisfy this requirement by running:

    cd /usr/pkgsrc/textproc/nbsed; /usr/pkg/bin/bmake install

this will install /usr/pkg/bin/nbsed and eliminate this message.
(nbsed is already installed by recent bootstrap-pkgsrc).

===========================================================================

*** Error code 255

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/bootstrap-mk-files
===> exited with status 1
aborted.