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

coq: fix installation of OCaml libraries #38969

Merged
merged 2 commits into from Apr 20, 2018
Merged

Conversation

vbgl
Copy link
Contributor

@vbgl vbgl commented Apr 15, 2018

Motivation for this change

Be able to use the OCaml libraries of Coq through findlib.

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.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: coq

Partial log (click to expand)

make[2]: Leaving directory '/build/ocaml-4.05.0'
make[1]: *** [Makefile:465: opt.opt] Error 2
make[1]: Leaving directory '/build/ocaml-4.05.0'
make: *** [Makefile:531: world.opt] Error 2
builder for '/nix/store/ajqgdzi3mmwacpk8mzfja0ivpxhdxwsh-ocaml-4.05.0.drv' failed with exit code 2
cannot build derivation '/nix/store/7jxml82rf7wmiy5q8s2mgvlr75fn3cdw-camlp5-7.05.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5x5n70dmc57054071j059pk0gpjdhvp3-ocaml-findlib-1.7.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cziq47yh454yrfhsgs8q7qjvr1ka8lal-lablgtk-2.18.5.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/89ms9zln8wrpvl4lvz4b3n6434lyd86h-coq-8.7.2.drv': 4 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/89ms9zln8wrpvl4lvz4b3n6434lyd86h-coq-8.7.2.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: coq

Partial log (click to expand)

wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
wrong ELF type
/nix/store/qc52c24cgk3ip3pc3a1bzciylsdkvy80-coq-8.7.2

@matthewbauer matthewbauer merged commit 0d8e415 into NixOS:master Apr 20, 2018
@vbgl vbgl deleted the coq-findlib branch April 21, 2018 06:46
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

3 participants