Opened 10 years ago

Closed 10 years ago

#43541 closed defect (fixed)

ml: configure: error: cannot compile a simple Fortran program

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: ml

Description

From the buildbot:

--->  Configuring ml
DEBUG: Using compiler 'Xcode Clang'
DEBUG: Executing proc-pre-org.macports.configure-configure-0
DEBUG: Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: 
DEBUG: Executing org.macports.configure (ml)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O3 -mtune=native -fPIC -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O3 -mtune=native -fPIC -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.9' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_math_ml/ml/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O3 -mtune=native -fPIC -m64' LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' FCFLAGS='-pipe -Os -m64' OBJC='/usr/bin/clang' OBJCXX='/usr/bin/clang++' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -Os -arch x86_64' OBJCXXFLAGS='-pipe -Os -arch x86_64' FFLAGS='-pipe -O3 -mtune=native -fPIC -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_math_ml/ml/work/ml-6.2" && ./configure --prefix=/opt/local --disable-ml-epetra --disable-ml-aztecoo --disable-ml-examples --disable-tests --with-blas='-framework vecLib' --with-lapack='-framework Accelerate''
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_dports_math_ml/ml/work/ml-6.2" && ./configure --prefix=/opt/local --disable-ml-epetra --disable-ml-aztecoo --disable-ml-examples --disable-tests --with-blas='-framework vecLib' --with-lapack='-framework Accelerate' 
----------------------------------------
Running ML Configure Script
----------------------------------------
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-apple-darwin13.1.0
checking host system type... i686-apple-darwin13.1.0
checking target system type... i686-apple-darwin13.1.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether we are using MPI... no
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang++... gcc3
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking dependency style of /usr/bin/clang... gcc3
checking for f77... no
checking for g77... no
checking for gfortran... no
checking for f90... no
checking for xlf90... no
checking for f95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking for ranlib... ranlib
checking finding build directory... /opt/local/var/macports/build/_opt_mports_dports_math_ml/ml/work/ml-6.2
checking whether additional CCFLAGS flags should be added... no
checking whether additional CXXFLAGS flags should be added... no
checking whether additional CFLAGS flags should be added... no
checking whether additional FFLAGS flags should be added... no
checking whether additional libraries are needed... no
checking whether additional LDFLAGS flags should be added... no
checking for special archiver command... none
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking whether to build export makefiles... yes
checking for perl... yes
checking whether gnumake specific code should be enabled... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cassert usability... yes
checking cassert presence... yes
checking for cassert... yes
checking cmath usability... yes
checking cmath presence... yes
checking for cmath... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for inline... inline
checking whether the compiler implements namespaces... yes
checking whether the compiler supports Standard Template Library... yes
checking whether the compiler recognizes bool as a built-in type... yes
checking whether the compiler supports the mutable keyword... yes
checking whether the compiler accepts the new for scoping rules... yes
checking whether the compiler recognizes std::sprintf as supported IO function... yes
checking whether /usr/bin/clang recognizes __PRETTY_FUNCTION__... yes
checking whether to use ml_newtpe... yes
checking whether to use ml_enrich... no
checking whether to use ml_aztec2_1... no
checking whether to use ml_complex_maxwell... no
checking whether to use ml_timing... no
checking whether to use ml_memory_checking... no
checking whether to use ml_flops... no
checking whether to use ml_benchmarking... no
checking whether to use ml_superlu... no
checking whether to use ml_superlu2... no
checking whether to use ml_superlu_dist... no
checking whether to use ml_metis... no
checking whether to use ml_parmetis2x... no
checking whether to use ml_parmetis3x... no
checking whether to use ml_arpack... no
checking whether to use ml_parpack... no
checking whether to use ml_parasails... no
checking whether to use ml_nox... no
checking whether to use ml_zoltan... no
checking whether to use ml_zoltan3... no
checking whether to use petsc... no
checking whether to build optional epetra dependent code in ml... no
checking whether to build optional amesos dependent code in ml... no
checking whether to build optional ifpack dependent code in ml... no
checking whether to build optional teuchos dependent code in ml... no
checking whether to build optional aztecoo dependent code in ml... no
checking whether to build optional epetraext dependent code in ml... no
checking whether to build optional isorropia dependent code in ml... no
checking whether to build optional galeri dependent code in ml... no
checking whether to use ml-examples... no
checking whether to use tests... no
checking whether to use ml-tests... no
checking whether to use libcheck... yes
checking whether additional library search paths defined... no
checking whether additional include search paths defined... no
checking how to get verbose linking output from ... configure: WARNING: compilation failed

checking for Fortran 77 libraries of ... 
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: cannot compile a simple Fortran program
See `config.log' for more details.
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_dports_math_ml/ml/work/ml-6.2" && ./configure --prefix=/opt/local --disable-ml-epetra --disable-ml-aztecoo --disable-ml-examples --disable-tests --with-blas='-framework vecLib' --with-lapack='-framework Accelerate' 
Exit code: 1

Change History (1)

comment:1 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Fixed in r119635. Thanks for the report!

Note: See TracTickets for help on using tickets.