Subject: Re: pkgsrc/bootstrap is broken , Solaris and co
To: None <>
From: Gilles Dauphin <>
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

but in mk/platform/, 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 
.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

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