(I realized this thread should possible been sent to ports@, sorry)

On Mon, Feb 08, 2016 at 09:42:47PM +0000, Christian Weisgerber wrote:
> On 2016-02-08, Andreas Kusalananda Kähäri <[email protected]> wrote:
> 
> > I'm trying to get DPB to use the _pbuild user, but I'm failing.  I
> > managed, with "-D FETCH_USER=_pfetch", to use the _pfetch user for
> > fetching distfiles, but DPB insists on using my personal user account
> > for actual building, even though I set "-D BUILD_USER=_pbuild".
> 
> I use this, together with WRKOBJDIR=/usr/obj/ports in /etc/mk.conf:
>   
> FETCH_USER=_pfetch
> LOG_USER=naddy
> STARTUP=install -d -o _pbuild -g _pbuild /usr/obj/ports
> DEFAULT build_user=_pbuild stuck=4000
> localhost
> ...
> 
> Possibly -D BUILD_USER doesn't work, I don't quite remember.
> It took me some experimenting to arrive at a working configuration.


Using a hosts file (with -h) seems to work better, and I discovered that
_pbuild also needs to own /usr/ports/distfiles/build-stats

Thanks,

-- 
Andreas Kusalananda Kähäri, Bioinformatics Developer, Uppsala, Sweden
OpenPGP: url=https://db.tt/2zaB1E7y; id=46082BDF
------------------------------------------------------------------------

Reply via email to