GNU bug report logs - #47307
Emacs 27.2 RC2 build/check issues on macOS ARM64

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 22 Mar 2021 01:28:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#47307: closed (Emacs 27.2 RC2 build/check issues on macOS ARM64)
Date: Thu, 25 Mar 2021 15:17:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 25 Mar 2021 08:16:12 -0700
with message-id <e18035c2-aadc-ef91-7333-e31beaf4de94 <at> cs.ucla.edu>
and subject line Re: bug#47307: Emacs 27.2 RC2 build/check issues on macOS ARM64
has caused the debbugs.gnu.org bug report #47307,
regarding Emacs 27.2 RC2 build/check issues on macOS ARM64
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
47307: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47307
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Subject: Emacs 27.2 RC2 build/check issues on macOS ARM64
Date: Sun, 21 Mar 2021 18:27:32 -0700
[Message part 3 (text/plain, inline)]
I configured Emacs 27.2 RC2 on macOS 11.2 ARM64 (arm-apple-darwin20.3.0) 
using "./configure --with-gnutls=ifavailable" (plain "./configure" 
failed, which was disconcerting). When I ran "make" the compiler complained:

editfns.c:2063:18: warning: unsequenced modification and access to 
'sa_avail' [-Wunsequenced]

This correctly diagnoses undefined behavior in that C function. I didn't 
investigate what happens on that platform is as it's easier to fix the 
problem on all platforms. I propose installing the attached 
obviously-safe patch into the emacs-27 branch.

There were several deprecation warnings when compiling but I assume we 
don't care about them in this older branch.

"make check" reported four unexpected failures. Perhaps a macOS expert 
could be persuaded to look into them. A tarball of the failed logs is 
attached.
[0001-Fix-replace-buffer-contents-undefined-behavior.patch (text/x-patch, attachment)]
[emacs-27.2-RC2-failures-macOS11.2-ARM.tar.gz (application/gzip, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 47307-done <at> debbugs.gnu.org
Subject: Re: bug#47307: Emacs 27.2 RC2 build/check issues on macOS ARM64
Date: Thu, 25 Mar 2021 08:16:12 -0700
On 3/22/21 10:20 AM, Eli Zaretskii wrote:
> I'm okay with installing this on the emacs-27 branch, but please wait
> until Emacs 27.2 is released

OK, done, and closing the bug report.


This bug report was last modified 4 years and 60 days ago.

Previous Next


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