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

petsc: fix darwin build #36833

Merged
merged 1 commit into from Mar 12, 2018
Merged

petsc: fix darwin build #36833

merged 1 commit into from Mar 12, 2018

Conversation

knedlsepp
Copy link
Member

Motivation for this change

18.03 ZHF darwin edition: #36454 (Please backport to 18.03!)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
  • Fits CONTRIBUTING.md.

@LnL7
Copy link
Member

LnL7 commented Mar 12, 2018

@GrahamcOfBorg build petsc

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: petsc

Partial log (click to expand)

../configure: line 451: can't create lib/Makefile: nonexistent directory
../configure: line 452: can't create lib/Makefile: nonexistent directory
../configure: line 453: can't create lib/Makefile: nonexistent directory
../configure: line 509: can't create lib/Makefile: nonexistent directory
DONE configure
/nix/store/rvpmm1jmqi7j1w3a073511plvlbl4fw7-stdenv/setup: line 100: include/atlas_cacheedge.h: No such file or directory
builder for '/nix/store/mvv5j085g35z6yv9wki6r9s572sqqf49-atlas-3.10.2.drv' failed with exit code 1
cannot build derivation '/nix/store/r6dallw1w3w1g73aw6pj2v8rzq88xnmb-liblapack-3.4.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/z3dwxm5li1z8b2476sbk1vngbmwdcxpr-petsc-3.8.3.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/z3dwxm5li1z8b2476sbk1vngbmwdcxpr-petsc-3.8.3.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: petsc

Partial log (click to expand)

/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/48dxgpyx338m7yr8wswws60510aya7cc-petsc-3.8.3

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: petsc

Partial log (click to expand)

/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
checking for references to /tmp/nix-build-petsc-3.8.3.drv-0 in /nix/store/rwlnvghm0gx80ji3ndqbh8xkz7ccn69i-petsc-3.8.3...
/nix/store/rwlnvghm0gx80ji3ndqbh8xkz7ccn69i-petsc-3.8.3

@LnL7 LnL7 merged commit a431a65 into NixOS:master Mar 12, 2018
@knedlsepp knedlsepp deleted the fix-petsc-on-darwin branch March 12, 2018 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants