-
Notifications
You must be signed in to change notification settings - Fork 2
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
"/bin/bash: clang: command not found" on OSX 11 #71
Comments
Also, I noticed that my little hack of getting rid of the
|
Hmm, is it just a case of needing to not map the user? Are you using https://bulker.databio.org/en/latest/advanced_templates/ I don't quite understand the final thing about the rstudio-server one though, why that would matter... |
I'm using the create directly from https://github.com/databio/hub.bulker.io/blob/master/waldronlab/bioconductor.yaml, so I guess that's why the user mapping isn't present in my rstudio-server bulker script? Here's the full diff on those scripts:
(oops, note, I had manually deleted the `--user`` flag from the R script above) |
This seems like some kind of problem with clang in the You could just add Because I can't explain why behavior is different when you use rstudio-server. That's the same image... so I guess to me this seems like a problem with the image that it outside of bulker. I mean, can you install stuff in that image just using straight-up docker? That's the issue to solve here. I think the user thing gives some kind of a hint that it may have to do with permissions or file locations or something. Unfortunately, I have no experience with clang. |
I'm currently unable to install packages requiring compiled C code when using my bulker (0.6.0) scripts on macOS Big Sur 11.1. I noticed the problem just after my recent upgrade to macOS 11, but can't guarantee that's when the problem started. Here is an example:
I can fix the problem by getting rid of the " --user=$(id -u):$(id -g)" line in my bulker script, e.g. the following completes normally:
Here is my bulker R script (from the waldronlab/bioconductor bulker crate):
FWIW, there is a host clang installation, which isn't in the PATH after entering a bulker shell:
clang still isn't in the PATH when removing the
--user
flag, even though I can now compile packages, which I don't understand. It's also not in the path when repeating on my Linux machine, even though I have no problems there.Just FYI, other than my username being root and home directory being
/
while invoking docker without the --user flag, file permissions seem to be handled correctly as the host user. Happy to give you remote access to my macOS machine if it'll help.The text was updated successfully, but these errors were encountered: