Date: Tue, 15 Apr 2014 05:20:02 -0700 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: freebsd-pkg@freebsd.org Subject: Re: Read-only nullfs mounts should become read-write? Message-ID: <CAG=rPVf5AWhEWtT=p92BDJ0PrKaAD3B1Awc87EoRnuicr5tpxA@mail.gmail.com> In-Reply-To: <CAG=rPVcNFZfTP9j-848BOvoM=-z83SPerb1d%2ByJ0HOaSHdoJJA@mail.gmail.com> References: <CAG=rPVcNFZfTP9j-848BOvoM=-z83SPerb1d%2ByJ0HOaSHdoJJA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 14, 2014 at 6:26 PM, Craig Rodrigues <rodrigc@freebsd.org> wrote: > > When doing a build, I encountered errors like this during every ports build: > > ===> Fetching all distfiles required by rcs-5.8.2 for building > ===> Extracting for rcs-5.8.2 > => SHA256 Checksum OK for rcs-5.8.2.tar.gz. > mkdir: /usr/ports/devel/rcs/work: Read-only file system > *** [do-extract] Error code 1 > OK, I figured out what the problem was. Since I am creating the ports building jail outside of poudriere, I did not do all the steps necessary to prepare a jail for poudriere to build ports with it. I "borrowed" some logic from poudriere's jail.sh script and put it in my own script: https://github.com/freenas/freenas/commit/708c9c70d9e67feb8c908dc902b65f18d1295016 and that fixed the problem. Specifically: (1) jail must have a /wrkdirs directory (2) WRKDIRPREFIX=/wrkdirs must be set inside the /etc/make.conf of the jail -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVf5AWhEWtT=p92BDJ0PrKaAD3B1Awc87EoRnuicr5tpxA>