-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Can't build numpy cross package for armv7 due to failure compiling gfortran needed in lapack and blas dependencies #88449
Labels
0.kind: bug
Something is broken
6.topic: cross-compilation
Building packages on a different platform than they will be used on
Comments
veprbl
added
the
6.topic: cross-compilation
Building packages on a different platform than they will be used on
label
May 20, 2020
Maybe related to: #53450 ? |
I'm not getting this in NixOS. It looks like a sandboxing issue. Can you try running this: |
Thanks for responding! I launched this build on NixOs using an AMI on EC2 and I get the same result as in the issue report, here are the system details:
|
A similar issue exists on unstable when building for x86.
Currently on:
|
rvem
pushed a commit
to serokell/nixpkgs
that referenced
this issue
Nov 8, 2022
We need to set FC so that CMake and other tools can find the fortran compiler. Also we need to limit the hardening flags since fortify and format don’t work with fortran. Fixes NixOS#88449
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0.kind: bug
Something is broken
6.topic: cross-compilation
Building packages on a different platform than they will be used on
Describe the bug
I'd like to build the python numpy package on an x86 machine for the armv7 architecture.
numpy requires liblapack and blas, which require gfortran
I already fixed one issue which is that liblapack couldn't find the gfortran compiler (see the overlay below)
I'm trying to use the 20.03 release, latest commit.
Here's what I'm running exactly:
To Reproduce
Steps to reproduce the behavior:
here's the error I get
Expected behavior
The derivation builds
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: