Opened 2 years ago

Closed 2 years ago

#65570 closed defect (fixed)

mpich-default fails at build on Big Sur

Reported by: mbrethen Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: mpich-default

Description

--->  Configuring mpich-default
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  VALGRIND_DESTROY_MEMPOOL: found in mpich-4.0.2/src/mpl/config.log
  VALGRIND_MEMPOOL_FREE: found in mpich-4.0.2/src/mpl/config.log
  VALGRIND_PRINTF_BACKTRACE: found in mpich-4.0.2/src/mpl/config.log
  VALGRIND_CREATE_BLOCK: found in mpich-4.0.2/src/mpl/config.log
  VALGRIND_MEMPOOL_ALLOC: found in mpich-4.0.2/src/mpl/config.log
  __atomic_load_8: found in mpich-4.0.2/modules/libfabric/config.log
  VALGRIND_CREATE_MEMPOOL: found in mpich-4.0.2/src/mpl/config.log
  exit: found in mpich-4.0.2/modules/json-c/config.log
--->  Building mpich-default
Error: Failed to build mpich-default: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-default/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port mpich-default failed

Change History (4)

comment:1 Changed 2 years ago by mbrethen

main.log file is >12MB, here is a snippet of the log:

:info:build ld: warning: directory not found for option '-L/opt/local/lib/mpich-mp'
:info:build ld: warning: argument missing after -rpath
:info:build ld: can't map file, errno=22 file '/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [lib/libpmpi.la] 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_mpich/mpich-default/work/mpich-4.0.2'
:info:build make[1]: *** [all-recursive] 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_mpich/mpich-default/work/mpich-4.0.2'
:info:build make: *** [all] 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_mpich/mpich-default/work/mpich-4.0.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-default/work/mpich-4.0.2" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2

comment:2 Changed 2 years ago by kencu (Ken)

I thought this commit would fix these kinds of errors that started showing up:

https://github.com/macports/macports-ports/commit/9712a6f0bbea20b6676bd03c4701793317b71d81

comment:3 Changed 2 years ago by mbrethen

running port selfupdate was all I needed, Thanks.

comment:4 Changed 2 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.