Changes between Initial Version and Version 2 of Ticket #64211


Ignore:
Timestamp:
Dec 14, 2021, 9:58:54 PM (2 years ago)
Author:
bestlem
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64211

    • Property Summary changed from emacs-app-devel fail on Monterey - temacs fails to run to emacs-app-devel 20211112 fail on Monterey - config of libgccjit fails
  • Ticket #64211 – Description

    initial v2  
    1 After installing gcc11 as per #63994
     1After installing gcc-devel as per #63994
    22
    3 I got the attached error (this was the secon build with same error so log is incomplete)
     3Looking more carefully the error is firs
     4
     5
     6{{{
     7:info:configure configure: error: The installed libgccjit failed to compile and run a test program using
     8:info:configure the libgccjit library; see config.log for the details of the failure.
     9}}}
     10
     11The config log has
     12
     13
     14{{{
     15configure: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
     16ld: warning: -no_pie ignored for arm64
     17configure:17247: $? = 0
     18configure:17247: ./conftest
     19dyld[26347]: Library not loaded: @rpath/libgccjit.0.dylib
     20  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
     21  Reason: tried: '/usr/local/lib/libgccjit.0.dylib' (no such file), '/usr/lib/libgccjit.0.dylib' (no such file)
     22}}}
     23
     24So the latest change to Portfile to set up the paths for gcc libs does not seem to be working
     25
     26
     27
     28
     29
     30I got the attached error (this was the second build with same error so log is incomplete)
    431
    532