math/R: non-root build fails with "cp: chmod: (...): Operation
not permitted
Eric van Gyzen
vangyzen at stat.duke.edu
Sun Jul 10 23:56:21 GMT 2005
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
More information about the freebsd-ports
mailing list