[MacPorts] #68756: Cannot build gildas, Command failed

MacPorts noreply at macports.org
Tue Nov 21 17:44:20 UTC 2023


#68756: Cannot build gildas, Command failed
---------------------------+----------------------
  Reporter:  pabloriviere  |      Owner:  bardeau
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  gildas        |
---------------------------+----------------------

Old description:

> Hi,
> I am trying to install Gildas on a Mac with Sonoma 14.1.1. However, I get
> the following error:
> {{{
> Error: Failed to build gildas: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port gildas failed
> }}}
> And the last entries of the log are:
> {{{
> :info:build Command failed: source admin/gildas-env.sh -c /opt/local/bin
> /gfortran-mp-13  -s
> /opt/local/include:/opt/local/lib:/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/
> && export GAG_SLDFLAGS='-shared -o /opt/local/lib/gildas/x86_64-darwin-
> gfortran/lib/$(notdir $@) -install_name /opt/local/lib/gildas/x86_64
> -darwin-gfortran/lib/$(notdir $@)' && export
> DYLD_LIBRARY_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work
> /gildas-src-nov23b/integ/x86_64-darwin-gfortran/lib && export
> GAG_ADDONS=yes && make -w install
> :info:build Exit code: 2
> :error:build Failed to build gildas: command execution failed
> :debug:build Error code: NONE
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/main.log
> for details.
> }}}
> I am aware that XCode is giving problems. I tried doing
> {{{
> sudo install_name_tool -delete_rpath /opt/local/lib/libgcc
> /opt/local/lib/libopenblas-r1.dylib
> }}}
> And solved a previous issue.
>
> from ticket 68329, with no success

New description:

 Hi,
 I am trying to install Gildas on a Mac with Sonoma 14.1.1. However, I get
 the following error:
 {{{
 Error: Failed to build gildas: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port gildas failed
 }}}
 And the last entries of the log are:
 {{{
 :info:build Command failed: source admin/gildas-env.sh -c /opt/local/bin
 /gfortran-mp-13  -s
 /opt/local/include:/opt/local/lib:/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/
 && export GAG_SLDFLAGS='-shared -o /opt/local/lib/gildas/x86_64-darwin-
 gfortran/lib/$(notdir $@) -install_name /opt/local/lib/gildas/x86_64
 -darwin-gfortran/lib/$(notdir $@)' && export
 DYLD_LIBRARY_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work
 /gildas-src-nov23b/integ/x86_64-darwin-gfortran/lib && export
 GAG_ADDONS=yes && make -w install
 :info:build Exit code: 2
 :error:build Failed to build gildas: command execution failed
 :debug:build Error code: NONE
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/main.log
 for details.
 }}}
 I am aware that XCode is giving problems. I tried doing
 {{{
 sudo install_name_tool -delete_rpath /opt/local/lib/libgcc
 /opt/local/lib/libopenblas-r1.dylib
 }}}
 And solved a previous issue.

 from ticket #68329, with no success

--

Comment (by ryandesign):

 Please attach the main.log file.

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


More information about the macports-tickets mailing list