#66266 closed defect (fixed)

scotch @6.0.9 build failure on Ventura

Reported by: Yashwanth131091 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc: catap (Kirill A. Korinsky)
Port: scotch

Description

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.

Change History (3)

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

Keywords: ventura added
Milestone: MacPorts Future
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: Unable to build scotch via macports in Ventura osscotch @6.0.9 build failure on Ventura

comment:2 Changed 17 months ago by catap (Kirill A. Korinsky)

Cc: catap added

comment:3 Changed 16 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

scotch has been updated, it appears, and the current version builds on Ventura without error:

% port -v installed scotch
The following ports are currently installed:
  scotch @7.0.1_0+mpich (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-29T15:00:44-0800'
Note: See TracTickets for help on using tickets.