Opened 4 years ago

Closed 4 years ago

#61909 closed defect (fixed)

mpich-devel-default: undefined symbols on macOS 11

Reported by: LemingVan Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: LemingVan, MiloCheng17, MurrayDaw
Port: mpich-devel-default

Description

The Macos is the new one, Big Sur.

When I try to install mpich-devel-default, I get the error message below,

% sudo port install mpich-devel-default
Password:
--->  Computing dependencies for mpich-devel-default
--->  Fetching distfiles for mpich-devel-default
--->  Verifying checksums for mpich-devel-default
--->  Extracting mpich-devel-default
--->  Applying patches to mpich-devel-default
--->  Configuring mpich-devel-default
--->  Building mpich-devel-default
Error: Failed to build mpich-devel-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-devel-default/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mpich-devel-default failed

What should I do to install the mpich-devel-default correcttly?

Change History (16)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

In the future, please add the port maintainer(s) to Cc (port info --maintainers mpich-devel-default), if any.

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Keywords: install bug removed
Owner: set to eborisch
Status: newassigned

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Summary: Big Sur can't install mpich-devel-defaultmpich-devel-default: build error

comment:4 Changed 4 years ago by LemingVan

% port info --maintainers mpich-devel-default
maintainers: eborisch@macports.org eborisch, openmaintainer

comment:5 Changed 4 years ago by LemingVan

Cc: LemingVan added

comment:6 Changed 4 years ago by LemingVan

Cc: LemingVan removed

comment:7 Changed 4 years ago by LemingVan

Cc: LemingVan added

comment:8 Changed 4 years ago by eborisch (Eric A. Borisch)

I haven't had a chance to look into this at all; note that the -devel versions here are tracking upstream development, and are not the recommended version to install unless you are expressly interested in testing out some new feature.

comment:9 Changed 4 years ago by LemingVan

Hi eborisch,

Which version of mpich do you recommend for MacOS Big Sur?

comment:10 Changed 4 years ago by LemingVan

% sudo port install mpich              
Password:
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
--->  Computing dependencies for mpich
The following dependencies will be installed:  mpich-default
Continue? [Y/n]: y
--->  Fetching distfiles for mpich-default
--->  Verifying checksums for mpich-default
--->  Extracting mpich-default
--->  Applying patches to mpich-default
--->  Configuring mpich-default
--->  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 to report a bug.
Error: Processing of port mpich failed

comment:11 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: MiloCheng17 MurrayDaw added
Keywords: bigsur added
Summary: mpich-devel-default: build errormpich-devel-default: undefined symbols on macOS 11

Has duplicates #62010, #62037.

See also #61492.

The relevant portions of browser:macports-ports/devel/libtool/files/dynamic_lookup-11.patch need to be applied to the mpich ports.

comment:12 Changed 4 years ago by eborisch (Eric A. Borisch)

I will take a look at the libtool patch.

Please run selfupdate and try again; 3.4 builds on the Darwin 20 build bot: http://packages.macports.org/mpich-default/ so it should just download the pre-compiled version if you have a standard install. (I think, unless I’ve got my version number off.)

comment:13 Changed 4 years ago by LemingVan

sudo port install mpich-default works now. Thank you all for the help.

