#68548 closed defect (duplicate)

SuiteSparse_CHOLMOD @3.0.14_1+openblas build fails

Reported by: occasionalreporter Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: SuiteSparse_CHOLMOD

Description (last modified by jmroot (Joshua Root))

While executing the command: sudo port install SuiteSparse_CHOLMOD I get the following output:

--->  Computing dependencies for SuiteSparse_CHOLMOD
--->  Fetching archive for SuiteSparse_CHOLMOD
--->  Attempting to fetch SuiteSparse_CHOLMOD-3.0.14_1+openblas.darwin_23.arm64.tbz2 from https://packages.macports.org/SuiteSparse_CHOLMOD
--->  Attempting to fetch SuiteSparse_CHOLMOD-3.0.14_1+openblas.darwin_23.arm64.tbz2 from https://nue.de.packages.macports.org/SuiteSparse_CHOLMOD
--->  Attempting to fetch SuiteSparse_CHOLMOD-3.0.14_1+openblas.darwin_23.arm64.tbz2 from https://fra.de.packages.macports.org/SuiteSparse_CHOLMOD
--->  Building SuiteSparse_CHOLMOD
Error: Failed to build SuiteSparse_CHOLMOD: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port SuiteSparse_CHOLMOD failed

Looking at the end of the log file, this is the relevant information:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/compwrap/cxx/usr/bin/clang++ -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/SuiteSparse-5.9.0/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/SuiteSparse-5.9.0/lib -dynamiclib -compatibility_version 3 -current_version 3.0.14 -Wl,-install_name -Wl,/opt/local/lib/libcholmod.3.dylib -shared -undefined dynamic_lookup  cholmod_aat.o cholmod_add.o cholmod_band.o cholmod_change_factor.o cholmod_common.o cholmod_complex.o cholmod_copy.o cholmod_dense.o cholmod_error.o cholmod_factor.o cholmod_memory.o cholmod_sparse.o cholmod_transpose.o cholmod_triplet.o cholmod_version.o cholmod_check.o cholmod_read.o cholmod_write.o cholmod_amd.o cholmod_analyze.o cholmod_colamd.o cholmod_etree.o cholmod_factorize.o cholmod_postorder.o cholmod_rcond.o cholmod_resymbol.o cholmod_rowcolcounts.o cholmod_rowfac.o cholmod_solve.o cholmod_spsolve.o cholmod_drop.o cholmod_horzcat.o cholmod_norm.o cholmod_scale.o cholmod_sdmult.o cholmod_ssmult.o cholmod_submatrix.o cholmod_vertcat.o cholmod_symmetry.o cholmod_rowadd.o cholmod_rowdel.o cholmod_updown.o cholmod_super_numeric.o cholmod_super_solve.o cholmod_super_symbolic.o cholmod_ccolamd.o cholmod_csymamd.o cholmod_metis.o cholmod_nesdis.o cholmod_camd.o cholmod_l_aat.o cholmod_l_add.o cholmod_l_band.o cholmod_l_change_factor.o cholmod_l_common.o cholmod_l_complex.o cholmod_l_copy.o cholmod_l_dense.o cholmod_l_error.o cholmod_l_factor.o cholmod_l_memory.o cholmod_l_sparse.o cholmod_l_transpose.o cholmod_l_triplet.o cholmod_l_version.o cholmod_l_check.o cholmod_l_read.o cholmod_l_write.o cholmod_l_amd.o cholmod_l_analyze.o cholmod_l_colamd.o cholmod_l_etree.o cholmod_l_factorize.o cholmod_l_postorder.o cholmod_l_rcond.o cholmod_l_resymbol.o cholmod_l_rowcolcounts.o cholmod_l_rowfac.o cholmod_l_solve.o cholmod_l_spsolve.o cholmod_l_drop.o cholmod_l_horzcat.o cholmod_l_norm.o cholmod_l_scale.o cholmod_l_sdmult.o cholmod_l_ssmult.o cholmod_l_submatrix.o cholmod_l_vertcat.o cholmod_l_symmetry.o cholmod_l_rowadd.o cholmod_l_rowdel.o cholmod_l_updown.o cholmod_l_super_numeric.o cholmod_l_super_solve.o cholmod_l_super_symbolic.o cholmod_l_ccolamd.o cholmod_l_csymamd.o cholmod_l_metis.o cholmod_l_nesdis.o cholmod_l_camd.o -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/SuiteSparse-5.9.0/lib/libcholmod.3.0.14.dylib -lm -lamd -lcolamd -lsuitesparseconfig -lccolamd -lcamd -L/opt/local/lib -lmetis -L/opt/local/lib -lopenblas -L/opt/local/lib -lopenblas
:info:build ld: warning: ignoring duplicate libraries: '-lopenblas'
:info:build ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in '/opt/local/lib/libopenblas-r1.dylib'
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/SuiteSparse-5.9.0/lib/libcholmod.3.0.14.dylib] 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_math_SuiteSparse/SuiteSparse_CHOLMOD/work/SuiteSparse-5.9.0/CHOLMOD/Lib'
:info:build make: *** [library] Error 2 
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/SuiteSparse-5.9.0/CHOLMOD/Lib'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/SuiteSparse-5.9.0/CHOLMOD/Lib" && /usr/bin/make -j1 -w default MY_METIS_LIB="-L/opt/local/lib -lmetis" MY_METIS_INC="/opt/local/include" MACPORTS_PREFIX="/opt/local" OPTIMIZATION="-O3" AUTOCC=no BLAS="-L/opt/local/lib -lopenblas" LAPACK="-L/opt/local/lib -lopenblas" TARGET_ARCH="-arch arm64" CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/compwrap/cc/usr/bin/clang" CXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/compwrap/cxx/usr/bin/clang++" OBJC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/compwrap/objc/usr/bin/clang" OBJCXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/work/compwrap/objcxx/usr/bin/clang++" 
:info:build Exit code: 2
:error:build Failed to build SuiteSparse_CHOLMOD: command execution failed
:debug:build Error code: CHILDSTATUS 64602 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" 
:debug:build     invoked from within 
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_SuiteSparse/SuiteSparse_CHOLMOD/main.log for details.

Attachments (1)

main.log (268.5 KB) - added by occasionalreporter 13 months ago.
Installation log file

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by occasionalreporter

Attachment: main.log added

Installation log file

comment:1 Changed 13 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: Installation failsSuiteSparse_CHOLMOD @3.0.14_1+openblas build fails

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

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.