[R-SIG-Mac] Package compilation fails with recent R-devel build

Prof Brian Ripley r|p|eybd @end|ng |rom |c|oud@com
Tue Mar 11 09:56:01 CET 2025


On 11/03/2025 08:27, Gábor Csárdi wrote:
> I wonder if this is on purpose. The workaround is to install gettext
> from the macOS binary system packages.

Yes, it is intentional, and also work in progress.

> 
> ❯ R-4.5-arm64
> 
> R Under development (unstable) (2025-03-10 r87922) -- "Unsuffered Consequences"
> Copyright (C) 2025 The R Foundation for Statistical Computing
> Platform: aarch64-apple-darwin20
> 
> [...]
> 
> ❯ install.packages("filelock", type = "source")
> Installing package into ‘/Users/gaborcsardi/Library/R/arm64/4.5/library’
> (as ‘lib’ is unspecified)
> trying URL 'https://cloud.r-project.org/src/contrib/filelock_1.0.3.tar.gz'
> Content type 'application/x-gzip' length 15443 bytes (15 KB)
> ==================================================
> downloaded 15 KB
> 
> * installing *source* package ‘filelock’ ...
> 
> [...]
> 
> clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names
> -undefined dynamic_lookup
> -L/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib
> -L/opt/R/arm64/lib -o filelock.so init.o filelock-unix.o locklist.o
> -F/Library/Frameworks/R.framework/Versions/4.5-arm64 -framework R
> /opt/R/arm64/lib/libintl.a -Wl,-framework -Wl,CoreFoundation
> clang: error: no such file or directory: '/opt/R/arm64/lib/libintl.a'
> make: *** [filelock.so] Error 1
> ERROR: compilation failed for package ‘filelock’
> 
> [...]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 


-- 
Brian D. Ripley,                  ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford



More information about the R-SIG-Mac mailing list