From owner-freebsd-arm@FreeBSD.ORG Sat May 3 12:15:28 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12B8D1C8 for ; Sat, 3 May 2014 12:15:28 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 923BE16D6 for ; Sat, 3 May 2014 12:15:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 134686CB46 for ; Sat, 3 May 2014 14:15:13 +0200 (CEST) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id q6QPFSxhKZxD for ; Sat, 3 May 2014 14:15:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id E883D6C84E for ; Sat, 3 May 2014 14:15:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no E883D6C84E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1399119308; bh=+tLQ1srApWVBz6gvvNbqij7RBXQL5H8o2EClZ5PV2E8=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=ZBwunTuvtYLdMlrxhhnrtgSXrpf6JNNmlYcBdAgTyK0PC6CaHuIehJ3Z8QicXe23A aEbnSH52zV0zXdxNkUIUsUP78H7lultvxJgvpyLFQEXQ8JYPiWGNI5SiMsdUlDjeBv 4uobtBBhFWbWtqdTX5uUYkgb1/hctPvCg2kYb2hs= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gU3DyzG8xDJf for ; Sat, 3 May 2014 14:15:08 +0200 (CEST) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by lamora.getmail.no (Postfix) with ESMTPSA id C1D7261562 for ; Sat, 3 May 2014 14:15:08 +0200 (CEST) Date: Sat, 3 May 2014 14:15:00 +0200 From: Torfinn Ingolfsen 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> <20140501230633.5044af70fba9e4d4ed00933e@getmail.no> <1398987908.22079.143.camel@revolution.hippie.lan> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; amd64-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2014 12:15:28 -0000 On Thu, 01 May 2014 17:45:08 -0600 Ian Lepore 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