-
Notifications
You must be signed in to change notification settings - Fork 50
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
{2023.06}[foss/2021a] RStudio-Server V1.4.1717-Java-11-R V4.1.0 #299
Closed
TopRichard
wants to merge
5
commits into
EESSI:2023.06
from
TopRichard:eessi-2023.06-RStudio-Server/1.4.1717-Java/11-R-4.1.0.eb-foss/2021a
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b4b5611
{2023.06}[foss/2021a] RStudio-Server V1.4.1717-Java-11-R V4.1.0
374e772
added reference to java easyblock 2557
0389a21
Merge branch '2023.06' of https://github.com/EESSI/software-layer int…
3ecc814
Merge branch '2023.06' of https://github.com/EESSI/software-layer int…
56d95b9
added the Xvfb parse_hook
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TopRichard Can you clarify why this is needed?
If there's a problem here, I'm not sure why we didn't see it outside of EESSI...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boegel Xvfb is a dependency, and so it was set to avoid a failure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got that part, but I don't see why we would see this problem with Xvfb outside of EESSI.
I'm seeing it too in #328 where I'm trying to get
R
installed (just to break down this PR a bit), so I'll take a closer look.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boegel I debugged that issue some time ago, see #299 (comment) and the messages below that one. TLDR (if I remember correctly): it's a combination of our writable overlay + setting the installation dir as read-only (and
xvfb-run
is shipped as "patch" in the EB installation dir).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also running into the same issue with #335
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boegel Could the issue with Xvfb be related to the version of XZ? That is the only difference I can discern in EESSI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's (I believe) somehow related to the fact we now have write-only installations and the writable overlay. We should probably create an upstream PR to reverse the order of statements in the
Xvfb
postinstallcmds
, which is what the hook update here is doing (or we just move forward with the hook update here).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I understand this a bit better now. The
cp -a xvfb-run
fails in our particular build environment in which we usefuse-overlayfs
(but not in a regular build environment when the file is just copied from one filesystem to another) because of the read-only permissions on the EasyBuild installation (wherexvfb-run
comes from).I strongly prefer fixing this centrally in EasyBuild, so I've opened a pull request for it: easybuilders/easybuild-easyconfigs#18834
I'm also fixing the
chmod u+x
, which should actually bechmod a+x
, so exec permissions onxvfb-run
in the installation directory are set for all users, not just for the account used to perform the installation.