[MacPorts] #62678: netcdf 4.8.0: update fails after libstdc++ headers not found
MacPorts
noreply at macports.org
Sun Apr 18 01:00:57 UTC 2021
#62678: netcdf 4.8.0: update fails after libstdc++ headers not found
---------------------------+----------------------
Reporter: thiagoveloso | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: netcdf |
---------------------------+----------------------
Comment (by EJFielding):
I am getting the same error as @thiagoveloso on Catalina v10.15.7. I think
this is the relevant part of the log:
{{{
version:1
:debug:sysinfo macOS 10.15 (darwin/19.6.0) arch i386
:debug:sysinfo MacPorts 2.6.4
:debug:sysinfo Xcode 12.4
:debug:sysinfo SDK 10.15
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
:msg:main ---> Computing dependencies for netcdf:info:main .:debug:main
netcdf has no conflicts
:debug:main Searching for dependency: cmake
:debug:main Found Dependency: receipt exists for cmake
:debug:main Searching for dependency: openmpi-default
:debug:main Found Dependency: receipt exists for openmpi-default
:debug:main Searching for dependency: hdf5
:debug:main Found Dependency: receipt exists for hdf5
:debug:main Searching for dependency: curl
:debug:main Found Dependency: receipt exists for curl
:debug:main Executing org.macports.main (netcdf)
:debug:main dropping privileges: euid changed to 502, egid changed to 20.
:debug:archivefetch archivefetch phase started at Sat Apr 17 12:31:42 PDT
2021
:msg:archivefetch ---> Fetching archive for netcdf
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-
archivefetch-0
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-
archivefetch-1
:debug:archivefetch mpi.enforce_variant list: hdf5
:debug:archivefetch hdf5 is installed with the following variants:
+cxx+hl+openmpi
:debug:archivefetch required: , forbidden:
:debug:archivefetch accepted
:debug:archivefetch hdf5 is installed with the following variants:
+cxx+hl+openmpi
:debug:archivefetch required: mpich, forbidden:
:debug:archivefetch rejected, because required variant mpich is missing
:debug:archivefetch hdf5 is installed with the following variants:
+cxx+hl+openmpi
:debug:archivefetch required: openmpi, forbidden:
:debug:archivefetch accepted
:debug:archivefetch Executing org.macports.archivefetch (netcdf)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/20
:info:archivefetch --->
netcdf-4.8.0_0+cdf5+dap+netcdf4+openmpi.darwin_19.x86_64.tbz2 doesn't seem
to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch ---> Attempting to fetch
netcdf-4.8.0_0+cdf5+dap+netcdf4+openmpi.darwin_19.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/netcdf
:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404 Not Found
:msg:archivefetch ---> Attempting to fetch
netcdf-4.8.0_0+cdf5+dap+netcdf4+openmpi.darwin_19.x86_64.tbz2 from
https://kmq.jp.packages.macports.org/netcdf
:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404 Not Found
:msg:archivefetch ---> Attempting to fetch
netcdf-4.8.0_0+cdf5+dap+netcdf4+openmpi.darwin_19.x86_64.tbz2 from
https://mse.uk.packages.macports.org/netcdf
:debug:archivefetch Fetching archive failed: The requested URL returned
error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running
as root.
:debug:fetch fetch phase started at Sat Apr 17 12:31:44 PDT 2021
:notice:fetch ---> Fetching distfiles for netcdf
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-1
:debug:fetch mpi.enforce_variant list: hdf5
:debug:fetch hdf5 is installed with the following variants:
+cxx+hl+openmpi
:debug:fetch required: , forbidden:
:debug:fetch accepted
:debug:fetch hdf5 is installed with the following variants:
+cxx+hl+openmpi
:debug:fetch required: mpich, forbidden:
:debug:fetch rejected, because required variant mpich is missing
:debug:fetch hdf5 is installed with the following variants:
+cxx+hl+openmpi
:debug:fetch required: openmpi, forbidden:
:debug:fetch accepted
:debug:fetch Executing org.macports.fetch (netcdf)
...
:info:configure -- Found Math library:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libm.tbd
:info:configure -- Found MPI_C: /opt/local/bin/mpicc-openmpi-mp (found
version "3.1")
:info:configure -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES
MPI_CXX_HEADER_DIR MPI_CXX_WORKS)
:info:configure CMake Error at
/opt/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218
(message):
:info:configure Could NOT find MPI (missing: MPI_CXX_FOUND) (found
version "3.1")
:info:configure Reason given by package: MPI component 'Fortran' was
requested, but language Fortran is not enabled.
:info:configure Call Stack (most recent call first):
:info:configure
/opt/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582
(_FPHSA_FAILURE_MESSAGE)
:info:configure /opt/local/share/cmake-3.19/Modules/FindMPI.cmake:1722
(find_package_handle_standard_args)
:info:configure CMakeLists.txt:1208 (FIND_PACKAGE)
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeOutput.log".
:info:configure See also
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/build/CMakeFiles/CMakeError.log".
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/build"
&& /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local'
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON
-DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
-DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make
-DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr"
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev
-DCMAKE_PREFIX_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.8.0/cmake/modules
-DENABLE_PARALLEL_TESTS=ON -DENABLE_NETCDF_4=ON -DENABLE_DAP=ON
-DENABLE_DAP_REMOTE_TESTS=OFF -DENABLE_CDF5=ON
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
-DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-c-4.8.0
:info:configure Exit code: 1
:error:configure Failed to configure netcdf: configure failure: command
execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62678#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list