[MacPorts] #68686: lapack @3.11.0: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'

MacPorts noreply at macports.org
Sun Jan 21 00:35:42 UTC 2024


#68686: lapack @3.11.0: ld: duplicate LC_RPATH '/opt/local/lib/libgcc'
------------------------+----------------------
  Reporter:  bjmarfito  |      Owner:  tenomoto
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:  sonoma
      Port:  lapack     |
------------------------+----------------------

Comment (by barracuda156):

 Yes, and still failing:
 {{{
 :info:build [  9%] Building Fortran object
 SRC/CMakeFiles/lapack.dir/slacon.f.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_lapack/lapack/work/build/SRC
 && /opt/local/bin/gfortran-mp-13 -Dlapack_EXPORTS  -pipe -Os -m64
 -frecursive -O2 -DNDEBUG -O2 -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -fPIC -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_lapack/lapack/work/lapack-3.11.0/SRC/slacon.f
 -o CMakeFiles/lapack.dir/slacon.f.o
 :info:build /usr/bin/clang -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -DNDEBUG
 -arch arm64 -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -dynamiclib
 -Wl,-headerpad_max_install_names -L/opt/local/lib
 -Wl,-headerpad_max_install_names -L/opt/local/lib/gcc13 -lgfortran
 -Wl,-rpath,/opt/local/lib/libgcc
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 -compatibility_version 3.0.0 -current_version 3.11.0 -o
 ../../lib/libcblas.3.11.0.dylib -install_name @rpath/libcblas.3.dylib
 CMakeFiles/cblas.dir/cblas_srotg.c.o CMakeFiles/cblas.dir/cblas_srotmg.c.o
 CMakeFiles/cblas.dir/cblas_srot.c.o CMakeFiles/cblas.dir/cblas_srotm.c.o
 CMakeFiles/cblas.dir/cblas_sswap.c.o CMakeFiles/cblas.dir/cblas_sscal.c.o
 CMakeFiles/cblas.dir/cblas_scopy.c.o CMakeFiles/cblas.dir/cblas_saxpy.c.o
 CMakeFiles/cblas.dir/cblas_sdot.c.o CMakeFiles/cblas.dir/cblas_sdsdot.c.o
 CMakeFiles/cblas.dir/cblas_snrm2.c.o CMakeFiles/cblas.dir/cblas_sasum.c.o
 CMakeFiles/cblas.dir/cblas_isamax.c.o CMakeFiles/cblas.dir/sdotsub.f.o
 CMakeFiles/cblas.dir/sdsdotsub.f.o CMakeFiles/cblas.dir/snrm2sub.f.o
 CMakeFiles/cblas.dir/sasumsub.f.o CMakeFiles/cblas.dir/isamaxsub.f.o
 CMakeFiles/cblas.dir/cblas_scasum.c.o CMakeFiles/cblas.dir/scasumsub.f.o
 CMakeFiles/cblas.dir/cblas_scnrm2.c.o CMakeFiles/cblas.dir/scnrm2sub.f.o
 CMakeFiles/cblas.dir/cblas_sgemv.c.o CMakeFiles/cblas.dir/cblas_sgbmv.c.o
 CMakeFiles/cblas.dir/cblas_sger.c.o CMakeFiles/cblas.dir/cblas_ssbmv.c.o
 CMakeFiles/cblas.dir/cblas_sspmv.c.o CMakeFiles/cblas.dir/cblas_sspr.c.o
 CMakeFiles/cblas.dir/cblas_sspr2.c.o CMakeFiles/cblas.dir/cblas_ssymv.c.o
 CMakeFiles/cblas.dir/cblas_ssyr.c.o CMakeFiles/cblas.dir/cblas_ssyr2.c.o
 CMakeFiles/cblas.dir/cblas_stbmv.c.o CMakeFiles/cblas.dir/cblas_stbsv.c.o
 CMakeFiles/cblas.dir/cblas_stpmv.c.o CMakeFiles/cblas.dir/cblas_stpsv.c.o
 CMakeFiles/cblas.dir/cblas_strmv.c.o CMakeFiles/cblas.dir/cblas_strsv.c.o
 CMakeFiles/cblas.dir/cblas_sgemm.c.o CMakeFiles/cblas.dir/cblas_ssymm.c.o
 CMakeFiles/cblas.dir/cblas_ssyrk.c.o CMakeFiles/cblas.dir/cblas_ssyr2k.c.o
 CMakeFiles/cblas.dir/cblas_strmm.c.o CMakeFiles/cblas.dir/cblas_strsm.c.o
 CMakeFiles/cblas.dir/cblas_globals.c.o
 CMakeFiles/cblas.dir/cblas_xerbla.c.o CMakeFiles/cblas.dir/xerbla.c.o
 CMakeFiles/cblas.dir/cblas_drotg.c.o CMakeFiles/cblas.dir/cblas_drotmg.c.o
 CMakeFiles/cblas.dir/cblas_drot.c.o CMakeFiles/cblas.dir/cblas_drotm.c.o
 CMakeFiles/cblas.dir/cblas_dswap.c.o CMakeFiles/cblas.dir/cblas_dscal.c.o
 CMakeFiles/cblas.dir/cblas_dcopy.c.o CMakeFiles/cblas.dir/cblas_daxpy.c.o
 CMakeFiles/cblas.dir/cblas_ddot.c.o CMakeFiles/cblas.dir/cblas_dsdot.c.o
 CMakeFiles/cblas.dir/cblas_dnrm2.c.o CMakeFiles/cblas.dir/cblas_dasum.c.o
 CMakeFiles/cblas.dir/cblas_idamax.c.o CMakeFiles/cblas.dir/ddotsub.f.o
 CMakeFiles/cblas.dir/dsdotsub.f.o CMakeFiles/cblas.dir/dnrm2sub.f.o
 CMakeFiles/cblas.dir/dasumsub.f.o CMakeFiles/cblas.dir/idamaxsub.f.o
 CMakeFiles/cblas.dir/cblas_dgemv.c.o CMakeFiles/cblas.dir/cblas_dgbmv.c.o
 CMakeFiles/cblas.dir/cblas_dger.c.o CMakeFiles/cblas.dir/cblas_dsbmv.c.o
 CMakeFiles/cblas.dir/cblas_dspmv.c.o CMakeFiles/cblas.dir/cblas_dspr.c.o
 CMakeFiles/cblas.dir/cblas_dspr2.c.o CMakeFiles/cblas.dir/cblas_dsymv.c.o
 CMakeFiles/cblas.dir/cblas_dsyr.c.o CMakeFiles/cblas.dir/cblas_dsyr2.c.o
 CMakeFiles/cblas.dir/cblas_dtbmv.c.o CMakeFiles/cblas.dir/cblas_dtbsv.c.o
 CMakeFiles/cblas.dir/cblas_dtpmv.c.o CMakeFiles/cblas.dir/cblas_dtpsv.c.o
 CMakeFiles/cblas.dir/cblas_dtrmv.c.o CMakeFiles/cblas.dir/cblas_dtrsv.c.o
 CMakeFiles/cblas.dir/cblas_dgemm.c.o CMakeFiles/cblas.dir/cblas_dsymm.c.o
 CMakeFiles/cblas.dir/cblas_dsyrk.c.o CMakeFiles/cblas.dir/cblas_dsyr2k.c.o
 CMakeFiles/cblas.dir/cblas_dtrmm.c.o CMakeFiles/cblas.dir/cblas_dtrsm.c.o
 CMakeFiles/cblas.dir/cblas_crotg.c.o CMakeFiles/cblas.dir/cblas_csrot.c.o
 CMakeFiles/cblas.dir/cblas_cswap.c.o CMakeFiles/cblas.dir/cblas_cscal.c.o
 CMakeFiles/cblas.dir/cblas_csscal.c.o CMakeFiles/cblas.dir/cblas_ccopy.c.o
 CMakeFiles/cblas.dir/cblas_caxpy.c.o
 CMakeFiles/cblas.dir/cblas_cdotu_sub.c.o
 CMakeFiles/cblas.dir/cblas_cdotc_sub.c.o
 CMakeFiles/cblas.dir/cblas_icamax.c.o CMakeFiles/cblas.dir/cdotcsub.f.o
 CMakeFiles/cblas.dir/cdotusub.f.o CMakeFiles/cblas.dir/icamaxsub.f.o
 CMakeFiles/cblas.dir/cblas_scabs1.c.o CMakeFiles/cblas.dir/scabs1sub.f.o
 CMakeFiles/cblas.dir/cblas_cgemv.c.o CMakeFiles/cblas.dir/cblas_cgbmv.c.o
 CMakeFiles/cblas.dir/cblas_chemv.c.o CMakeFiles/cblas.dir/cblas_chbmv.c.o
 CMakeFiles/cblas.dir/cblas_chpmv.c.o CMakeFiles/cblas.dir/cblas_ctrmv.c.o
 CMakeFiles/cblas.dir/cblas_ctbmv.c.o CMakeFiles/cblas.dir/cblas_ctpmv.c.o
 CMakeFiles/cblas.dir/cblas_ctrsv.c.o CMakeFiles/cblas.dir/cblas_ctbsv.c.o
 CMakeFiles/cblas.dir/cblas_ctpsv.c.o CMakeFiles/cblas.dir/cblas_cgeru.c.o
 CMakeFiles/cblas.dir/cblas_cgerc.c.o CMakeFiles/cblas.dir/cblas_cher.c.o
 CMakeFiles/cblas.dir/cblas_cher2.c.o CMakeFiles/cblas.dir/cblas_chpr.c.o
 CMakeFiles/cblas.dir/cblas_chpr2.c.o CMakeFiles/cblas.dir/cblas_cgemm.c.o
 CMakeFiles/cblas.dir/cblas_csymm.c.o CMakeFiles/cblas.dir/cblas_chemm.c.o
 CMakeFiles/cblas.dir/cblas_cherk.c.o CMakeFiles/cblas.dir/cblas_cher2k.c.o
 CMakeFiles/cblas.dir/cblas_ctrmm.c.o CMakeFiles/cblas.dir/cblas_ctrsm.c.o
 CMakeFiles/cblas.dir/cblas_csyrk.c.o CMakeFiles/cblas.dir/cblas_csyr2k.c.o
 CMakeFiles/cblas.dir/cblas_zrotg.c.o CMakeFiles/cblas.dir/cblas_zdrot.c.o
 CMakeFiles/cblas.dir/cblas_zswap.c.o CMakeFiles/cblas.dir/cblas_zscal.c.o
 CMakeFiles/cblas.dir/cblas_zdscal.c.o CMakeFiles/cblas.dir/cblas_zcopy.c.o
 CMakeFiles/cblas.dir/cblas_zaxpy.c.o
 CMakeFiles/cblas.dir/cblas_zdotu_sub.c.o
 CMakeFiles/cblas.dir/cblas_zdotc_sub.c.o
 CMakeFiles/cblas.dir/cblas_dznrm2.c.o
 CMakeFiles/cblas.dir/cblas_dzasum.c.o
 CMakeFiles/cblas.dir/cblas_izamax.c.o CMakeFiles/cblas.dir/zdotcsub.f.o
 CMakeFiles/cblas.dir/zdotusub.f.o CMakeFiles/cblas.dir/dzasumsub.f.o
 CMakeFiles/cblas.dir/dznrm2sub.f.o CMakeFiles/cblas.dir/izamaxsub.f.o
 CMakeFiles/cblas.dir/cblas_dcabs1.c.o CMakeFiles/cblas.dir/dcabs1sub.f.o
 CMakeFiles/cblas.dir/cblas_zgemv.c.o CMakeFiles/cblas.dir/cblas_zgbmv.c.o
 CMakeFiles/cblas.dir/cblas_zhemv.c.o CMakeFiles/cblas.dir/cblas_zhbmv.c.o
 CMakeFiles/cblas.dir/cblas_zhpmv.c.o CMakeFiles/cblas.dir/cblas_ztrmv.c.o
 CMakeFiles/cblas.dir/cblas_ztbmv.c.o CMakeFiles/cblas.dir/cblas_ztpmv.c.o
 CMakeFiles/cblas.dir/cblas_ztrsv.c.o CMakeFiles/cblas.dir/cblas_ztbsv.c.o
 CMakeFiles/cblas.dir/cblas_ztpsv.c.o CMakeFiles/cblas.dir/cblas_zgeru.c.o
 CMakeFiles/cblas.dir/cblas_zgerc.c.o CMakeFiles/cblas.dir/cblas_zher.c.o
 CMakeFiles/cblas.dir/cblas_zher2.c.o CMakeFiles/cblas.dir/cblas_zhpr.c.o
 CMakeFiles/cblas.dir/cblas_zhpr2.c.o CMakeFiles/cblas.dir/cblas_zgemm.c.o
 CMakeFiles/cblas.dir/cblas_zsymm.c.o CMakeFiles/cblas.dir/cblas_zhemm.c.o
 CMakeFiles/cblas.dir/cblas_zherk.c.o CMakeFiles/cblas.dir/cblas_zher2k.c.o
 CMakeFiles/cblas.dir/cblas_ztrmm.c.o CMakeFiles/cblas.dir/cblas_ztrsm.c.o
 CMakeFiles/cblas.dir/cblas_zsyrk.c.o CMakeFiles/cblas.dir/cblas_zsyr2k.c.o
 -L/opt/local/lib/gcc13/gcc/arm64-apple-darwin23/13.2.0
 -Wl,-rpath,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_lapack/lapack/work/build/lib
 ../../lib/libblas.3.11.0.dylib -lgfortran -lgfortran -lemutls_w -lgcc
 -lquadmath -lemutls_w -lgcc -lgcc
 :info:build ld: warning: ignoring duplicate libraries: '-lemutls_w',
 '-lgcc', '-lgfortran'
 :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_math_lapack/lapack/work/build/lib/libblas.3.11.0.dylib'
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [lib/libcblas.3.11.0.dylib] 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_math_lapack/lapack/work/build'
 :info:build make[1]: *** [CBLAS/src/CMakeFiles/cblas.dir/all] Error 2
 :info:build make[1]: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list