X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:message-id:in-reply-to:references
	:date:from:to:subject:content-type; q=dns; s=default; b=CIUNd3lF
	d6ImKOc3eD1VyO0+2GiwsTvVQ/bqXM637KRKZbTCh6HJLnyJpKmjmPBBRx9WxKH0
	MO8wTkqkbJct5pnZJnZqb9jZLqkRmWSynC5ACzInZb9c93G7wo9wRsdkxtxBLSLS
	L/4Il1kRCO3ZQSkAnEJvcFNovVeoYu80QYo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:message-id:in-reply-to:references
	:date:from:to:subject:content-type; s=default; bh=Dlj2YG+TSKOoEg
	SnAxDchTJuma8=; b=MG1/DD9CZIIkENfMDNDrgeeUqgwoGQM76PjWd5emFK2kPB
	rnF6sPkC6Zs5VZwGNneg/3qHbCkhRsz429jENbkejBMXkT05jL1ciX+GZV8VXJ8L
	FTvxA3h/bLKw2CZd6vhyNZgo8Nw5C77WlnpFK0FSfIlfTZ2UTk0N1pf7JaW1Q=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=UD:st, Domain, H*r:501, Inode
X-HELO: wout2-smtp.messagingengine.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=	mime-version:message-id:in-reply-to:references:date:from:to	:subject:content-type; s=fm2; bh=Zn5Qw1nk+Rh15i6wl8BdiBDRz03Macm	N9hgo0b4BHjA=; b=Qhdr4QHHcsiiXHwjKv/soX+pdoi1paC8GLcGpb9j6HSxt5a	plajWnkQjJHjzutBdKDB0cCM7F55PM5T14Gl3Tbq55rym4GJgXLyys77O4RAg6uo	M3tKgIGn55GiKpgDIzh4Hh8y67E3v/Lev/kg/nyTCnmu9dUxdqZRZxREemGLK7+4	HHMU5lYeXW9dsmVCAr06bMA6wm9YD6YmY9ugEy42RrUhI11Mb/AAhqPLnlagKk9e	ZcweZXcYSKJtWJn7j/UZpMq6JnqCydY2H01pZSQuBCBQ4cguF5OmVavtvc5Qz2ys	p5PwDOHZlQHchz/c2ibrk3MFBa7hKpTIXpg4Nwg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=	messagingengine.com; h=content-type:date:from:in-reply-to	:message-id:mime-version:references:subject:to:x-me-proxy	:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Zn5Qw1	nk+Rh15i6wl8BdiBDRz03MacmN9hgo0b4BHjA=; b=vmXUTOeUzBEd2dYCPBREAc	uhKiihlPjmkzGIN/aj0/XxE5X19uEp3L5ZjyyXKrbSYCq/f//vIry8B+mQO0R2I1	WeqqTqDGa/gokgllwhfe89K3wuW0BszfI5c5zCLGwv8MRhHv1H7vdqomkBg0wYB0	7Jqxtfb7lkbiS67QhjQcxf5qv9fYQHu9BG/nVj9/wD6cDw6eJfJ1NIaVwvdlqoXn	enEmBTWD+P+iW5cVYIElWcSXYvPyC/HuX8Vrqb3bgVIW9HOZyN8HmFpUf1McMLj9	p7ubEWaMyC7gDB98kKZ+DOTHnk+nH+YkR/Z/Q9UxfsWkaWsFsPOFlk1WWwfdk6/w	==
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeggddutdehucetufdoteggodetrfdotf    fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen    uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne    cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdftohhn    rghlugcuhfhishgthhgvrhdfuceohihnnhhorhesmhhmrdhstheqnecurfgrrhgrmhepmh    grihhlfhhrohhmpeihnhhnohhrsehmmhdrshhtnecuvehluhhsthgvrhfuihiivgeptd
User-Agent: Cyrus-JMAP/3.1.7-754-g09d1619-fmstable-20200113v1
Mime-Version: 1.0
Message-Id: <9b676e51-62fa-490d-a84f-177a7976ea49@www.fastmail.com>
In-Reply-To: <2bf77d8d-0f31-e566-c63d-99c6b1484142@cornell.edu>
References: <4748ff5b-6433-42a6-ad30-779bf7c98422@www.fastmail.com> <2bf77d8d-0f31-e566-c63d-99c6b1484142@cornell.edu>
Date: Mon, 20 Jan 2020 08:19:12 +0100
From: "Ronald Fischer" <ynnor@mm.st>
To: "Ken Brown" <kbrown@cornell.edu>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: BUG: exec format error: emacs
Content-Type: text/plain
X-IsSubscribed: yes



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

