Opened 20 months ago

Last modified 19 months ago

#67145 assigned defect

R @4.3.0: configure: error: Maybe check LDFLAGS for paths to Fortran libraries?

Reported by: barracuda156 Owned by: kjellpk (Kjell Konis)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: lion Cc: i0ntempest
Port: R

Description

https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/138211/steps/install-port/logs/stdio

checking whether we can compute C Make dependencies... yes, using $(CC) -MM
checking whether /opt/local/bin/clang-mp-15 supports -c -o FILE.lo... yes
checking how to get verbose linking output from /opt/local/bin/gfortran-mp-12... -v
checking for Fortran libraries of /opt/local/bin/gfortran-mp-12...  -L/opt/local/lib -L/opt/local/lib/gcc12/gcc/x86_64-apple-darwin11/12.2.0 -L/opt/local/lib/gcc12/gcc/x86_64-apple-darwin11/12.2.0/../../.. -lgfortran -lquadmath
checking how to get verbose linking output from /opt/local/bin/clang-mp-15... configure: WARNING: cannot determine how to obtain linking information from /opt/local/bin/clang-mp-15

checking for C libraries of /opt/local/bin/clang-mp-15... 
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking whether /opt/local/bin/gfortran-mp-12 appends underscores to external names... yes
checking whether /opt/local/bin/gfortran-mp-12 appends extra underscores to external names... no
checking whether mixed C/Fortran code can be run... configure: WARNING: cannot run mixed C/Fortran code
configure: error: Maybe check LDFLAGS for paths to Fortran libraries?
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_R/R/work/R-4.2.3" && ./configure --prefix=/opt/local/Library/Frameworks --enable-openmp --enable-R-framework --enable-memory-profiling --enable-R-shlib --enable-BLAS-shlib --without-tcltk --with-cairo --disable-java --with-included-gettext --disable-openmp --without-blas --without-lapack --with-recommended-packages --with-x --x-include=/opt/local/include/X11 --x-lib=/opt/local/lib 
Exit code: 1
Error: Failed to configure R: consult /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_R/R/work/R-4.2.3/config.log
Error: Failed to configure R: 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_bblocal_var_buildworker_ports_build_ports_math_R/R/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port R failed
Build of 'R' failed.

Change History (3)

comment:1 Changed 20 months ago by barracuda156

Summary: After recent clang_compilers update R fails to build on 10.7 (all other macOS are fine)After recent clang_compilers update R fails to configure on 10.7 (all other macOS are fine)

comment:2 Changed 20 months ago by barracuda156

An easy fix would be perhaps to blacklist Clang-15 on 10.7, but maybe anything better?

comment:3 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: i0ntempest added
Owner: changed from i0ntempest to kjellpk
Summary: After recent clang_compilers update R fails to configure on 10.7 (all other macOS are fine)R @4.3.0: configure: error: Maybe check LDFLAGS for paths to Fortran libraries?
Note: See TracTickets for help on using tickets.