Subject: Re: 2007Q2 bootstrap issues on Solaris 10
To: None <pkgsrc-users@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 10/17/2007 15:21:47
On Wed, Oct 17, 2007 at 04:24:21AM +0200, Roland Illig wrote:
> Malcolm Herbert wrote:
>> I'm trying to set up a clean pkgsrc build area inside a Solaris 10
>> zone to do bulk builds but am having issues getting the bootstrap
>> properly installed. Because of idiosyncrasies with the intended install
>> environment, I've had to set things up to install into /usr/local
>> instead of the usual /usr/pkg directory tree, hence the need to keep
>> this build segregated from the rest of the system.
>> So, I created the zone and populated it and set up the SUNWspro compiler
>> etc, etc. Building the bootstrap seemed to work OK, but it failed at the
>> package registration step with the following messages:
>> |# sh ./bootstrap --workdir work.sunos-5.10-sparc --prefix /usr/local 
>> --pkgdbdir /store/pkgsrc/db --pkgmandir
>> |# /usr/local/man --sysconfdir /usr/local/etc --varbase /var
>
> please use ksh instead of sh, because the latter might be /bin/sh, which is 
> very broken.

Or even better, switch to 2007Q3, which should use a proper shell by
default.

Joerg