[MacPorts] #61896: emacs{-app, }-devel +nativecomp: runtime native compilation fails on Big Sur 11.1
MacPorts
noreply at macports.org
Mon Dec 28 13:27:59 UTC 2020
#61896: emacs{-app,}-devel +nativecomp: runtime native compilation fails on Big Sur
11.1
------------------------------------------+----------------------
Reporter: amake | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: emacs-devel,emacs-app-devel |
------------------------------------------+----------------------
Comment (by amake):
I have seen in other ports a problem with the system SDK, wherein a port
has baked into it a reference to e.g. MacOSX11.0.sdk which no longer
exists on Big Sur 11.1 (there is only MacOSX.sdk or MacOSX11.1.sdk).
On a whim I searched the emacs binary for the string `MacOSX11.0.sdk` and
found that indeed it did have it:
{{{
% grep -l -U MacOSX11.0.sdk /opt/local/bin/emacs
/opt/local/bin/emacs
}}}
In fact I did a recursive search on my `$prefix` and found that lots of
things had the old SDK baked in. One of those things was the glibtool
binary, which I vaguely thought might be involved in the build process.
So I force-uninstalled the libtool port and reinstalled from source. Then
I reinstalled emacs-devel +nativecomp from source as well. (In the process
coreutils was also built and installed from source.)
This seems to have fixed my problem.
--
Ticket URL: <https://trac.macports.org/ticket/61896#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list