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

ocamlPackages.bitstring: 2.1.1 -> 3.0.0 #40034

Merged
merged 1 commit into from May 13, 2018
Merged

Conversation

vbgl
Copy link
Contributor

@vbgl vbgl commented May 6, 2018

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.

@xeji
Copy link
Contributor

xeji commented May 12, 2018

@GrahamcOfBorg build libbap python27Packages.bap python36Packages.bap

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: libbap, python27Packages.bap, python36Packages.bap

Partial log (click to expand)

shrinking /nix/store/43fmbk0dp4p8wfzz9y5m7sfvqllqji8p-ocurl-0.8.0/lib/ocaml/4.06.1/site-lib/curl/curl.cmxs
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/43fmbk0dp4p8wfzz9y5m7sfvqllqji8p-ocurl-0.8.0/lib
patching script interpreter paths in /nix/store/43fmbk0dp4p8wfzz9y5m7sfvqllqji8p-ocurl-0.8.0
checking for references to /build in /nix/store/43fmbk0dp4p8wfzz9y5m7sfvqllqji8p-ocurl-0.8.0...
cannot build derivation '/nix/store/zhz0z7q2dpbqwba3h78ybnmqsjhp1zgx-ocaml-bap-1.4.0.drv': 14 dependencies couldn't be built
cannot build derivation '/nix/store/qwn97sb63ndhqbravhkiib484yl4b8qd-libbap-master-2018-03-01.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/kk52b7z78ck5dz2f15irdbnwbhc73jmz-python2.7-bap-1.3.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/acfiq6lxrsm2kkv1xfy964dvpah3rz2k-python3.6-bap-1.3.1.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/acfiq6lxrsm2kkv1xfy964dvpah3rz2k-python3.6-bap-1.3.1.drv', '/nix/store/kk52b7z78ck5dz2f15irdbnwbhc73jmz-python2.7-bap-1.3.1.drv', '/nix/store/qwn97sb63ndhqbravhkiib484yl4b8qd-libbap-master-2018-03-01.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: libbap, python27Packages.bap, python36Packages.bap

Partial log (click to expand)

/build/source
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p05b8p9p9590msap6vm3aim01zifh6zd-python3.6-bap-1.3.1
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/p05b8p9p9590msap6vm3aim01zifh6zd-python3.6-bap-1.3.1/lib
patching script interpreter paths in /nix/store/p05b8p9p9590msap6vm3aim01zifh6zd-python3.6-bap-1.3.1
checking for references to /build in /nix/store/p05b8p9p9590msap6vm3aim01zifh6zd-python3.6-bap-1.3.1...
/nix/store/18sn3jzb9m2qwk2cjy6sw3wvb4cxb0m0-libbap-master-2018-03-01
/nix/store/jlahqrdzr97d6wsszrw6i6z36l5i6npx-python2.7-bap-1.3.1
/nix/store/p05b8p9p9590msap6vm3aim01zifh6zd-python3.6-bap-1.3.1

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: libbap, python27Packages.bap, python36Packages.bap

Partial log (click to expand)

findlib: [WARNING] Package sexplib has multiple definitions in /nix/store/5rhgh9551awns0rarchcgvakwgsk8zhl-ocaml4.05.0-sexplib-0.10.0/lib/ocaml/4.05.0/site-lib/sexplib/META, /nix/store/88qb16kxm171xfkm330phfg4m73gi871-ocaml4.05.0-sexplib-0.10.0/lib/ocaml/4.05.0/site-lib/sexplib/META
/nix/store/710fk2fv29hzrb7mhjgxwja9xb5y7bgj-ocaml-findlib-1.8.0/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -short-paths -I lib/bap_config -I lib/bap_bundle -I lib/monads -I lib/bap_future -I lib/bap_plugins -I lib/ogre -I lib/regular -I lib/graphlib -I lib/bap_types -I lib/bap_image -I lib/bap_disasm -I lib/bap_sema -I lib/bap -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -pp 'ppx-jane -dump-ast -inline-test-drop' -predicates ppx_driver -package zarith -package uuidm -package uri -package unix -package ppx_jane -package ocamlgraph -package findlib -package fileutils -package dynlink -package core_kernel -package cmdliner -package camlzip -I lib/arm -I lib/bap -o lib/arm/arm_env.cmx lib/arm/arm_env.ml
+ /nix/store/710fk2fv29hzrb7mhjgxwja9xb5y7bgj-ocaml-findlib-1.8.0/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -short-paths -I lib/bap_config -I lib/bap_bundle -I lib/monads -I lib/bap_future -I lib/bap_plugins -I lib/ogre -I lib/regular -I lib/graphlib -I lib/bap_types -I lib/bap_image -I lib/bap_disasm -I lib/bap_sema -I lib/bap -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -pp 'ppx-jane -dump-ast -inline-test-drop' -predicates ppx_driver -package zarith -package uuidm -package uri -package unix -package ppx_jane -package ocamlgraph -package findlib -package fileutils -package dynlink -package core_kernel -package cmdliner -package camlzip -I lib/arm -I lib/bap -o lib/arm/arm_env.cmx lib/arm/arm_env.ml
findlib: [WARNING] Package sexplib has multiple definitions in /nix/store/5rhgh9551awns0rarchcgvakwgsk8zhl-ocaml4.05.0-sexplib-0.10.0/lib/ocaml/4.05.0/site-lib/sexplib/META, /nix/store/88qb16kxm171xfkm330phfg4m73gi871-ocaml4.05.0-sexplib-0.10.0/lib/ocaml/4.05.0/site-lib/sexplib/META
/nix/store/710fk2fv29hzrb7mhjgxwja9xb5y7bgj-ocaml-findlib-1.8.0/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -short-paths -I lib/bap_config -I lib/bap_bundle -I lib/monads -I lib/bap_future -I lib/bap_plugins -I lib/ogre -I lib/regular -I lib/graphlib -I lib/bap_types -I lib/bap_image -I lib/bap_disasm -I lib/bap_sema -I lib/bap -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -pp 'ppx-jane -dump-ast -inline-test-drop' -predicates ppx_driver -package zarith -package uuidm -package uri -package unix -package ppx_jane -package ocamlgraph -package findlib -package fileutils -package dynlink -package core_kernel -package cmdliner -package camlzip -I lib/arm -I lib/bap -o lib/arm/arm_cond.cmx lib/arm/arm_cond.ml
building of '/nix/store/h1r3mkvzxhzya96dzskgxcbfxv2mqwlb-ocaml-bap-1.4.0.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/vbwi9x7dy9c3s5ph900d8clx2s23lqsb-libbap-master-2018-03-01.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/psdzmhp5i9r0whiirrr1l6hfvrxq3ldp-python2.7-bap-1.3.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9cq7cgfy2rhhi30phnhk0mlj7ysg08rg-python3.6-bap-1.3.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/9cq7cgfy2rhhi30phnhk0mlj7ysg08rg-python3.6-bap-1.3.1.drv', '/nix/store/psdzmhp5i9r0whiirrr1l6hfvrxq3ldp-python2.7-bap-1.3.1.drv', '/nix/store/vbwi9x7dy9c3s5ph900d8clx2s23lqsb-libbap-master-2018-03-01.drv' failed

@xeji
Copy link
Contributor

xeji commented May 12, 2018

This seems to break libbap on darwin (which currently builds on master).

@vbgl
Copy link
Contributor Author

vbgl commented May 13, 2018

Building libbap takes a long time but eventually succeeds, even on darwin, AFAICT.

@xeji xeji merged commit 6131989 into NixOS:master May 13, 2018
@vbgl vbgl deleted the ocaml-bitstring-3.0.0 branch May 13, 2018 17:35
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