[MacPorts] #69586: R build fails
MacPorts
noreply at macports.org
Mon Mar 25 02:11:08 UTC 2024
#69586: R build fails
--------------------------+--------------------
Reporter: ShadSterling | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: | Port: R
--------------------------+--------------------
Tried to disable everything to get a minimal failing case: `port clean R;
port install R -accelerate-aqua-atlas-builtin_lapack-cairo-
debug-g95-gcc10-gcc11+gcc12-gcc13-gccdevel-java-latex-openblas-openmp-
quartz-tcltk-tests-universal-x11`
{{{
---> Cleaning R
---> Computing dependencies for R
---> Fetching archive for R
---> Attempting to fetch R-4.3.3_2+gcc12.darwin_22.x86_64.tbz2 from
https://packages.macports.org/R
---> Attempting to fetch R-4.3.3_2+gcc12.darwin_22.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/R
---> Attempting to fetch R-4.3.3_2+gcc12.darwin_22.x86_64.tbz2 from
http://mirror.fcix.net/macports/packages/R
---> Fetching distfiles for R
---> Verifying checksums for R
---> Extracting R
---> Configuring R
Warning: Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
_NL_LOCALE_NAME: found in R-4.3.3/config.log
strchr: found in R-4.3.3/config.log
---> Building R
Error: Failed to build R: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_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
}}}
Looks like it has something to do with lapack and/or fortran
{{{
:info:build make[4]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-4.3.3/src/library/grDevices'
:info:build byte-compiling package 'grDevices'
:info:build Warning in solve.default(rgb) :
:info:build unable to load shared object
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-4.3.3/modules//lapack.so':
:info:build
dlopen(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-4.3.3/modules//lapack.so,
0x0006): symbol not found in flat namespace '__gfortran_concat_string'
:info:build Error in solve.default(rgb) : LAPACK routines cannot be loaded
:info:build Error: unable to load R code in package 'grDevices'
:info:build Execution halted
}}}
Enabling the other lapack variants `accelerate`, `builtin_lapack`,
`openblas` generate what looks like the same error; enabling `atlas` says
`Error: atlas is known to fail`.
Enabling the other fortran variants `g95`, `gcc10`, and `gcc11` also say
`known to fail`; `gcc13` fails to configure; `libgcc-devel` says `Error:
Can't install libgcc-devel because conflicting ports are active: libgcc
libgcc12`
I just want to keep all my ports up-to-date, I don't need R with a
specific lapack or fortran
--
Ticket URL: <https://trac.macports.org/ticket/69586>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list