Opened 2 years ago
Last modified 15 months ago
#65889 assigned defect
emacs @28.2 configuration error: libgccjit failed to compile and run a test program
Reported by: | amannucci (Anthony Mannucci) | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | emacs |
Description (last modified by jmroot (Joshua Root))
I tried two x11 versions of emacs, and both fail at the configuration stage. This occurred due to an OS upgrade and complete upgrading of Macports. However, after the upgrade I noticed that emacs was missing. It does install as a terminal app, but not as an x11 app. See attached files for log information.
Here is the error message:
Error: Failed to configure emacs: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs/work/emacs-28.2/config.log Error: Failed to configure emacs: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port emacs failed
Attachments (2)
Change History (6)
Changed 2 years ago by amannucci (Anthony Mannucci)
Changed 2 years ago by amannucci (Anthony Mannucci)
Attachment: | config.log added |
---|
comment:1 Changed 2 years ago by amannucci (Anthony Mannucci)
Description: | modified (diff) |
---|
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | set to drkp |
Port: | emacs added |
Status: | new → assigned |
Summary: | emacs with x11 suffers from configuration errors → emacs @28.2 configuration error: libgccjit failed to compile and run a test program |
comment:3 Changed 2 years ago by amannucci (Anthony Mannucci)
comment:4 Changed 15 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
I might add the following bit of information. I successfully built the non-X11 version of emacs from source (not something I typically do, but it worked). The MacOS version was created, not the X version. When I tried to build the X version using --with-x- etc. as an option for the configure script, I saw this error in the config.log file:
Xlib.h is here: /opt/X11/include/X11/Xlib.h
but configure cannot seem to find it. This might be related to not being able to build the X11 version.