Subject: Re: Does the batch build of pkgsrc work?
To: Tero Kivinen <kivinen@ssh.fi>
From: Alistair Crooks <agc@pkgsrc.org>
List: current-users
Date: 03/30/2001 10:13:08
On Thu, Mar 29, 2001 at 08:24:31PM +0300, Tero Kivinen wrote:
> 
> I have been trying to do batch build of the whole pkgsrc for while,
> but I seem to run in lots of problems. Has anybody tested batch
> building lately?
> 
> The first problem was that pkglint couldn't be uninstalled, because
> there was package which dependend on it, and the pkg_delete failed. 
> 
> The second problem was that pkg_info complained about missing argument
> to -e option. This was fixed by changing the
> 
> ${PKG_INFO} -qe $$pkgname
> 
> to
> 
> ${PKG_INFO} -qe "$$pkgname"
> 
> in all places in the bsd.bulk-pkg.mk.
> 
> Then some building at least www/wwwcount seems to hung for waiting the
> "yes" to finish (i.e the yes consumes 98% of cpu time, and nothing
> happens, when I kill the yes then the installation continues).
> 
> So is the batch build broken or is my configuration somehow broken...
> 
> Piece of my /etc/mk.conf:
> ----------------------------------------------------------------------
> OBJMACHINE=yes
> MKOBJDIRS=yes
> 
> BATCH=yes
> DEPENDS_TARGET?=        bulk-install
> PACKAGES?=              ${PKGSRCDIR}/packages/${MACHINE_ARCH}
> OBJMACHINE?=            1                 # use work.${MACHINE_ARCH}
> WRKOBJDIR?=             /usr/tmp/pkgsrc   # build here instead of in pkgsrc
> FAILOVER_FETCH=         yes               # insist on the correct checksum
> PKG_DEVELOPER?=         yes
> ...
> ----------------------------------------------------------------------
> 
> The netbsd is NetBSD 1.5T compiled Wed Mar 28 08:07:43 EEST 2001, from
> sources cvs updated from the anoncvs.no.netbsd.org few hours before (I
> am using the anoncvs.no.netbsd.org because the ssh connection to the
> anoncvs.netbsd.org seems to be broken so often). 
> -- 
> kivinen@ssh.fi                               Work : +358 303 9870
> SSH Communications Security                  http://www.ssh.fi/
> SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/

The bulk builds run all the time, on a number of different architectures.

The last results I saw for 1.5.1_ALPHA/i386 were:

> Date: Tue, 27 Mar 2001 12:21:33 -0800 (PST)
> From: Hubert Feyrer <feyrer@rfhpc8318.fh-regensburg.de>
> Subject: pkgsrc/i386 bulk build results 2001-03-27
> 
> 
> *** NetBSD 1.5.1_ALPHA/i386
> *** Result of bulk pkgsrc build as of Tue Mar 27 12:18:35 PST 2001:
> 
> Pkg                     State       	Pkgs broken by	(last modified, maintainer)
> audio/krio:             build broken	             	(tron, packages@netbsd.org)
> audio/libao:            build broken	1            	(wiz, reed@reedmedia.net)
> audio/vorbis-tools:     broken depends	             	(wiz, reed@reedmedia.net)
> devel/kdebindings2:     build broken	             	(skrll, )
> devel/kdesdk2:          build broken	             	(skrll, )
> devel/sdcc:             build broken	             	(wiz, packages@netbsd.org)
> devel/stlport:          build broken	             	(jlam, p99dreyf@criens.u-psud.fr)
> emulators/plex86:       build broken	             	(wiz, tron@netbsd.org)
> games/quake3arena-demo: build broken	             	(wiz, wiz@netbsd.org)
> games/quake3arena:      build broken	             	(wiz, jmcneill@invisible.yi.org)
> lang/ghc:               build broken	             	(agc, packages@netbsd.org)
> lang/jbuilder-jit:      broken depends	             	(agc, tv@netbsd.org)
> lang/tcl-itcl:          build broken	             	(jtb, packages@netbsd.org)
> lang/tcl-tclX:          build broken	1            	(agc, jwise@netbsd.org)
> lang/tk-tclX:           broken depends	             	(agc, jwise@netbsd.org)
> math/py-Scientific:     build broken	             	(jtb, jtb@netbsd.org)
> math/tela:              build broken	             	(jtb, jtb@netbsd.org)
> net/airportbasestationconfig: broken depends	             	(hubertf, tron@netbsd.org)
> net/ppp-mppe:           build broken	             	(wiz, dbj@netbsd.org)
> security/py-crypto:     build broken	             	(hubertf, tsarna@netbsd.org)
> sysutils/aperture:      build broken	             	(wiz, jlam@netbsd.org)
> sysutils/i2ocfg:        build broken	             	(ad, ad@netbsd.org)
> time/devtodo:           build broken	             	(mjl, packages@netbsd.org)
> time/glclock:           build broken	             	(wiz, packages@netbsd.org)
> wm/fvwm2-current:       build broken	             	(rh, packages@netbsd.org)
> www/quanta:             build broken	             	(zuntum, jmcneill@invisible.yi.org)
> x11/gdm:                build broken	1            	(mjl, tron@netbsd.org)
> x11/gnome:              broken depends	             	(tron, packages@netbsd.org)
> x11/ssystem:            build broken	             	(fredb, fredb@netbsd.org)
> 
> Packages not packaged:     88
> Packages really broken:    24
> Pkgs broken due to them:   5
> Total broken:              29
> Total:                     117

Regards,
Alistair