From owner-freebsd-ports@FreeBSD.ORG Sun Jul 10 23:56:21 2005 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F16F16A41C; Sun, 10 Jul 2005 23:56:21 +0000 (GMT) (envelope-from vangyzen@stat.duke.edu) Received: from smtpout-2.iphouse.net (smtpout-2.iphouse.net [216.250.188.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id A974A43D46; Sun, 10 Jul 2005 23:56:20 +0000 (GMT) (envelope-from vangyzen@stat.duke.edu) Received: from localhost (localhost.iphouse.net [127.0.0.1]) by after-av-scan.iphouse.net (Postfix) with ESMTP id CBB6C2B127B; Sun, 10 Jul 2005 18:56:19 -0500 (CDT) Received: from smtpout-2.iphouse.net ([127.0.0.1]) by localhost (smtpout-2.iphouse.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 83290-03-48; Sun, 10 Jul 2005 18:56:19 -0500 (CDT) Received: from [216.243.164.103] (216-243-164-103.dialup.iphouse.net [216.243.164.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpout-2.iphouse.net (Postfix) with ESMTP id B9A242B117F; Sun, 10 Jul 2005 18:56:17 -0500 (CDT) Message-ID: <42D1B5C0.5030501@stat.duke.edu> Date: Sun, 10 Jul 2005 18:56:48 -0500 From: Eric van Gyzen Organization: ISDS, Duke University User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <20050710225841.GA28668@isis.sigpipe.cz> <1121036901.6024.3.camel@hood.oook.cz> <20050710231912.GA45613@isis.sigpipe.cz> <1121039229.6024.6.camel@hood.oook.cz> In-Reply-To: <1121039229.6024.6.camel@hood.oook.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at iphouse.net Cc: Roman Neuhauser , freebsd-ports Subject: Re: math/R: non-root build fails with "cp: chmod: (...): Operation not permitted X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 23:56:21 -0000 Pav Lucistnik wrote: > Roman Neuhauser píše v po 11. 07. 2005 v 01:19 +0200: > > >> What about the build failure? Are you able to build the port without >> being root? Just what is the problem anyway? I just don't see it... > > > Haven't looked into it, but I think the find loop you quoted is a red > herring - the error states "cp" and "chmod" which are completely not > present in that find loop. Sorry, but cp /is/ in that block of code: cp -pr $(srcdir)/inst/po/* $(top_builddir)/library/$(pkg)/po; The 'cp' command is calling the 'chmod' syscall, as instructed by the -p option, to preserve the modes of the source files. Puzzling. Eric