bsd.obj.mk: chown: /tmp/test/obj: Operation not permitted

2017-01-16 Thread Sebastien Marie
Hi, I recently encounter the following problem by using bsd.prog.mk in a Makefile (from a directory totally unrelated to /usr/src tree): $ cd /tmp/test $ ls Makefile test.c $ cat Makefile PROG= test .include $ make obj making /tmp/test/obj chown: /tmp/test/obj: Operation not permitted *** E

Re: bsd.obj.mk: chown: /tmp/test/obj: Operation not permitted

2017-01-16 Thread Theo Buehler
> The chown(1) error is due to my user (semarie) isn't member of wobj group > (I only use snapshot on this host for upgrading). > > This requirement for a build outside /usr/src seems a bit odd to me. > Do I miss something ? With a newly installed system (after Nov 25) you would not be able to do

Re: bsd.obj.mk: chown: /tmp/test/obj: Operation not permitted

2017-01-16 Thread Sebastien Marie
On Mon, Jan 16, 2017 at 06:44:04PM +0100, Theo Buehler wrote: > > The chown(1) error is due to my user (semarie) isn't member of wobj group > > (I only use snapshot on this host for upgrading). > > > > This requirement for a build outside /usr/src seems a bit odd to me. > > Do I miss something ? >

Re: bsd.obj.mk: chown: /tmp/test/obj: Operation not permitted

2017-01-16 Thread Theo de Raadt
When there are many ways to place & build the tree, there will be more ways it can fail. The complexity to cope with all the details becomes unmanageable as your mail shows. If you can't quickly diagnose what is going on in the scripts, it shows that the complexity has gotten out of hand. The pr