Re: DPB can't do it's job in 6.0

2016-08-25 Thread trondd
On Thu, August 25, 2016 6:47 pm, Noth wrote: > > I apologize for wasting your time but surely it should be indicated > somewhere that some directories now need owning by _pfetch or _pbuild, > or better they should have proper ownership when dpb is run as root (a > check made on startup maybe?). I

Re: DPB can't do it's job in 6.0

2016-08-25 Thread Noth
On 25/08/16 14:39, Marc Espie wrote: On Fri, Aug 19, 2016 at 08:06:09PM +0200, Noth wrote: Hi misc@ I'm a bit disappointed with dpb in 6.0, I haven't tried the chrooting stuff but was hoping it could still work as before. All I can get it to do now is start downloading src tarballs, and

Re: DPB can't do it's job in 6.0

2016-08-25 Thread Marc Espie
On Fri, Aug 19, 2016 at 08:06:09PM +0200, Noth wrote: > Hi misc@ > > > I'm a bit disappointed with dpb in 6.0, I haven't tried the chrooting > stuff but was hoping it could still work as before. All I can get it to do > now is start downloading src tarballs, and more often than not fail at

Re: DPB can't do it's job in 6.0

2016-08-22 Thread Noth
On 22/08/16 17:29, trondd wrote: On Mon, August 22, 2016 11:17 am, Noth wrote: Once that's all sorted out building works as root with dpb subdir/port. However I can't seem to make it use my list of ports to build, it just complains about a bad pkgpath. Where do you have the file containing the

Re: DPB can't do it's job in 6.0

2016-08-22 Thread trondd
On Mon, August 22, 2016 11:17 am, Noth wrote: > Once that's all sorted out building works as root with dpb subdir/port. > However I can't seem to make it use my list of ports to build, it just > complains about a bad pkgpath. Where do you have the file containing the list? Even on 5.9 you can't

Re: DPB can't do it's job in 6.0

2016-08-22 Thread Noth
OK I've worked out most of the problem: permissions and ownership of course! /usr/ports/distfiles must be owned by _pfetch:_pfetch /usr/ports/logs /usr/ports/packages /usr/ports/plist /usr/ports/pobj need to be owned by _pbuild:_pbuild . Also, if you're signing with your own key, it must

Re: DPB can't do it's job in 6.0

2016-08-19 Thread Christian Weisgerber
patrick keshishian: > > No, running dpb as root is also optional. > > true, but then it doesn't switch users to _p{build,fetch}. it runs > as user starting it. That is correct. Setting up your system so that dpb switches to different users is great for bulk builds but renders ports development

Re: DPB can't do it's job in 6.0

2016-08-19 Thread patrick keshishian
On 8/19/16, Christian Weisgerber wrote: > On 2016-08-19, Stuart Henderson wrote: > >> The chroot support is currently optional, but you do need to create the >> user accounts if sysmerge didn't do it for you (_pbuuld, _pfetch), and >> start dpb as root.

Re: DPB can't do it's job in 6.0

2016-08-19 Thread Christian Weisgerber
On 2016-08-19, Stuart Henderson wrote: > The chroot support is currently optional, but you do need to create the > user accounts if sysmerge didn't do it for you (_pbuuld, _pfetch), and > start dpb as root. No, running dpb as root is also optional. -- Christian "naddy"

Re: DPB can't do it's job in 6.0

2016-08-19 Thread Stuart Henderson
On 2016-08-19, Noth wrote: > Hi misc@ > > >I'm a bit disappointed with dpb in 6.0, I haven't tried the chrooting > stuff but was hoping it could still work as before. All I can get it to > do now is start downloading src tarballs, and more often than not fail > at