[MacPorts] #66266: Unable to build scotch via macports in Ventura os

MacPorts noreply at macports.org
Tue Nov 15 06:45:51 UTC 2022


#66266: Unable to build scotch via macports in Ventura os
-----------------------------+-----------------------------
 Reporter:  Yashwanth131091  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:  MacPorts Future
Component:  ports            |    Version:  2.8.0
 Keywords:                   |       Port:  scotch
-----------------------------+-----------------------------
 The section of the log is illustrated below:
 {{{
 :info:build (cd scotch ;         make VERSION=6 RELEASE=0 PATCHLEVEL=9
 ptscotch && make ptinstall)
 :info:build make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/scotch_6.0.9/src/scotch'
 :info:build make CC="/opt/local/bin/mpicc-mpich-mp" SCOTCHLIB=ptscotch  \
 :info:build                                     dggath
 \
 :info:build                                     dgmap
 \
 :info:build                                     dgord
 \
 :info:build                                     dgpart
 \
 :info:build                                     dgscat
 \
 :info:build                                     dgtst
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/scotch_6.0.9/src/scotch'
 :info:build /opt/local/bin/mpicc-mpich-mp -O3 -fPIC -Drestrict=__restrict
 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_PTHREAD_BARRIER
 -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_RENAME
 -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64
 -I../../include -I../libscotch dggath.c -o dggath -L../../lib -lptscotch
 -lscotch -lptscotcherrexit -L/opt/local/lib
 -Wl,-headerpad_max_install_names -lz -lm -lpthread -lbz2 -llzma
 -Wl,-rpath,/opt/local/lib/libgcc
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -arch arm64
 :info:build ld: in ../../lib/libptscotch.a(libscotch.a), archive member
 'libscotch.a' with length 846440 is not mach-o or llvm bitcode file
 '../../lib/libptscotch.a' for architecture arm64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [dggath] 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_scotch/scotch/work/scotch_6.0.9/src/scotch'
 :info:build make[1]: *** [ptscotch] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/scotch_6.0.9/src/scotch'
 :info:build make: *** [ptscotch] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/scotch_6.0.9/src'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_scotch/scotch/work/scotch_6.0.9/src"
 && /usr/bin/make -j1 -w scotch ptscotch esmumps ptesmumps
 CCS=/usr/bin/clang CCP=/opt/local/bin/mpicc-mpich-mp CCD=/opt/local/bin
 /mpicc-mpich-mp CFLAGS="-O3 -fPIC -Drestrict=__restrict
 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_PTHREAD_BARRIER
 -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_RENAME
 -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_LZMA
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch
 arm64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -lz -lm
 -lpthread -lbz2 -llzma -Wl,-rpath,/opt/local/lib/libgcc
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -arch arm64"
 :info:build Exit code: 2
 :error:build Failed to build scotch: command execution failed
 :debug:build Error code: CHILDSTATUS 46301 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_science_scotch/scotch/main.log
 for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66266>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list