Subject: Re: Building 1.6.1 pkgsrc with -current
To: Conrad T. Pino <>
From: Alistair Crooks <>
List: current-users
Date: 12/29/2003 11:21:23
On Sun, Dec 28, 2003 at 05:14:38PM -0800, Conrad T. Pino wrote:
> Hi,
> Is it possible use an i386 system tracking the -current
> branch to build binary packages for 1.6.1 i386 systems?
> If yes, cross branch builds work then is there a how-to
> document available?

Regular sandbox builds (i.e.  builds for the same OS that is running)
can be done by using the pkgsrc/mk/bulk/mksandbox script.

[10:45:27] agc@sys1 ~ 6 > /usr/pkgsrc/mk/bulk/mksandbox 
Usage: mksandbox [--pkgsrc=dir] [--src=srcdir] [--verbose] sandbox-dir
[10:45:32] agc@sys1 ~ 7 >

This sets up a sandbox for you with null mounts.

For doing builds in a sandbox for a different version of the
operating system, either use pkg_comp and libkver, or use a