Advertisement
programjm

BAP install errors

Nov 9th, 2020
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.24 KB | None | 0 0
  1. $ opam upgrade bap
  2. bap is not installed. Install it? [Y/n] y
  3. y
  4. The following actions will be performed:
  5. ∗ install bap-llvm master [required by bap]
  6. ∗ install bap-x86 master [required by bap]
  7. ∗ install bap-arm master [required by bap]
  8. ∗ install bap-primus-x86 master [required by bap]
  9. ∗ install bap master
  10. ===== ∗ 5 =====
  11. Do you want to continue? [Y/n] y
  12. y
  13.  
  14. <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  15. [bap.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  16. [bap-llvm.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  17. [bap-arm.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  18. [bap-primus-x86.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  19. [bap-x86.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  20.  
  21. <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  22. ∗ installed bap-llvm.master
  23. [ERROR] The compilation of bap-x86 failed at "/home/Jon/.opam/opam-init/hooks/sandbox.sh build make".
  24. [ERROR] The compilation of bap-arm failed at "/home/Jon/.opam/opam-init/hooks/sandbox.sh build make".
  25.  
  26. #=== ERROR while compiling bap-x86.master =====================================#
  27. # context 2.0.6 | linux/x86_64 | ocaml-base-compiler.4.09.0 | git+https://github.com/BinaryAnalysisPlatform/opam-repository#testing
  28. # path ~/.opam/4.09.0/.opam-switch/build/bap-x86.master
  29. # command ~/.opam/opam-init/hooks/sandbox.sh build make
  30. # exit-code 2
  31. # env-file ~/.opam/log/bap-x86-452690-f589c9.env
  32. # output-file ~/.opam/log/bap-x86-452690-f589c9.out
  33. ### output ###
  34. # [...]
  35. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package core_kernel -package bap-knowledge -package bap-core-theory -package bap -I lib/x86_cpu -o lib/x86_cpu/x86_llvm_env.cmi lib/x86_cpu/x86_llvm_env.mli
  36. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamldep -package ppx_jane -package ogre -package core_kernel -package bap-knowledge -package bap-core-theory -package bap -modules lib/x86_cpu/x86_llvm_env.ml > lib/x86_cpu/x86_llvm_env.ml.depends
  37. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamldep -package ppx_jane -package ogre -package core_kernel -package bap-knowledge -package bap-core-theory -package bap -modules lib/x86_cpu/x86_target.mli > lib/x86_cpu/x86_target.mli.depends
  38. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package core_kernel -package bap-knowledge -package bap-core-theory -package bap -I lib/x86_cpu -o lib/x86_cpu/x86_target.cmi lib/x86_cpu/x86_target.mli
  39. # + /home/Jon/.opam/4.09.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package core_kernel -package bap-knowledge -package bap-core-theory -package bap -I lib/x86_cpu -o lib/x86_cpu/x86_target.cmi lib/x86_cpu/x86_target.mli
  40. # File "lib/x86_cpu/x86_target.mli", line 13, characters 13-28:
  41. # 13 | val parent : Theory.Target.t
  42. # ^^^^^^^^^^^^^^^
  43. # Error: Unbound module Theory.Target
  44. # Command exited with code 2.
  45. # Makefile:8: recipe for target 'build' failed
  46. # make: *** [build] Error 1
  47.  
  48.  
  49. #=== ERROR while compiling bap-arm.master =====================================#
  50. # context 2.0.6 | linux/x86_64 | ocaml-base-compiler.4.09.0 | git+https://github.com/BinaryAnalysisPlatform/opam-repository#testing
  51. # path ~/.opam/4.09.0/.opam-switch/build/bap-arm.master
  52. # command ~/.opam/opam-init/hooks/sandbox.sh build make
  53. # exit-code 2
  54. # env-file ~/.opam/log/bap-arm-452690-a8fa88.env
  55. # output-file ~/.opam/log/bap-arm-452690-a8fa88.out
  56. ### output ###
  57. # [...]
  58. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamldep -package regular -package ppx_jane -package ogre -package core_kernel -package bitvec-order -package bitvec -package bap-knowledge -package bap-core-theory -package bap -modules lib/arm/arm_reg.ml > lib/arm/arm_reg.ml.depends
  59. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamldep -package regular -package ppx_jane -package ogre -package core_kernel -package bitvec-order -package bitvec -package bap-knowledge -package bap-core-theory -package bap -modules lib/arm/arm_shift.ml > lib/arm/arm_shift.ml.depends
  60. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamldep -package regular -package ppx_jane -package ogre -package core_kernel -package bitvec-order -package bitvec -package bap-knowledge -package bap-core-theory -package bap -modules lib/arm/arm_target.mli > lib/arm/arm_target.mli.depends
  61. # /home/Jon/.opam/4.09.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package regular -package ppx_jane -package ogre -package core_kernel -package bitvec-order -package bitvec -package bap-knowledge -package bap-core-theory -package bap -I lib/arm -o lib/arm/arm_target.cmi lib/arm/arm_target.mli
  62. # + /home/Jon/.opam/4.09.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package regular -package ppx_jane -package ogre -package core_kernel -package bitvec-order -package bitvec -package bap-knowledge -package bap-core-theory -package bap -I lib/arm -o lib/arm/arm_target.cmi lib/arm/arm_target.mli
  63. # File "lib/arm/arm_target.mli", line 14, characters 13-28:
  64. # 14 | val parent : Theory.Target.t
  65. # ^^^^^^^^^^^^^^^
  66. # Error: Unbound module Theory.Target
  67. # Command exited with code 2.
  68. # Makefile:8: recipe for target 'build' failed
  69. # make: *** [build] Error 1
  70.  
  71.  
  72.  
  73. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  74. ┌─ The following actions failed
  75. │ λ build bap-arm master
  76. │ λ build bap-x86 master
  77. └─
  78. ┌─ The following changes have been performed (the rest was aborted)
  79. │ ∗ install bap-llvm master
  80. └─
  81.  
  82. The former state can be restored with:
  83. opam switch import "/home/Jon/.opam/4.09.0/.opam-switch/backup/state-20201109143806.export"
  84. Or you can retry to install your package selection with:
  85. opam install --restore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement