3 | | I got the attached error (this was the secon build with same error so log is incomplete) |
| 3 | Looking 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 | |
| 11 | The config log has |
| 12 | |
| 13 | |
| 14 | {{{ |
| 15 | 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 |
| 16 | ld: warning: -no_pie ignored for arm64 |
| 17 | configure:17247: $? = 0 |
| 18 | configure:17247: ./conftest |
| 19 | dyld[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 | |
| 24 | So the latest change to Portfile to set up the paths for gcc libs does not seem to be working |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | I got the attached error (this was the second build with same error so log is incomplete) |