<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    You are right, the issues seem different. I'm confused how a couple
    of you got past the activation error described in the ticket.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 12/27/24 17:36, Alan Bram wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACHqOS9sngYK0NSNGSVfOheXThP3e3K0HB5QB8nhDSGyosgZMg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I don't see the connection between this issue and
        the other ticket you mentioned; they seem like separate issues
        to me. (The only relation I see between them is that
        de-selecting nativecomp avoids the issue in both cases.) But
        perhaps I'm not fully understanding?
        <div><br>
        </div>
        <div>The run-time libgccjit failure gets more puzzling the more
          I look at it. Apparently it has been over three years since
          some version of this issue has existed:</div>
        <div><br>
        </div>
        <div><a
href="https://github.com/emacs-mirror/emacs/commit/3d575534d43802552f59eb1b990939cb3412d4e9"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://github.com/emacs-mirror/emacs/commit/3d575534d43802552f59eb1b990939cb3412d4e9</a></div>
        <div><br>
        </div>
        <div>But for some reason some people (myself included)
          encountered it only recently, upon upgrading to Sequoia. And
          even when it was discussed a few years ago, only some, but not
          everyone, were affected by it, and no one seems to have put a
          finger on what the difference was.</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Dec 24, 2024 at
          6:23 AM Jonathan Stickel <<a
            href="mailto:jjstickel@gmail.com" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">jjstickel@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div> There is a macports ticket open for emacs/emacs-app on
            Sequoia:<br>
            <br>
            <a href="https://trac.macports.org/ticket/71047"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://trac.macports.org/ticket/71047</a><br>
            <br>
            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.<br>
            <br>
            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.<br>
            <br>
            Regards,<br>
            Jonathan<br>
            <br>
            <br>
            <div>On 12/24/24 05:00, <a
                href="mailto:macports-users-request@lists.macports.org"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">macports-users-request@lists.macports.org</a>
              wrote:<br>
            </div>
            <blockquote type="cite">
              <pre><pre>Date: Mon, 23 Dec 2024 11:36:07 -0800
From: Alan Bram <a href="mailto:alan.bram@cornell.edu" target="_blank"
              moz-do-not-send="true"><alan.bram@cornell.edu></a>
To: <a href="mailto:rcobbe@rcobbe.net" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">rcobbe@rcobbe.net</a>
Cc: <a href="mailto:macports-users@lists.macports.org" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">macports-users@lists.macports.org</a>
Subject: Re: emacs-app: error invoking gcc driver
Message-ID:
        <a
href="mailto:CACHqOS8PtqzNT4kCj2qfs3bnEnEq7W0AxsCerRDH_cQghdCKAg@mail.gmail.com"
              target="_blank" moz-do-not-send="true"><CACHqOS8PtqzNT4kCj2qfs3bnEnEq7W0AxsCerRDH_cQghdCKAg@mail.gmail.com></a>
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.)

<a
href="https://www.reddit.com/r/emacs/comments/u28dji/comment/lv0au2o/"
              target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://www.reddit.com/r/emacs/comments/u28dji/comment/lv0au2o/</a>

If you do try this I would love to hear whether it works.

On Mon, Dec 23, 2024 at 8:02?AM Richard Cobbe <a
              href="mailto:rcobbe@rcobbe.net" target="_blank"
              moz-do-not-send="true"><rcobbe@rcobbe.net></a> wrote:

</pre><blockquote type="cite" style="color:rgb(0,124,255)"><pre>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
<b><span>*</span>Warnings<span>*</span></b> 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): <i><span>/</span>Users/r.cobbe<span>/</span></i>.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): <i><span>/</span>Users/r.cobbe<span>/</span></i>.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</pre></blockquote></pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>