#44084: R fails to upgrade with fortran compiler error -------------------------+-------------------------------- Reporter: r1pp3r@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: R, gfortran | Port: R -------------------------+-------------------------------- Trying to upgrade the R port fails, due to a Fortran configure error: {{{ checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for /usr/bin/clang option to accept ISO C99... none needed checking for /usr/bin/clang option to accept ISO Standard C... (cached) none needed checking for inline... inline checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of double... 8 checking size of size_t... 8 checking size of long double... 16 checking whether we can compute C Make dependencies... yes, using $(CC) -MM checking whether /usr/bin/clang supports -c -o FILE.lo... yes checking how to get verbose linking output from /opt/local/bin/gfortran- mp-4.8... configure: WARNING: compilation failed checking for Fortran 77 libraries of /opt/local/bin/gfortran-mp-4.8... checking how to get verbose linking output from /usr/bin/clang... configure: WARNING: cannot determine how to obtain linking information from /usr/bin/clang checking for C libraries of /usr/bin/clang... checking for dummy main to link with Fortran 77 libraries... none checking for Fortran 77 name-mangling scheme... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-3.1.0': configure: error: cannot compile a simple Fortran program See `config.log' for more details Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-3.1.0" && ./configure --prefix=/opt/local/Library/Frameworks --enable-R-framework --enable-R-shlib --enable-BLAS-shlib --disable-openmp --with-readline --with-aqua --without-tcltk --with-libpng --with-ICU --with-included- gettext --without-internal-tzcode --with-blas="-framework vecLib" --with- lapack="-framework vecLib" --with-x --with-jpeglib --x-include=/opt/local/include/X11 --x-lib=/opt/local/lib --with-cairo --with-recommended-packages Exit code: 1 Error: Failed to configure R, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-3.1.0/config.log Error: org.macports.configure for port R returned: configure failure: command execution failed Warning: targets not executed for R: org.macports.install org.macports.configure org.macports.build org.macports.destroot Please see the log file for port R for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} -- Ticket URL: <https://trac.macports.org/ticket/44084> MacPorts <http://www.macports.org/> Ports system for OS X