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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ken Brown <kbrown <at> cornell.edu>
Subject: bug#50818: closed (Re: bug#50818: 28.0.50; .eln files need to be
 executable on Cygwin)
Date: Mon, 27 Sep 2021 19:27:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#50818: 28.0.50; .eln files need to be executable on Cygwin

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 50818 <at> debbugs.gnu.org.

-- 
50818: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50818
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ken Brown <kbrown <at> cornell.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50818-done <at> debbugs.gnu.org, akrl <at> sdf.org
Subject: Re: bug#50818: 28.0.50; .eln files need to be executable on Cygwin
Date: Mon, 27 Sep 2021 15:26:35 -0400
On 9/27/2021 3:12 PM, Eli Zaretskii wrote:
>> From: Ken Brown <kbrown <at> cornell.edu>
>> Cc: 50818 <at> debbugs.gnu.org
>> Date: Mon, 27 Sep 2021 14:52:15 -0400
>>
>> I decide to go ahead with a Cygwin-specific patch (attached).  If Andrea or
>> someone else decides this would be good for all platforms, they can do that later.
>>
>> OK to push?
> 
> Yes, please.

Done. Closing.

[Message part 3 (message/rfc822, inline)]
From: Ken Brown <kbrown <at> cornell.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 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.