GNU bug report logs - #53534
28.0.91; on netbsd 'gmake install' outputs 'find: chown: No such file or directory'

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Tue, 25 Jan 2022 23:05:01 UTC

Severity: normal

Found in version 28.0.91

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: van.ly <at> sdf.org, 53534 <at> debbugs.gnu.org
Subject: bug#53534: 28.0.91; on netbsd 'gmake install' outputs 'find: chown: No such file or directory'
Date: Wed, 02 Feb 2022 13:21:04 -0500
Eli Zaretskii wrote:

> Why "cp -R" and not ${INSTALL_DATA}, per conventions?

INSTALL_DATA doesn't recurse.

> (Is the -R switch to cp even portable enough nowadays? 

I believe it is, but in case it isn't, the patch continues to fall back
to tar.

> IMO we should verify that,

How do you propose to verify it?

> not just assume that since 10 years have passed, the problem doesn't
> exist anymore.

It's 14 years since cp -R was added to POSIX.
In 2022, I am ok with assuming that recursive copy is a solved problem.

> The Autoconf manual still has some caveats about using "cp -R", for
> example.)

What are the relevant caveats?
Literally the only possible one I can see is:

  "AIX 5.3 'cp -R' may corrupt its own memory with some directory
  hierarchies and error out or dump core"

Does Emacs support that platform? If it does and this issue happens, the
fall-back to tar will handle it.


I point out once again that the current code is buggy and leads to files
being installed with the wrong owner.




This bug report was last modified 3 years and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.