GNU bug report logs -
#47307
Emacs 27.2 RC2 build/check issues on macOS ARM64
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47307 in the body.
You can then email your comments to 47307 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47307
; Package
emacs
.
(Mon, 22 Mar 2021 01:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 22 Mar 2021 01:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47307
; Package
emacs
.
(Mon, 22 Mar 2021 08:55:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 47307 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Paul Eggert <eggert <at> cs.ucla.edu> writes:
Hi Paul,
> "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.
1 unexpected results:
FAILED tramp-test35-remote-path
This fails for a rather edge case being tested. It shouldn't stop the
release of Emacs 27.2.
For further analysis, could you please apply the appended patch, and
rerun tramp-tests? The resulting log file shall tell us more.
Thanks, and best regards, Michael.
[Message part 2 (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47307
; Package
emacs
.
(Mon, 22 Mar 2021 16:24:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 47307 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 3/22/21 1:54 AM, Michael Albinus wrote:
> For further analysis, could you please apply the appended patch, and
> rerun tramp-tests? The resulting log file shall tell us more.
Sure, updated log file compressed and attached.
[tramp-tests.log.gz (application/gzip, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47307
; Package
emacs
.
(Mon, 22 Mar 2021 17:01:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 47307 <at> debbugs.gnu.org (full text, mbox):
Am Mo., 22. März 2021 um 02:28 Uhr schrieb Paul Eggert <eggert <at> cs.ucla.edu>:
> "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.
I think all these failures are covered by other bug reports, and they
are marked as fixed, so if necessary, the fixes could be backported:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42538
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42533
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42537
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37615
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47307
; Package
emacs
.
(Mon, 22 Mar 2021 17:21:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 47307 <at> debbugs.gnu.org (full text, mbox):
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sun, 21 Mar 2021 18:27:32 -0700
>
> 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.
I'm okay with installing this on the emacs-27 branch, but please wait
until Emacs 27.2 is released (in a few days, fingers crossed), as I
see no reason to delay 27.2 due to this issue.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47307
; Package
emacs
.
(Tue, 23 Mar 2021 08:42:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 47307 <at> debbugs.gnu.org (full text, mbox):
Philipp Stephani <p.stephani2 <at> gmail.com> writes:
Hi Philipp,
> I think all these failures are covered by other bug reports, and they
> are marked as fixed, so if necessary, the fixes could be backported:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42538
Indeed, the Tramp error reported by Paul looks similar to this. But
bug#42538 is reported to be fixed already in both Emacs 27.2 and 28.1,
and the traces I've got from Paul look also different. So I will poke
around whether I could find something else.
But again, there's no reason to delay Emacs 27.2. due to this Tramp error.
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Thu, 25 Mar 2021 15:17:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
bug acknowledged by developer.
(Thu, 25 Mar 2021 15:17:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 47307-done <at> debbugs.gnu.org (full text, mbox):
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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 23 Apr 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.