Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora Linux R_HOME ('/opt/R-devel/lib64/R') not found #464

Closed
gjmvanboxtel opened this issue Apr 29, 2021 · 4 comments
Closed

Fedora Linux R_HOME ('/opt/R-devel/lib64/R') not found #464

gjmvanboxtel opened this issue Apr 29, 2021 · 4 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@gjmvanboxtel
Copy link

When running rhub::check_for_cran() for https://github.com/gjmvanboxtel/gsignal, I get this error

Build ID: | gsignal_0.3-1.tar.gz-57bbaba0c7d84b39bc2bd789bd3a3d48
Platform: | Fedora Linux, R-devel, clang, gfortran

==================== Starting Docker container
+R-HUB-R-HUB-R-HUBpwd
+R-HUB-R-HUB-R-HUBdocker run -i --user docker --env-file /tmp/file5K11Qc -v /home/rhub/workspace/gsignal_0.3-1.tar.gz-57bbaba0c7d84b39bc2bd789bd3a3d48/gsignal_0.3-1.tar.gz:/tmp/gsignal_0.3-1.tar.gz --name gsignal_0.3-1.tar.gz-57bbaba0c7d84b39bc2bd789bd3a3d48-2 sha256:ce7ad364ebc3f978a87f1471db97f1cef1eac0ba4e29e1bd44a8ab0932238554 /bin/bash -l
ERROR: R_HOME ('/opt/R-devel/lib64/R') not found

Anyone else seeing this?

@gaborcsardi
Copy link
Collaborator

Yes, I can reproduce this.

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Apr 29, 2021
@gaborcsardi
Copy link
Collaborator

Seems like the Docker container or R-devel is broken. Let me try to build another one.

@gaborcsardi
Copy link
Collaborator

Fails here: https://github.com/wch/r-source/blob/0f0092adf14b8bd17bcce1cac0ee26b928355dab/src/scripts/R.sh.in#L263

Apparently test -x behaves differently on Fedora 34:

❯ docker run -ti fedora:latest
[root@f944f25b16b4 /]# test -x /tmp/
[root@f944f25b16b4 /]# echo $?
1

and on Fedora 33:

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

Wow. We can switch back to building on Fedora 33 I guess.

gaborcsardi added a commit to r-hub/rhub-linux-builders that referenced this issue Apr 29, 2021
@gaborcsardi
Copy link
Collaborator

OK, this is fixed, but of course there is also #462....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants