-
Notifications
You must be signed in to change notification settings - Fork 423
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
gfortran errors when building R recipes that are dependent on gcc #1424
Comments
Thanks @daler for bringing this up. I have also seen this a few times. |
I cannot reproduce this problem:
Can you try without any |
Still no luck: docker run -it condaforge/linux-anvil /bin/bash -c "\
conda config --remove channels conda-forge;
conda config --get;
conda skeleton cran r-ash;
conda build r-ash -c r"
|
What CPU are you running? |
cat /proc/cpuinfo
|
@mingwandroid Any ideas? Or suggestions for what I could try? |
I'm going to rebuild GCC soon for the new longer prefix. I've recently seen that on OS X, the old GCC isn't being used at all due to it being in the short version of the prefix folder while the long version is the one on PATH. Hopefully that is your problem too, i.e. it's using the system gfortran. |
Thanks, that would be great if it solved the problem, but I'm skeptical in this case because there's no gfortran on the system: docker run condaforge/linux-anvil /bin/bash -c "which gfortran"
while the error when building the recipe is:
|
@mingwandroid any updates on this? Are you able to reproduce with condaforge/linux-anvil? |
I cannot reproduce this so I cannot fix it. I'd suggest not using docker and seeing if that makes the problem go away. |
OK, thanks. I have the problem both with and without docker, so I'll look into CPU architecture issues. |
Turns out I can build on travis-ci's architecture but not on my local machine. I had no idea Xeon X5482 was considered too old for fortran! Sorry for the noise. |
Well it's not really noise, more like useful information. |
Hi there, thank you for your contribution! This issue has been automatically locked because it has not had recent activity after being closed. Please open a new issue if needed. Thanks! |
When building some R packages, I'm getting errors related to gfortran. This happens on R packages
ash
,blockmodeling
,robustbase
,fields
,spam
,cghflasso
, and others.Here's how to reproduce:
docker run -it condaforge/linux-anvil /bin/bash -c \ "conda skeleton cran r-ash; conda build r-ash -c r"
Here's the full log:
The information I've found makes me think it's an issue with how it was compiled, e.g.,
The text was updated successfully, but these errors were encountered: