[MacPorts] #64211: emacs-app-devel 20211112 fail on Monterey - config of libgccjit fails (was: emacs-app-devel 20211112 fail on Monterey - temacs fails to run)

MacPorts noreply at macports.org
Tue Dec 14 21:58:54 UTC 2021


#64211: emacs-app-devel 20211112 fail on Monterey - config of libgccjit fails
------------------------------+--------------------
  Reporter:  bestlem          |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.7.1
Resolution:                   |   Keywords:
      Port:  emacs-app-devel  |
------------------------------+--------------------
Description changed by bestlem:

Old description:

> After installing gcc11 as per #63994
>
> I got the attached error (this was the secon 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.
> }}}

New description:

 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.
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/64211#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list