pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

2007Q2 bootstrap issues on Solaris 10



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
|===> bootstrap command: ./bootstrap --workdir work.sunos-5.10-sparc --prefix 
/usr/local --pkgdbdir
|/store/pkgsrc/db --pkgmandir /usr/local/man --sysconfdir /usr/local/etc 
--varbase /var
|===> bootstrap started: Tue Oct 16 00:22:55 PDT 2007
|Working directory is: work.sunos-5.10-sparc
:
:
|===> Registering installed packages
|===> running: (cd /store/pkgsrc/pkgsrc/pkgtools/bootstrap-mk-files && 
/usr/local/bin/bmake  -DPKG_PRESERVE
|MAKECONF=work.sunos-5.10-sparc/mk.conf.example 
WRKOBJDIR=work.sunos-5.10-sparc/pkgsrc  bootstrap-register)
|bmake: "/store/pkgsrc/pkgsrc/pkgtools/bootstrap-mk-files/Makefile" line 49: 1 
open conditional
|bmake: Fatal errors encountered -- cannot continue
|
|bmake: stopped in /store/pkgsrc/pkgsrc/pkgtools/bootstrap-mk-files
|===> exited with status 1
|aborted.
|#

... which looks like somewhere there's a missing .endif in a Makefile,
but this is surprising since the same pkgsrc tarball was able to
bootstrap itself fine in my main system a few days ago ...

-- 
Malcolm Herbert                                This brain intentionally
mjch%mjch.net@localhost                                                left 
blank



Home | Main Index | Thread Index | Old Index