#68541 closed defect (fixed)
gildas @202310c: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'
Reported by: | yangcht (Chentao Yang) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | jpinedaf (Jaime Pineda), akhil-lasrado (Akhil Lasrado), Dave-Allured (Dave Allured), pabloriviere (Pablo Rivière) | |
Port: | gildas |
Description
I am trying to install gildas on M1 Macbook pro, with Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64
. Under the arm64 arch, I am using macports to directly install gildas. However, I have been encountering errors when building the package.
---> Computing dependencies for gildas ---> Fetching archive for gildas ---> Attempting to fetch gildas-202310c_0+gcc13.darwin_23.arm64.tbz2 from https://cph.dk.packages.macports.org/gildas ---> Attempting to fetch gildas-202310c_0+gcc13.darwin_23.arm64.tbz2 from https://packages.macports.org/gildas ---> Attempting to fetch gildas-202310c_0+gcc13.darwin_23.arm64.tbz2 from https://fra.de.packages.macports.org/gildas ---> Fetching distfiles for gildas ---> Verifying checksums for gildas ---> Extracting gildas ---> Applying patches to gildas ---> Configuring gildas ---> Building gildas 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.
The error from the file is like the following:
:info:build 1 warning generated. :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/sicvms.f90 -o built/arm64-darwin-gfortran/sicvms.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include siman.f90 > built/arm64-darwin-gfortran/siman.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/siman.f90 -o built/arm64-darwin-gfortran/siman.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include sort.f90 > built/arm64-darwin-gfortran/sort.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/sort.f90 -o built/arm64-darwin-gfortran/sort.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include stack.f90 > built/arm64-darwin-gfortran/stack.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/stack.f90 -o built/arm64-darwin-gfortran/stack.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include symbol.f90 > built/arm64-darwin-gfortran/symbol.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/symbol.f90 -o built/arm64-darwin-gfortran/symbol.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include task.f90 > built/arm64-darwin-gfortran/task.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/task.f90 -o built/arm64-darwin-gfortran/task.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include timer.f90 > built/arm64-darwin-gfortran/timer.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/timer.f90 -o built/arm64-darwin-gfortran/timer.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include transpose.f90 > built/arm64-darwin-gfortran/transpose.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/transpose.f90 -o built/arm64-darwin-gfortran/transpose.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include varexp.f90 > built/arm64-darwin-gfortran/varexp.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/varexp.f90 -o built/arm64-darwin-gfortran/varexp.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include varexp-generic.f90 > built/arm64-darwin-gfortran/varexp-generic.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/varexp-generic.f90 -o built/arm64-darwin-gfortran/varexp-generic.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include vector.f90 > built/arm64-darwin-gfortran/vector.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/vector.f90 -o built/arm64-darwin-gfortran/vector.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include wrpro.f90 > built/arm64-darwin-gfortran/wrpro.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/wrpro.f90 -o built/arm64-darwin-gfortran/wrpro.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include xvariable.f90 > built/arm64-darwin-gfortran/xvariable.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/xvariable.f90 -o built/arm64-darwin-gfortran/xvariable.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include gmaster.f90 > built/arm64-darwin-gfortran/gmaster.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/gmaster.f90 -o built/arm64-darwin-gfortran/gmaster.o :info:build /usr/bin/cpp -P -traditional -C -DIEEE="ieee" -DBITS64="bits64" -DMACHINE=arm64 -DDARWIN="darwin" -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -DOS_VERSION="'macOS 14.1'" -I/opt/local/include sic-message.f90 > built/arm64-darwin-gfortran/sic-message.f90 :info:build /opt/local/bin/gfortran-mp-13 -c -I../gsys/./built/arm64-darwin-gfortran -fallow-argument-mismatch -fimplicit-none -Os -I./ -I./built/arm64-darwin-gfortran -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -J./built/arm64-darwin-gfortran -pipe -fno-backslash -fno-range-check -w -fno-second-underscore -fPIC -fopenmp -O built/arm64-darwin-gfortran/sic-message.f90 -o built/arm64-darwin-gfortran/sic-message.o :info:build ar cr /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/lib/libsic.a built/arm64-darwin-gfortran/getcar.o built/arm64-darwin-gfortran/import-c.o built/arm64-darwin-gfortran/sic-message-c.o built/arm64-darwin-gfortran/sic-sicimport.o built/arm64-darwin-gfortran/gmaster-c.o built/arm64-darwin-gfortran/sic_python.o built/arm64-darwin-gfortran/aliasvar.o built/arm64-darwin-gfortran/argauto.o built/arm64-darwin-gfortran/abbrev.o built/arm64-darwin-gfortran/analyse.o built/arm64-darwin-gfortran/argumexp.o built/arm64-darwin-gfortran/codefunc.o built/arm64-darwin-gfortran/compute.o built/arm64-darwin-gfortran/controlc.o built/arm64-darwin-gfortran/datetime.o built/arm64-darwin-gfortran/defvar.o built/arm64-darwin-gfortran/delete.o built/arm64-darwin-gfortran/delvar.o built/arm64-darwin-gfortran/desc.o built/arm64-darwin-gfortran/diff.o built/arm64-darwin-gfortran/dofunc.o built/arm64-darwin-gfortran/dofuncl.o built/arm64-darwin-gfortran/dofuncs.o built/arm64-darwin-gfortran/dofuncd.o built/arm64-darwin-gfortran/dofunci.o built/arm64-darwin-gfortran/editor.o built/arm64-darwin-gfortran/error.o built/arm64-darwin-gfortran/evaluate.o built/arm64-darwin-gfortran/examine.o built/arm64-darwin-gfortran/execsic.o built/arm64-darwin-gfortran/execute.o built/arm64-darwin-gfortran/expand_macro.o built/arm64-darwin-gfortran/expr.o built/arm64-darwin-gfortran/fill.o built/arm64-darwin-gfortran/fits.o built/arm64-darwin-gfortran/forme.o built/arm64-darwin-gfortran/get.o built/arm64-darwin-gfortran/getcom.o built/arm64-darwin-gfortran/getlin.o built/arm64-darwin-gfortran/grep.o built/arm64-darwin-gfortran/hashing.o built/arm64-darwin-gfortran/header.o built/arm64-darwin-gfortran/help.o built/arm64-darwin-gfortran/import.o built/arm64-darwin-gfortran/inicli.o built/arm64-darwin-gfortran/interstate.o built/arm64-darwin-gfortran/intrinsic.o built/arm64-darwin-gfortran/let.o built/arm64-darwin-gfortran/liste.o built/arm64-darwin-gfortran/loop.o built/arm64-darwin-gfortran/lun.o built/arm64-darwin-gfortran/macro.o built/arm64-darwin-gfortran/math.o built/arm64-darwin-gfortran/mcmc.o built/arm64-darwin-gfortran/minimize.o built/arm64-darwin-gfortran/modify.o built/arm64-darwin-gfortran/operand.o built/arm64-darwin-gfortran/powell.o built/arm64-darwin-gfortran/procedure.o built/arm64-darwin-gfortran/prompt.o built/arm64-darwin-gfortran/read.o built/arm64-darwin-gfortran/reduce.o built/arm64-darwin-gfortran/reduce-math.o built/arm64-darwin-gfortran/sicfits.o built/arm64-darwin-gfortran/gmessage.o built/arm64-darwin-gfortran/sicopt.o built/arm64-darwin-gfortran/sic_inter_mod.o built/arm64-darwin-gfortran/sic-interfaces.o built/arm64-darwin-gfortran/sic-interfaces-private.o built/arm64-darwin-gfortran/sic-interfaces-public.o built/arm64-darwin-gfortran/sic-package.o built/arm64-darwin-gfortran/sic_parse_mod.o built/arm64-darwin-gfortran/sic-python-f.o built/arm64-darwin-gfortran/sicsay.o built/arm64-darwin-gfortran/sicset.o built/arm64-darwin-gfortran/sicsub.o built/arm64-darwin-gfortran/sicvms.o built/arm64-darwin-gfortran/siman.o built/arm64-darwin-gfortran/sort.o built/arm64-darwin-gfortran/stack.o built/arm64-darwin-gfortran/symbol.o built/arm64-darwin-gfortran/task.o built/arm64-darwin-gfortran/timer.o built/arm64-darwin-gfortran/transpose.o built/arm64-darwin-gfortran/varexp.o built/arm64-darwin-gfortran/varexp-generic.o built/arm64-darwin-gfortran/vector.o built/arm64-darwin-gfortran/wrpro.o built/arm64-darwin-gfortran/xvariable.o built/arm64-darwin-gfortran/gmaster.o built/arm64-darwin-gfortran/sic-message.o :info:build (cd ./built/arm64-darwin-gfortran && /opt/local/bin/gfortran-mp-13 -dynamiclib -fopenmp -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -shared -o /opt/local/lib/gildas/arm64-darwin-gfortran/lib/libsic.so -install_name /opt/local/lib/gildas/arm64-darwin-gfortran/lib/libsic.so getcar.o import-c.o sic-message-c.o sic-sicimport.o gmaster-c.o sic_python.o aliasvar.o argauto.o abbrev.o analyse.o argumexp.o codefunc.o compute.o controlc.o datetime.o defvar.o delete.o delvar.o desc.o diff.o dofunc.o dofuncl.o dofuncs.o dofuncd.o dofunci.o editor.o error.o evaluate.o examine.o execsic.o execute.o expand_macro.o expr.o fill.o fits.o forme.o get.o getcom.o getlin.o grep.o hashing.o header.o help.o import.o inicli.o interstate.o intrinsic.o let.o liste.o loop.o lun.o macro.o math.o mcmc.o minimize.o modify.o operand.o powell.o procedure.o prompt.o read.o reduce.o reduce-math.o sicfits.o gmessage.o sicopt.o sic_inter_mod.o sic-interfaces.o sic-interfaces-private.o sic-interfaces-public.o sic-package.o sic_parse_mod.o sic-python-f.o sicsay.o sicset.o sicsub.o sicvms.o siman.o sort.o stack.o symbol.o task.o timer.o transpose.o varexp.o varexp-generic.o vector.o wrpro.o xvariable.o gmaster.o sic-message.o \ :info:build -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/lib/libsic.so -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/lib -L/opt/local/lib -L/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib -lggui -lgcore -lgio -lgfits -lgwcs -lgmath -lgsys -lginc -lgslatec -lglapack -lgblas -L/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/config-3.11-darwin -lpython3.11 -ldl -framework CoreFoundation -L/opt/local/lib -lcfitsio -lm -ldl -install_name @loader_path/../lib/libsic.so) :info:build ld: warning: duplicate -rpath '/opt/local/lib/libgcc' ignored :info:build # -Xlinker --no-undefined :info:build cp -fr built/arm64-darwin-gfortran/sic_interfaces_public.mod /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include/sic_interfaces_public.mod :info:build cp -fr built/arm64-darwin-gfortran/sic_types.mod /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include/sic_types.mod :info:build mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include/sic :info:build cp -fr gpackage-sicimport.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include/sic/gpackage-sicimport.h :info:build cp -fr gpackage-pyimport.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include/sic/gpackage-pyimport.h :info:build \sed \ :info:build -e 's?\$MOD_IDENTITY?pysic?g' \ :info:build -e 's?\$MOD_SOURCES?sic-pyimport.c?g' \ :info:build -e 's?\$MOD_DEPENDS?-lsic -lsic?g' \ :info:build -e 's?\$MOD_LIB_DIRS?/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/lib:/opt/local/lib:/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib?g' \ :info:build -e 's?\$MOD_INC_DIRS?/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/kernel/lib?g' \ :info:build -e 's?\$MOD_EXTRAS??g' \ :info:build -e 's?\$ALL_CFLAGS?-I../ -Os -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -pipe -fPIC -Ddarwin -DDARWIN -DPNG -O -Dunderscore -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE?g' \ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/etc/setup.py.src > ./built/arm64-darwin-gfortran/setup.py :info:build mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/python :info:build ARCHFLAGS='-arch arm64' /opt/local/bin/python3.11 ./built/arm64-darwin-gfortran/setup.py build --build-base ./built/arm64-darwin-gfortran --build-lib ./built/arm64-darwin-gfortran :info:build Running Python 3.11.6 (main, Oct 3 2023, 18:36:55) [Clang 15.0.0 (clang-1500.0.40.1)] :info:build running build :info:build running build_ext :info:build building 'pysic' extension :info:build creating built/arm64-darwin-gfortran/temp.macosx-14.0-arm64-cpython-311 :info:build /usr/bin/clang -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -Ddarwin -DDARWIN -DPNG -Dunderscore -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/kernel/lib -I../ -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c sic-pyimport.c -o ./built/arm64-darwin-gfortran/temp.macosx-14.0-arm64-cpython-311/sic-pyimport.o :info:build sic-pyimport.c:6:1: warning: passing arguments to 'gpy_pack_import' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] :info:build GPACK_DEFINE_PYTHON_IMPORT(sic); :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/kernel/lib/sic/gpackage-pyimport.h:62:27: note: expanded from macro 'GPACK_DEFINE_PYTHON_IMPORT' :info:build modu = gpy_pack_import( GPACK_SET_FCT_NAME(package), \ :info:build ^ :info:build 1 warning generated. :info:build /usr/bin/clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 ./built/arm64-darwin-gfortran/temp.macosx-14.0-arm64-cpython-311/sic-pyimport.o -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/lib -L/opt/local/lib -L/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib -lsic -lsic -o ./built/arm64-darwin-gfortran/pysic.cpython-311-darwin.so :info:build ld: warning: ignoring duplicate libraries: '-lsic' :info:build ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/lib/libsic.so' :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build error: command '/usr/bin/clang' failed with exit code 1 :info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/integ/arm64-darwin-gfortran/python/pysic.cpython-311-darwin.so] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/kernel/lib/sic' :info:build make[2]: *** [default-install] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/kernel/lib' :info:build make[1]: *** [default-install] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c/kernel' :info:build make: *** [default-install] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gildas/gildas/work/gildas-src-oct23c' :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/arm64-darwin-gfortran/lib/$(notdir $@) -install_name /opt/local/lib/gildas/arm64-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-oct23c/integ/arm64-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.
Attachments (1)
Change History (11)
Changed 13 months ago by yangcht (Chentao Yang)
comment:1 follow-up: 3 Changed 13 months ago by yangcht (Chentao Yang)
Information regarding the compilers.
yangcht@pool-041187:~|⇒ sudo port select gcc Password: Available versions for gcc: mp-gcc12 mp-gcc13 none (active) yangcht@pool-041187:~|⇒ which gcc /usr/bin/gcc yangcht@pool-041187:~|⇒ which g++ /usr/bin/g++ yangcht@pool-041187:~|⇒ which gfortran /usr/local/bin/gfortran
comment:2 Changed 13 months ago by kencu (Ken)
the underlying issue you’re having is similar to the one described in #68329
comment:3 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to yangcht:
yangcht@pool-041187:~|⇒ which gfortran /usr/local/bin/gfortran
Although it may not be the cause of this build failure, having software installed in /usr/local can interfere with MacPorts; see wiki:FAQ#usrlocal.
comment:4 follow-up: 5 Changed 12 months ago by jpinedaf (Jaime Pineda)
I get the same error message, with the compilers in /opt/local/bin
.
Following.
comment:5 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jpinedaf added |
---|---|
Keywords: | gildas removed |
Summary: | Error: Failed to build gildas: command execution failed (gildas-202310c_0+gcc13.darwin_23.arm64.tbz2) → gildas @202310c: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' |
Replying to jpinedaf:
I get the same error message, with the compilers in
/opt/local/bin
.
Probably everybody with Xcode 15 or later will get this error until someone fixes it.
Following.
To receive notifications about a ticket you have to click the "Cc Me!" button, or someone has to add you to the Cc field manually, which I've done now.
comment:6 Changed 12 months ago by akhil-lasrado (Akhil Lasrado)
Cc: | akhil-lasrado added |
---|
comment:7 Changed 12 months ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
comment:8 Changed 12 months ago by pabloriviere (Pablo Rivière)
Cc: | pabloriviere added |
---|
comment:9 Changed 12 months ago by jpinedaf (Jaime Pineda)
Notice that a workaround was posted here, #68756, it involves rolling back to gcc12.
comment:10 Changed 10 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
{9d017dc9465cd72143ae08e7737c5cd64fe2011f/macports-ports]
error log