% port installed
The following ports are currently installed:
  autoconf @2.69_5 (active)
  automake @1.16.3_0 (active)
  brotli @1.0.9_0 (active)
  bzip2 @1.0.8_0 (active)
  cairo @1.16.0_1+quartz+x11 (active)
  cctools @927.0.2_6+xcode
  cctools @949.0.1_0+xcode (active)
  charls @2.1.0_0 (active)
  curl @7.74.0_0+ssl (active)
  db48 @4.8.30_4 (active)
  dbus @1.12.20_0 (active)
  expat @2.2.10_0 (active)
  fontconfig @2.13.1_0 (active)
  freetype @2.10.4_0 (active)
  gcc10 @10.2.0_4 (active)
  gcc_select @0.1_9 (active)
  gdal @3.2.1_0+postgresql13+proj7 (active)
  gdbm @1.18.1_1 (active)
  geos @3.9.0_0 (active)
  getopt @1.1.6_0 (active)
  gettext @0.19.8.1_2 (active)
  ghostscript @9.53.3_1+x11 (active)
  giflib @4.2.3_0 (active)
  glib2 @2.58.3_1+x11 (active)
  gmp @6.2.1_0 (active)
  gmt4 @4.5.18_10+gdal+triangle (active)
  gshhg-gmt @2.3.7_0 (active)
  hdf5 @1.12.0_0+cxx+hl (active)
  icu @67.1_3 (active)
  isl @0.22.1_0 (active)
  jbig2dec @0.19_0 (active)
  jbigkit @2.1_0 (active)
  lcms2 @2.11_1 (active)
  ld64 @3_3+ld64_xcode (active)
  ld64-xcode @2_3 (active)
  libedit @20191231-3.1_0 (active)
  libffi @3.3_1 (active)
  libgcc @3.0_0 (active)
  libgcc10 @10.2.0_3 (active)
  libiconv @1.16_1 (active)
  libidn @1.36_0 (active)
  libidn2 @2.3.0_0 (active)
  libjpeg-turbo @2.0.6_0 (active)
  libmpc @1.2.1_0 (active)
  libpaper @1.1.28_0 (active)
  libpixman @0.38.4_0 (active)
  libpng @1.6.37_0 (active)
  libpsl @0.21.1-20200817_0 (active)
  librttopo @1.1.0_0 (active)
  libtool @2.4.6_11 (active)
  libunistring @0.9.10_0 (active)
  libxml2 @2.9.10_1 (active)
  libxslt @1.1.34_4 (active)
  lz4 @1.9.3_0 (active)
  minizip @1.2.11_1 (active)
  mpfr @4.1.0_0 (active)
  mpi-doc @3.3.2_0 (active)
  mpi_select @0.0_3 (active)
  mpich-default @3.4_0+gcc10 (active)
  ncurses @6.2_0
  ncurses @6.2_1 (active)
  netcdf @4.7.4_2+cdf5+dap+netcdf4 (active)
  netcdf-fortran @4.5.3_0+gcc10 (active)
  openjpeg @2.3.1_0 (active)
  openssl @1.1.1i_0 (active)
  ossp-uuid @1.6.2_11+perl5_28 (active)
  pcre @8.44_1 (active)
  perl5 @5.28.3_0+perl5_28 (active)
  perl5.28 @5.28.3_1 (active)
  pkgconfig @0.29.2_0 (active)
  postgresql13 @13.1_1 (active)
  postgresql_select @0.4_0 (active)
  proj7 @7.2.1_0+tiff (active)
  python3_select @0.0_2 (active)
  python_select @0.3_9 (active)
  qhull @2020.2_0 (active)
  readline @8.1.000_0 (active)
  spatialite @5.0.0_2+proj7 (active)
  sqlite3 @3.34.1_0 (active)
  szip @2.1.1_0 (active)
  tiff @4.2.0_1 (active)
  webp @1.1.0_1 (active)
  xorg-libice @1.0.10_0 (active)
  xorg-libpthread-stubs @0.4_0 (active)
  xorg-libsm @1.2.3_0 (active)
  xorg-libX11 @1.7.0_0 (active)
  xorg-libXau @1.0.9_0 (active)
  xorg-libxcb @1.14_0+python38 (active)
  xorg-libXdmcp @1.1.3_0 (active)
  xorg-libXext @1.3.4_0 (active)
  xorg-libXt @1.2.0_0 (active)
  xorg-xcb-proto @1.14.1_0+python38 (active)
  xorg-xcb-util @0.4.0_1 (active)
  xorg-xorgproto @2020.1_0 (active)
  xrender @0.9.10_1 (active)
  xz @5.2.5_0 (active)
  zlib @1.2.11_0 (active)
  zstd @1.4.8_0 (active)

comment:14 Changed 4 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: assignedclosed

comment:15 Changed 4 years ago by lionelalexandre (Lionel)

Resolution: fixed
Status: closedreopened

On Mac Mojave and MacPorts 2.6.4 , when trying to install mpich-default

sudo port install mpich-default Password: ---> Computing dependencies for mpich-default ---> 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_release_tarballs_ports_science_mpich/mpich-default/main.log

comment:16 Changed 4 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

Please open a new ticket for that new issue.

Note: See TracTickets for help on using tickets.