[MacPorts] #65296: ecCodes @2.26.0 +debug+memfs+openmp: The Fortran compiler "/opt/local/bin/gfortran-mp-11" is not able to compile a simple test program.
MacPorts
noreply at macports.org
Sat Jun 4 21:12:45 UTC 2022
#65296: ecCodes @2.26.0 +debug+memfs+openmp: The Fortran compiler "/opt/local/bin
/gfortran-mp-11" is not able to compile a simple test program.
-------------------------+---------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: ecCodes
-------------------------+---------------------
I'm on Big Sur with Xcode 13:
{{{
-- Feature FORTRAN enabled
-- The Fortran compiler identification is unknown
-- Checking whether Fortran compiler has -isysroot
-- Checking whether Fortran compiler has -isysroot - yes
-- Checking whether Fortran compiler supports OSX deployment target flag
-- Checking whether Fortran compiler supports OSX deployment target flag -
yes
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - failed
-- Check for working Fortran compiler: /opt/local/bin/gfortran-mp-11
-- Check for working Fortran compiler: /opt/local/bin/gfortran-mp-11 -
broken
CMake Error at
/opt/local/share/cmake-3.22/Modules/CMakeTestFortranCompiler.cmake:61
(message):
The Fortran compiler
"/opt/local/bin/gfortran-mp-11"
is not able to compile a simple test program.
It fails with the following output:
Change Dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/work/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_8b4a2/fast &&
/Library/Developer/CommandLineTools/usr/bin/make -f
CMakeFiles/cmTC_8b4a2.dir/build.make CMakeFiles/cmTC_8b4a2.dir/build
Building Fortran object
CMakeFiles/cmTC_8b4a2.dir/testFortranCompiler.f.o
/opt/local/bin/gfortran-mp-11 -pipe -Os -fallow-argument-mismatch
-m64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-mmacosx-version-min=11.0 -fPIC -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/work/build/CMakeFiles/CMakeTmp/testFortranCompiler.f
-o CMakeFiles/cmTC_8b4a2.dir/testFortranCompiler.f.o
clang (LLVM option parsing): Unknown command line argument '-x86-pad-
for-align=false'. Try: 'clang (LLVM option parsing) --help'
clang (LLVM option parsing): Did you mean '--stackrealign=false'?
make[1]: *** [CMakeFiles/cmTC_8b4a2.dir/testFortranCompiler.f.o] Error
1
make: *** [cmTC_8b4a2/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
cmake/ecbuild_enable_fortran.cmake:46 (enable_language)
CMakeLists.txt:152 (ecbuild_enable_fortran)
-- Configuring incomplete, errors occurred!
See also
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/work/build/CMakeFiles/CMakeOutput.log".
See also
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/work/build/CMakeFiles/CMakeError.log".
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/work/build"
&& /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/opt/local"
-DCMAKE_INSTALL_NAME_DIR="/opt/local/lib"
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC"
-DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC"
-DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW
-DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make
-DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
-DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DENABLE_FORTRAN=ON
-DENABLE_NETCDF=ON -DENABLE_PNG=ON -DENABLE_AEC=ON
-DAEC_PATH=/opt/local/lib/libaec -DENABLE_TESTS=OFF
-DNETCDF_CONFIG_EXECUTABLE=/opt/local/bin/nc-config
-DENABLE_JPG_LIBJASPER=OFF
-DOPENJPEG_INCLUDE_DIR=/opt/local/include/openjpeg-1.5
-DOPENJPEG_LIBRARY=/opt/local/lib/libopenjpeg.dylib
-DZLIB_INCLUDE_DIR=/opt/local/include
-DZLIB_LIBRARY=/opt/local/lib/libz.dylib -DENABLE_ECCODES_OMP_THREADS=ON
-DENABLE_MEMFS=ON -DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="11.0"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk"
-DCMAKE_STRIP:FILEPATH=/bin/echo
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/work/eccodes-2.26.0-Source
Exit code: 1
Error: Failed to configure ecCodes: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/work/build/CMakeFiles/CMakeError.log
Error: Failed to configure ecCodes: configure failure: command execution
failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ecCodes/ecCodes/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port ecCodes failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65296>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list