emacs-app: error invoking gcc driver
Jonathan Stickel
jjstickel at gmail.com
Tue Dec 24 14:23:40 UTC 2024
There is a macports ticket open for emacs/emacs-app on Sequoia:
https://trac.macports.org/ticket/71047
It is interesting that you were able to install and activate emacs-app
+nativecomp, but later experienced warnings and errors, whereas the
reported behavior in the ticket is failing at the activate step. In any
case, disabling nativecomp provided a successful workaround.
Alan, thanks for the reddit link. That might be a solution for a patch
to the port. I suggest sharing that link on the ticket.
Regards,
Jonathan
On 12/24/24 05:00, macports-users-request at lists.macports.org wrote:
> Date: Mon, 23 Dec 2024 11:36:07 -0800
> From: Alan Bram<alan.bram at cornell.edu>
> To:rcobbe at rcobbe.net
> Cc:macports-users at lists.macports.org
> Subject: Re: emacs-app: error invoking gcc driver
> Message-ID:
> <CACHqOS8PtqzNT4kCj2qfs3bnEnEq7W0AxsCerRDH_cQghdCKAg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Have a look at this comment from user 0dBgain on Reddit. I had the same
> problem a couple of months ago, but didn't find this Reddit thread until
> yesterday, so I haven't tried it yet. (Instead, I reinstalled Sonoma,
> because the machine was new and there wasn't yet much new data on it.)
>
> https://www.reddit.com/r/emacs/comments/u28dji/comment/lv0au2o/
>
> If you do try this I would love to hear whether it works.
>
> On Mon, Dec 23, 2024 at 8:02?AM Richard Cobbe<rcobbe at rcobbe.net> wrote:
>
>> I recently upgraded one of my machines to Sequoia 15.0 (there's an update
>> pending to 15.1.1 that I haven't yet installed) and am in the process of
>> reinstalling macports. (I originally tried 'macports migrate' but I ran
>> into the Apple CLI installer bug preventing a lot of C++ compilation and
>> deleted my previous macports installation before I discovered the fix for
>> that.)
>>
>> I just reinstalled emacs-app @29.4_2+nativecomp+rsvg+treesitter. It built
>> correctly, and the resulting executable starts, but after a brief time, the
>> *Warnings* buffer pops up, and it's full of a bunch of messages like the
>> following:
>>
>> ? Warning (comp): libgccjit.so: error: error invoking gcc driver
>> ? Warning (comp):/Users/r.cobbe/.emacs.d/elpa/auctex-14.0.8/tex-site.el:
>> Error: Internal native compiler error failed to compile
>> ? Warning (comp): libgccjit.so: error: error invoking gcc driver
>> ? Warning (comp):/Users/r.cobbe/.emacs.d/elpa/auctex-14.0.8/texmathp.el:
>> Error: Internal native compiler error failed to compile
>>
>> Has anyone seen this? Is there a workaround, or should I file a bug?
>> Rebuild without the nativecomp variant?
>>
>> MacOS 15.0, Apple M2 chip.
>>
>> Thanks,
>>
>> Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241224/3bf2e3c3/attachment.htm>
More information about the macports-users
mailing list