Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2005 18:56:48 -0500
From:      Eric van Gyzen <vangyzen@stat.duke.edu>
To:        pav@FreeBSD.org
Cc:        Roman Neuhauser <neuhauser@sigpipe.cz>, freebsd-ports <freebsd-ports@FreeBSD.org>
Subject:   Re: math/R: non-root build fails with "cp: chmod: (...): Operation not permitted
Message-ID:  <42D1B5C0.5030501@stat.duke.edu>
In-Reply-To: <1121039229.6024.6.camel@hood.oook.cz>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D1B5C0.5030501>