Opened 10 months ago

Last modified 8 months ago

#68756 closed defect

Cannot build gildas, Command failed — at Version 2

Reported by: pabloriviere (Pablo Rivière) Owned by: bardeau
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pabloriviere (Pablo Rivière)
Port: gildas

Description (last modified by jmroot (Joshua Root))

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

Change History (2)

comment:1 Changed 10 months ago by pabloriviere (Pablo Rivière)

Cc: pabloriviere added

comment:2 Changed 10 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to bardeau
Status: newassigned
Note: See TracTickets for help on using tickets.