Re: [Rd] R does not start on Fedora 34

2021-04-29 Thread Iñaki Ucar
On Thu, 29 Apr 2021 at 14:36, Gábor Csárdi  wrote:
>
> Dear all,
>
> Fedora 34 was released two days ago, and with a fresh build of R I get
>
> [root@2dba8b3587c1 R-devel]# bin/R
> ERROR: R_HOME ('/tmp/R-devel') not found

This is known. It's a docker issue after a glibc change. See [1] and
references therein. A newer version of docker/libseccomp should work.

[1] https://stat.ethz.ch/pipermail/r-sig-fedora/2021-March/000732.html

>
> on it, coming from
> https://github.com/wch/r-source/blob/0f0092adf14b8bd17bcce1cac0ee26b928355dab/src/scripts/R.sh.in#L263
>
> Apparently `test -x` returns 1 for an existing 755 directory on Fedora 34:
> ❯ docker run -ti fedora:latest
> [root@f944f25b16b4 /]# test -x /tmp/
> [root@f944f25b16b4 /]# echo $?
> 1
>
> On Fedora 33 this was different:
> ❯ docker run -ti fedora:33
> [root@ea55a1b92215 /]# test -x /tmp/
> [root@ea55a1b92215 /]# echo $?
> 0
>
> A workaround would be to use `test -d` which still return 0 on Fedora 34.
>
> FYI,
> Gabor
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



-- 
Iñaki Úcar

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] R does not start on Fedora 34

2021-04-29 Thread Gábor Csárdi
Dear all,

Fedora 34 was released two days ago, and with a fresh build of R I get

[root@2dba8b3587c1 R-devel]# bin/R
ERROR: R_HOME ('/tmp/R-devel') not found

on it, coming from
https://github.com/wch/r-source/blob/0f0092adf14b8bd17bcce1cac0ee26b928355dab/src/scripts/R.sh.in#L263

Apparently `test -x` returns 1 for an existing 755 directory on Fedora 34:
❯ docker run -ti fedora:latest
[root@f944f25b16b4 /]# test -x /tmp/
[root@f944f25b16b4 /]# echo $?
1

On Fedora 33 this was different:
❯ docker run -ti fedora:33
[root@ea55a1b92215 /]# test -x /tmp/
[root@ea55a1b92215 /]# echo $?
0

A workaround would be to use `test -d` which still return 0 on Fedora 34.

FYI,
Gabor

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel