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

getdp: init at 3.0.4 #49871

Merged
merged 1 commit into from Jan 30, 2019
Merged

getdp: init at 3.0.4 #49871

merged 1 commit into from Jan 30, 2019

Conversation

wucke13
Copy link
Contributor

@wucke13 wucke13 commented Nov 7, 2018

Motivation for this change
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.

@nlewo
Copy link
Member

nlewo commented Nov 15, 2018

@GrahamcOfBorg build getdp

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: getdp

Partial log (click to expand)

[  2%] Building CXX object CMakeFiles/getdp.dir/Common/Message.cpp.o
/tmp/nix-build-getdp-3.0.3.drv-0/getdp-3.0.3-source/Common/Message.cpp:59:10: fatal error: 'Python.h' file not found
#include <Python.h>
         ^~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/getdp.dir/build.make:128: CMakeFiles/getdp.dir/Common/Message.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1097: CMakeFiles/getdp.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
builder for '/nix/store/5iznn70b85dx1367rkrxn19i1rlsnnx7-getdp-3.0.3.drv' failed with exit code 2
error: build of '/nix/store/5iznn70b85dx1367rkrxn19i1rlsnnx7-getdp-3.0.3.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: getdp

Partial log (click to expand)

-- Installing: /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3/share/doc/getdp/templates/README.txt
-- Installing: /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3/share/man/man1/getdp.1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3
shrinking /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3/bin/getdp
gzipping man pages under /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3/bin
patching script interpreter paths in /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3
checking for references to /build in /nix/store/43mklrhc6c6by542912jrgj5x0qdw8m1-getdp-3.0.3...

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: getdp

Partial log (click to expand)

cannot build derivation '/nix/store/by5p7vlw6p1hsixyliy85dim5r8xqzq5-conduit-1.3.1.drv': 14 dependencies couldn't be built
cannot build derivation '/nix/store/q3pv07v48jyh8qzgpm1r8wjv6yc5va57-tls-1.4.1.drv': 17 dependencies couldn't be built
cannot build derivation '/nix/store/x94qhdgjjn6pi5zhcnbxp6csmndvyvrh-connection-0.2.8.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/793ymrxpa1nmc0h9qbyb705hzaqpc6aa-yaml-0.8.32.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/qcpay92v35qx4jgpckq7krz513ah3sdv-http-client-tls-0.3.5.3.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/a1snaj0bpwzl00skil0a6xz97i0mkilf-pandoc-2.2.1.drv': 40 dependencies couldn't be built
cannot build derivation '/nix/store/2r6n4ij8p62869sx23fkhd6w9jy9nmap-rdma-core-20.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/x38q8kad14rcvwi2n06k5l2pshawsw70-openmpi-3.1.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/65ish1p5gznfzx2d8qzfsgqis3laihd0-getdp-3.0.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/65ish1p5gznfzx2d8qzfsgqis3laihd0-getdp-3.0.3.drv' failed

@nlewo
Copy link
Member

nlewo commented Nov 15, 2018

@wucke13 Could you either fix the build for failing arch or remove them from supported platform list?

@wucke13
Copy link
Contributor Author

wucke13 commented Nov 15, 2018

I have absolutely no clue why the build on aarch64-linux failed. Is GHC needed for Gfortran? And if yes, does GHC really do not compile on AArch64?
Regarding the Darwin Build: I'm trying to fix it.

@wucke13
Copy link
Contributor Author

wucke13 commented Nov 26, 2018

@nlewo would you mind triggering a rebuild on @GrahamcOfBorg? I added the missing dependency for darwin, though I'm still clueless on about AArch64.

@nlewo
Copy link
Member

nlewo commented Nov 26, 2018

@wucke13 regarding aarch64, then just remove it from the meta.supportedPlatforms list.
@GrahamcOfBorg build getdp

@GrahamcOfBorg
Copy link

Timed out, unknown build status on aarch64-linux (full log)

Attempted: getdp

Partial log (click to expand)

cannot build derivation '/nix/store/lfgs7kpbnjmcmpb8pjxxiw36armjgzjl-conduit-1.3.1.drv': 14 dependencies couldn't be built
cannot build derivation '/nix/store/194caqdrshjzd1ddv7vrm22llyhnj8mh-tls-1.4.1.drv': 17 dependencies couldn't be built
cannot build derivation '/nix/store/0wmfr7dnpkh0xhv0nxyhxv411zyb8b99-connection-0.2.8.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/rshdxqhzzx7rr09mwfqzawf7v39cbxkf-yaml-0.8.32.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/k6fxbabya3q49zc1aj0vb9j64rlcpimz-http-client-tls-0.3.5.3.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/1kdvc5cdyicwq7ymzq8rkf8jz2hhcsf5-pandoc-2.2.1.drv': 40 dependencies couldn't be built
cannot build derivation '/nix/store/77dymsrikwaj6bs222h725qq0cn8cf9q-rdma-core-21.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n3xakzmpw89xsk3170sdlz25pjdqb29n-openmpi-3.1.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ws232ws9djzp49c6nsk9d5bkyq32icb2-getdp-3.0.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ws232ws9djzp49c6nsk9d5bkyq32icb2-getdp-3.0.3.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-darwin (full log)

Attempted: getdp

Partial log (click to expand)

cannot build derivation '/nix/store/vr2674gsqv0j5fjwaiiw24fjmhfy4wgh-libxml2-2.9.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/958i3pmw1kcc1asfa07fcpq4jk8gdbig-libarchive-3.3.2.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/1y2n9z1cag2wb25kb4nj68ayzqs5p5q4-libxslt-1.1.32.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/h7ycqi0xdfb0jsv970p5b4vgnn2pkqwn-cmake-3.12.1.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/pmvp1fpkkrcgcqwq4hpqayjrv4kqlqvm-ninja-1.8.2.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/7sm0dzja7h6z0i42210k9xf55anp1dpv-liblapack-3.8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/14g4mv488iib7w86ikhvvxd7b3pn13b5-swift-corefoundation.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/w0h8gaaxvpknn7wgiqs4axadv8s8p1m9-python3-3.7.1.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/fp46wlvjpazdir1q3k9qg99fanjvgnd6-getdp-3.0.3.drv': 7 dependencies couldn't be built
error: build of '/nix/store/fp46wlvjpazdir1q3k9qg99fanjvgnd6-getdp-3.0.3.drv' failed

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-linux (full log)

Attempted: getdp

Partial log (click to expand)

cannot build derivation '/nix/store/l6yvqlcqfdlki78b3j9ql6wdd2ky5cxw-conduit-1.3.1.drv': 14 dependencies couldn't be built
cannot build derivation '/nix/store/6f3l7q6sl8gp7ba56wc6f9i528ndg5k6-tls-1.4.1.drv': 17 dependencies couldn't be built
cannot build derivation '/nix/store/5mnbm3qkr60ygh0l67ckyd1mjwv0cfna-connection-0.2.8.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/wsx6xvnd72dscbh0zdhmm47q6i6832a4-yaml-0.8.32.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/aqr4g2adm97csnbv3dpka1ksj3f1njk1-http-client-tls-0.3.5.3.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/klfpjmr444l68vrwjqvb2vh6719w811z-pandoc-2.2.1.drv': 40 dependencies couldn't be built
cannot build derivation '/nix/store/8kg7amq6hw6cdlznmnjwzfxm7j3azphd-rdma-core-21.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xmgskwndcdphsz7x9dcicrl9yzb5c7g5-openmpi-3.1.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6i7kyazfld4wl35w4nm2npssbzivi7mq-getdp-3.0.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/6i7kyazfld4wl35w4nm2npssbzivi7mq-getdp-3.0.3.drv' failed

@wucke13 wucke13 changed the title getdp: init at 3.0.3 getdp: init at 3.0.4 Dec 19, 2018
@wucke13
Copy link
Contributor Author

wucke13 commented Dec 19, 2018

@nlewo Adjusted the build according to your suggestion. Also updated to the newest stable release.

@nlewo
Copy link
Member

nlewo commented Dec 26, 2018

@GrahamcOfBorg build getdp

@wucke13
Copy link
Contributor Author

wucke13 commented Jan 8, 2019

@nlewo May it be the case that @GrahamcOfBorg fails to build due to errors unrelated to getdp?

@markuskowa
Copy link
Member

@GrahamcOfBorg build getdp

@markuskowa
Copy link
Member

markuskowa commented Jan 28, 2019

Can you please do a rebase. That GHC problem might be gone on the actual master branch.
Did you try to run the program after switching to openblas? Sometimes there are problems with the 64bit interface.

@wucke13
Copy link
Contributor Author

wucke13 commented Jan 28, 2019

@markuskowa Thanks for the hint about rebasing. Didn't think of that, but of course that might be a good reason for @GrahamcOfBorg to fail. The resulting binary indeed works. I will submit my changes by tomorrow.

@markuskowa
Copy link
Member

@GrahamcOfBorg build getdp

@markuskowa markuskowa merged commit ca13dc1 into NixOS:master Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants