Date: Thu, 1 May 2014 23:06:33 +0200 From: Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> To: freebsd-arm@FreeBSD.org Subject: Re: crochet - why does it (try to) change files in /usr/src? Message-ID: <20140501230633.5044af70fba9e4d4ed00933e@getmail.no> In-Reply-To: <C091DF3B-A989-4C6E-AC74-181214BC4253@kientzle.com> References: <20140501005611.3401d271adf4db31cf8e9246@getmail.no> <C091DF3B-A989-4C6E-AC74-181214BC4253@kientzle.com>
index | next in thread | previous in thread | raw e-mail
On Thu, 1 May 2014 09:45:58 -0700 Tim Kientzle <tim@kientzle.com> wrote: > > On Apr 30, 2014, at 3:56 PM, Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> wrote: > > > ===> lib/libexpat (cleandir) > > rm -f bsdxml.h bsdxml_external.h libbsdxml.3.gz libbsdxml.3.cat.gz > > rm: bsdxml.h: Permission denied > > rm: bsdxml_external.h: Permission denied > > *** Error code 1 > > > > Stop. > > make[4]: stopped in /usr/src/lib/libexpat > > (I wasn't running crochet as root, and I suspect it is the reason for failure) > > > > Question 1: it look to me like the script is trying to remove stuff (files) from /usr/src. Why is it doing that? > > It’s not. > > The ‘buildworld’ target is cleaning the appropriate /usr/obj directories in case there was a previous build there. Ok. Given that the appropriate obj directories (in this case) is in the ./work sub directory of # pwd /usr/home/tingo/work/crochet-freebsd should buildworld really try to touch /usr/obj at all? > > > Question 2: why does crochet need root? > > As for requiring root: This question has resulted in an interesting discussion; it seems like this might change in the future (given time and manpower). Thanks to everyone for the answers. -- Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140501230633.5044af70fba9e4d4ed00933e>
