FS#59581 - R package install crashes with gcc / glibc updates
Attached to Project:
Arch Linux
Opened by M. Edward (Ed) Borasky (znmeb) - Wednesday, 08 August 2018, 23:03 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 09 August 2018, 07:00 GMT
Opened by M. Edward (Ed) Borasky (znmeb) - Wednesday, 08 August 2018, 23:03 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 09 August 2018, 07:00 GMT
|
Details
Description: R package installs crash with
terminate called after throwing an instance of 'std::runtime_error' what(): Mutex creation failed after upgrading to gcc-8.2.0 and glibc 2.28. Downgrading makes R package installs work but then the GNOME desktop no longer comes up! Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: 1. Upgrade to latest system, including r-3.5.1-2 2. Start R. 3. At the ">" prompt, type "install.packages("learnr") |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 09 August 2018, 07:00 GMT
Reason for closing: Upstream
Additional comments about closing: seems like this will be solved by individual projects implementing glibc 2.28 support, none of which we package in our repos
Thursday, 09 August 2018, 07:00 GMT
Reason for closing: Upstream
Additional comments about closing: seems like this will be solved by individual projects implementing glibc 2.28 support, none of which we package in our repos
> install.packages("later")
...
gcc -I"/usr/include/R/" -DNDEBUG -pthread -I"/build/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/build/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c tinycthread.c -o tinycthread.o
g++ -shared -L/usr/lib64/R/lib -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o later.so RcppExports.o callback_registry.o init.o later.o later_native.o later_posix.o later_win32.o timer_posix.o timestamp_unix.o timestamp_win32.o tinycthread.o -pthread -L/usr/lib64/R/lib -lR
installing to /build/R/x86_64-pc-linux-gnu-library/3.5/later/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
sh: line 1: 154 Aborted (core dumped) '/usr/lib64/R/bin/R' --no-save --slave 2>&1 < '/tmp/RtmpMqWXCT/file7172600384'
terminate called after throwing an instance of 'std::runtime_error'
what(): Mutex creation failed
ERROR: loading failed
* removing ‘/build/R/x86_64-pc-linux-gnu-library/3.5/later’