#61594 closed defect (fixed)
emacs 27.1_2: configure failed on M1
Reported by: | shibukawa (Yoshiki Shibukawa) | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | arm64 | Cc: | stumpjumper (Alfred Lorber), tglsfdc (Tom Lane) |
Port: | emacs |
Description
Error: Failed to configure emacs: configure failure: command execution failed
Error logs says
error: Emacs does not support 'arm-apple-darwin20.1.0' systems.
Attachments (2)
Change History (18)
Changed 4 years ago by shibukawa (Yoshiki Shibukawa)
Attachment: | config.log added |
---|
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to drkp |
---|---|
Status: | new → assigned |
comment:2 Changed 4 years ago by stumpjumper (Alfred Lorber)
Cc: | stumpjumper added |
---|
comment:3 Changed 4 years ago by stumpjumper (Alfred Lorber)
Cc: | stumpjumper removed |
---|
comment:4 Changed 4 years ago by stumpjumper (Alfred Lorber)
Cc: | stumpjumper added |
---|
comment:5 Changed 4 years ago by mf2k (Frank Schima)
Keywords: | arm64 added |
---|
Changed 4 years ago by tglsfdc (Tom Lane)
Attachment: | emacs-arm.diff added |
---|
comment:6 Changed 4 years ago by tglsfdc (Tom Lane)
It appears that this might not be any more complicated than whacking the configure script upside the head, as attached.
I see a number of compile warnings during build, and "make check" shows a few failures, but that may well be true in a Darwin x86 build too; I've not checked that with any late-model emacs.
comment:7 Changed 4 years ago by tglsfdc (Tom Lane)
Ah, after a bit of digging, it looks like upstream thinks the same:
comment:8 Changed 4 years ago by tglsfdc (Tom Lane)
Cc: | tglsfdc added |
---|
comment:9 Changed 4 years ago by drkp (Dan Ports)
Status: | assigned → accepted |
---|
Perfect, let's apply that...
comment:10 Changed 4 years ago by drkp (Dan Ports)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:11 Changed 4 years ago by drkp (Dan Ports)
Can someone with a M1 machine (I don't have one) confirm this fix works?
comment:12 Changed 4 years ago by tglsfdc (Tom Lane)
... nope, does not work. The configure.ac file gets updated as expected, but AFAICT the configure script is not modified.
comment:13 Changed 4 years ago by drkp (Dan Ports)
Oops, my mistake, I thought we were already running autoreconf.
comment:14 Changed 4 years ago by drkp (Dan Ports)
comment:15 Changed 4 years ago by tglsfdc (Tom Lane)
OK, the _4 update builds for me, and cursory testing of the result succeeds. Thanks!
emacs-arm.diff