GNU bug report logs - #50818
28.0.50; .eln files need to be executable on Cygwin

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Sun, 26 Sep 2021 15:10:01 UTC

Severity: normal

Found in version 28.0.50

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Brown <kbrown <at> cornell.edu>
To: 50818 <at> debbugs.gnu.org
Subject: bug#50818: 28.0.50; .eln files need to be executable on Cygwin
Date: Sun, 26 Sep 2021 11:03:53 -0400
An installed emacs built with native compilation won't start on Cygwin because 
the executable permissions have been removed from the .eln files.  This is done 
in the install-eln target of the top-level Makefile.in, which installs the .eln 
files with 644 permissions even though they were created with executable 
permissions.

The failure is in Cygwin's dlopen, which calls the windows function 
GetModuleHandleExW.

Would it hurt anything on other platforms if the .eln files were installed with 
755 permissions?  If so, I can submit a patch that does this just on Cygwin.

Ken




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

Previous Next


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