Opened 3 years ago
Closed 2 years ago
#64211 closed defect (fixed)
emacs-app-devel 20211112 fail on Monterey - config of libgccjit fails
Reported by: | bestlem | Owned by: | bestlem |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | drkp (Dan Ports), cooljeanius (Eric Gallager) | |
Port: | emacs-app-devel |
Description (last modified by bestlem)
After installing gcc-devel as per #63994
Looking more carefully the error is firs
:info:configure configure: error: The installed libgccjit failed to compile and run a test program using :info:configure the libgccjit library; see config.log for the details of the failure.
The config log has
configure:17247: /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-no_pie -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 conftest.c -lgccjit >&5 ld: warning: -no_pie ignored for arm64 configure:17247: $? = 0 configure:17247: ./conftest dyld[26347]: Library not loaded: @rpath/libgccjit.0.dylib Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_emacs/emacs-app-devel/work/emacs-20211112/conftest Reason: tried: '/usr/local/lib/libgccjit.0.dylib' (no such file), '/usr/lib/libgccjit.0.dylib' (no such file)
So the latest change to Portfile to set up the paths for gcc libs does not seem to be working
I got the attached error (this was the second build with same error so log is incomplete)
---> Staging emacs-app-devel into destroot Error: Failed to destroot emacs-app-devel: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_emacs/emacs-app-devel/main.log for details.
Attachments (2)
Change History (9)
Changed 3 years ago by bestlem
comment:1 Changed 3 years ago by bestlem
Summary: | emacs-app-devel fail on Monterey - temacs fails to run → emacs-app-devel 20211112 fail on Monterey - temacs fails to run |
---|
comment:2 Changed 3 years ago by bestlem
Description: | modified (diff) |
---|---|
Summary: | emacs-app-devel 20211112 fail on Monterey - temacs fails to run → emacs-app-devel 20211112 fail on Monterey - config of libgccjit fails |
Changed 3 years ago by bestlem
Attachment: | config.log added |
---|
comment:3 follow-up: 4 Changed 3 years ago by bestlem
Owner: | set to bestlem |
---|---|
Status: | new → assigned |
This now works
comment:4 Changed 2 years ago by cooljeanius (Eric Gallager)
comment:5 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:6 Changed 2 years ago by bestlem
It has worked on all versions since then. I am now on emacs-app-devel @20220907. I would create a new ticket with full logs
comment:7 Changed 2 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closing as per comment:3.
Note: See
TracTickets for help on using
tickets.
Log file for second build