[MacPorts] #68274: emacs 29.1+nativecomp+treesitter: configuration failure
MacPorts
noreply at macports.org
Fri Sep 29 00:15:52 UTC 2023
#68274: emacs 29.1+nativecomp+treesitter: configuration failure
-----------------------------+--------------------
Reporter: kenniskoldewyn | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: emacs |
-----------------------------+--------------------
Comment (by hutches):
This may be related, so I'll avoid creating a potentially duplicate defect
report. After an update to gcc (gcc12 @12.3.0_1+stdlib_flag) today, Emacs
(at least) would fail to start with a missing dynamic shared library error
of the following form (as expected, a similar error is produced when
attempting to start emacs-app):
{{{
dyld[69541]: Library not loaded: @rpath/libgccjit.0.dylib
Referenced from: <30776C42-135A-363C-9A57-39E9A1EA4AA4>
/opt/local/bin/emacs-29.1
Reason: tried: '/opt/local/lib/gcc12/libgccjit.0.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/gcc12/libgccjit.0.dylib'
(no such file), '/opt/local/lib/gcc12/libgccjit.0.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/gcc12/libgccjit.0.dylib'
(no such file), '/usr/local/lib/libgccjit.0.dylib' (no such file),
'/usr/lib/libgccjit.0.dylib' (no such file, not in dyld cache)
Abort
}}}
Reviewing backups from prior to the gcc update, it appears that the
libgccjit.0.dylib file that had previously resided in /opt/local/lib/gcc12
was removed and replaced by a symlink to a target of the same name in
/opt/local/lib/libgcc, except that no corresponding shared library
exists/was built for gcc JIT. All of the other symlinks in
/opt/local/lib/gcc12 point to targets that actually exist and were
updated/installed in /opt/local/lib/libgcc during the course of today's
rebuild of gcc (i.e., only the target for the gcc JIT shared library is
missing).
System details:
{{{
Model Name: Mac Studio (2022)
Model Identifier: Mac13,1
Model Number: Z14J000GDLL/A
Chip: Apple M1 Max
System Version: macOS 13.5.2 (22G91)
Kernel Version: Darwin 22.6.0
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68274#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list