-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
python36Packages.scipy: segmentation fault when running tests #92458
Comments
Also fails with python38Packages.scipy |
Particular stacktrace is:
|
I believe the fix is contained in: |
Opened #101780 to bump openblas to a version with that fix |
{
nixpkgs ? import (builtins.fetchGit {
url = "https://github.com/nixos/nixpkgs/";
#
# Commit hash for nixos-unstable
# `git ls-remote https://github.com/nixos/nixpkgs-channels nixos-unstable`
ref = "refs/heads/staging";
#rev = "3b4cd4f4dacd7db4011e88d819a1ae5acc3f3aff";
rev = "5219a3ade1939470f2965ad4d80c87f7fb33db3e";
#
# Commit hash for nixos-20.03
# `git ls-remote https://github.com/nixos/nixpkgs-channels nixos-20.03`
#name = "nixos-20.03-2020-07-06";
#ref = "refs/heads/nixos-20.03";
#rev = "afa9ca61924f05aacfe495a7ad0fd84709d236cc";
}) {}
}:
with nixpkgs;
let
python = python36;
python-with-base-packages = python.withPackages(ps: with ps; [
# the following packages are related to the dependencies of your python
# project.
# In this particular example the python modules listed in the
# requirements.txt require the following packages to be installed locally
# in order to compile any binary extensions they may require.
#
scipy
]);
in mkShell {
buildInputs = [
python-with-base-packages
python3Packages.venvShellHook
];
shellHook = ''
# set SOURCE_DATE_EPOCH so that we can use python wheels
SOURCE_DATE_EPOCH=$(date +%s)
venvShellHook
'';
} builds for me |
Works, thanks! |
This still affects |
Thanks, I’ll try that. Would such a backport be eligible to go to |
I don't really do backports, but since it fixes something known to be broken I assume it would be fine. |
Pull request should target |
fixing NixOS#92458 fetching the file from nixpkgs master at cc8db6e
Describe the bug
On current nixos-unstable Scipy fails to build with a segmentation fault during testing:
To Reproduce
Steps to reproduce the behavior:
shell.nix
nix-shell
Expected behavior
Should not segfault during test.
Additional context
SciPY seems to build just fine on current 20.03 release.
Notify maintainers
cc @FRidh , @matthewbauer
Metadata
"x86_64-linux"
Linux 5.4.46, NixOS, 20.09pre232692.7db146538e4 (Nightingale)
yes
yes
nix-env (Nix) 2.3.6
"home-manager, nixos-20.09pre233323.dc80d7bc4a2, nixos-hardware, nixpkgs-20.09pre233075.6e139365424"
""
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: