BUG: exec format error: emacs

Ronald Fischer ynnor@mm.st
Mon Jan 20 07:19:00 GMT 2020



On Fri, Jan 17, 2020, at 17:16, Ken Brown wrote:
> On 1/17/2020 10:33 AM, Ronald Fischer wrote:
> > When trying to run `emacs`, I get
> > 
> >   (on zsh) : zsh: exec format error: emacs
> >   (on bash): bash: /usr/bin/emacs: cannot execute binary file: Exec format error
> 
> Are you sure Cygwin's emacs is the first one in your path?  

Well, at least you can see from the error message that /usr/bin/emacs is going to be executed.

> Cygwin's 
> /usr/bin/emacs should be a symlink:

Actually, this is not the case:
$ ls -l /usr/bin/emacs
-rwxrwx---+ 1 FISRONA Domain Users 60 Apr 26  2019 /usr/bin/emacs

$ stat /usr/bin/emacs
  File: /usr/bin/emacs
  Size: 60              Blocks: 1          IO Block: 65536  regular file
Device: 38d54b25h/953502501d    Inode: 1407374883785092  Links: 1
Access: (0770/-rwxrwx---)  Uid: (3672028/ FISRONA)   Gid: (1049089/Domain Users)
Access: 2019-06-03 12:34:56.255711900 +0200
Modify: 2019-04-26 20:48:58.000000000 +0200
Change: 2019-06-03 12:34:56.255711900 +0200
 Birth: 2019-06-03 12:34:56.255711900 +0200

Two things I find of interest here: Although I have installed the new version using Cygwin's set-up program just a couple of days ago, the modify time goes back to 2019.

And the size is too small!

Ronald

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list