Re: /usr/src beforeinstall: make prereq as BUILDUSER

2016-10-15 Thread Theo Buehler
Here's a different approach that doesn't involve the ugly branching depending on id -u. When Theo and I discussed the problem, we concluded that the order of cleandir: and includes: is wrong during make build. Swapping them results in a list of 28 root-owned files in /usr/obj/:

Re: /usr/src beforeinstall: make prereq as BUILDUSER

2016-10-14 Thread Martin Natano
On Thu, Oct 13, 2016 at 02:48:07AM +0200, Theo Buehler wrote: > On Wed, Oct 12, 2016 at 10:30:26PM +0200, Theo Buehler wrote: > > Several people noticed that a few files from libstdc++-v3 in /usr/obj > > end up being owned by root, namely: > > > > c++config.h gthr.h gthr-single.h gthr-posix.h

Re: /usr/src beforeinstall: make prereq as BUILDUSER

2016-10-12 Thread Theo Buehler
On Wed, Oct 12, 2016 at 10:30:26PM +0200, Theo Buehler wrote: > Several people noticed that a few files from libstdc++-v3 in /usr/obj > end up being owned by root, namely: > > c++config.h gthr.h gthr-single.h gthr-posix.h gthr-tpf.h gthr-default.h > > The problem is that they are regenerated by

/usr/src beforeinstall: make prereq as BUILDUSER

2016-10-12 Thread Theo Buehler
Several people noticed that a few files from libstdc++-v3 in /usr/obj end up being owned by root, namely: c++config.h gthr.h gthr-single.h gthr-posix.h gthr-tpf.h gthr-default.h The problem is that they are regenerated by root when beforeinstall does 'make includes' directly from