Skip to content
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

sage: fix numpy and scipy integration #46325

Merged
merged 1 commit into from
Sep 7, 2018

Conversation

timokau
Copy link
Member

@timokau timokau commented Sep 7, 2018

Motivation for this change

The ofBorg build will still fail because #46016 hasn't gone through staging yet.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Sep 7, 2018
@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: sage

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


@timokau timokau merged commit b11cfc2 into NixOS:master Sep 7, 2018
@timokau timokau deleted the sage-numpy-1.15.1 branch September 7, 2018 16:53
@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: sage

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: sage

Partial log (click to expand)

  File "/nix/store/dzmmc92gy7a30pyxqa8fj0mhak6yg3m5-python-2.7.15-env/lib/python2.7/site-packages/sage/matrix/__init__.py", line 2, in <module>
    import sage.matrix.args
  File "sage/matrix/args.pyx", line 25, in init sage.matrix.args
  File "/nix/store/dzmmc92gy7a30pyxqa8fj0mhak6yg3m5-python-2.7.15-env/lib/python2.7/site-packages/sage/matrix/matrix_space.py", line 46, in <module>
    from . import matrix_modn_sparse
  File "sage/matrix/matrix_integer_dense.pxd", line 10, in init sage.matrix.matrix_modn_sparse
ImportError: /nix/store/dzmmc92gy7a30pyxqa8fj0mhak6yg3m5-python-2.7.15-env/lib/python2.7/site-packages/sage/matrix/matrix_integer_dense.so: undefined symbol: cblas_daxpy
builder for '/nix/store/qhmwqri2gjx8mkd641jvc8i7s88maa64-sage-8.3.drv' failed with exit code 1
cannot build derivation '/nix/store/qk2x0s4c1n8fgdz74mzj1bwqk61k3dzn-sage-wrapper-8.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/qk2x0s4c1n8fgdz74mzj1bwqk61k3dzn-sage-wrapper-8.3.drv' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants