Date: Sat, 3 May 2014 14:15:00 +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: <20140503141500.4221758509cd70232b5b93b9@getmail.no> In-Reply-To: <1398987908.22079.143.camel@revolution.hippie.lan> References: <20140501005611.3401d271adf4db31cf8e9246@getmail.no> <C091DF3B-A989-4C6E-AC74-181214BC4253@kientzle.com> <20140501230633.5044af70fba9e4d4ed00933e@getmail.no> <1398987908.22079.143.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 01 May 2014 17:45:08 -0600 Ian Lepore <ian@FreeBSD.org> wrote: > > It's not, if the obj dir is inside ./work then surely the script has set > MKOBJDIRPREFIX to reflect that, and that's where it would be doing the > delete. Agreed - it *should* do the delete there. > Is it possible you had run the script previously as root, and this time > you were not root? Possible, but not likely. To be sure, I renamed the work directory and tried one more time: $ mv work work_old $ sh crochet.sh -b RaspberryPi Starting at Sat May 3 12:24:09 CEST 2014 Board: RaspberryPi Source version is: r265148 Building FreeBSD version: 10.0 Image name is: /usr/home/tingo/work/crochet-freebsd/work/FreeBSD-armv6-10.0-RPI-B-r265148.img Building FreeBSD version: 10.0 Object files are at: /usr/home/tingo/work/crochet-freebsd/work/obj/arm.armv6/usr/src Found suitable FreeBSD source tree in: /usr/src Found FreeBSD xdev tools for armv6 Found U-Boot sources in: /usr/home/tingo/work/crochet-freebsd/u-boot-rpi Building FreeBSD armv6 world at Sat May 3 12:24:09 CEST 2014 (Logging to /usr/home/tingo/work/crochet-freebsd/work/_.buildworld.armv6.log) Building FreeBSD armv6-RPI-B kernel at Sat May 3 13:54:03 CEST 2014 (Logging to /usr/home/tingo/work/crochet-freebsd/work/_.buildkernel.armv6-RPI-B.log) Building FreeBSD armv6-RPI-B ubldr at Sat May 3 14:02:04 CEST 2014 (Logging to /usr/home/tingo/work/crochet-freebsd/work/ubldr-armv6-RPI-B/_.ubldr.armv6-RPI-B.build.log) eval: cannot create /usr/home/tingo/work/crochet-freebsd/u-boot-rpi/_.uboot.to.be.configured: Permission denied So something is still amiss here. I'll checkout the FreeBSD source and try again. -- Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140503141500.4221758509cd70232b5b93b9>