Advertisement
programjm

BAP build error

Jul 15th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. Jon@aria:~/bt/out-of-bounds$ opam install bap
  2. [WARNING] File /usr/local/bin/llvm-config, which package conf-bap-llvm.master
  3. depends upon, was changed on your system. conf-bap-llvm has been
  4. marked as removed, and will be reinstalled if necessary.
  5. The following actions will be performed:
  6. ∗ install conf-bap-llvm master [required by bap-llvm]
  7. ∗ install bap-llvm master [required by bap]
  8. ∗ install bap-x86 master [required by bap]
  9. ∗ install bap-arm master [required by bap]
  10. ∗ install bap-primus-x86 master [required by bap]
  11. ∗ install bap master
  12. ===== ∗ 6 =====
  13. Do you want to continue? [Y/n] y
  14. y
  15.  
  16. <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  17. [bap-llvm.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  18. [bap.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  19. [bap-arm.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  20. [bap-primus-x86.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  21. [bap-x86.master] synchronised from git+https://github.com/BinaryAnalysisPlatform/bap#master
  22.  
  23. <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  24. ∗ installed conf-bap-llvm.master
  25. [ERROR] The compilation of bap-llvm failed at
  26. "/home/Jon/.opam/opam-init/hooks/sandbox.sh build make".
  27.  
  28. #=== ERROR while compiling bap-llvm.master ====================================#
  29. # context 2.0.4 | linux/x86_64 | ocaml-base-compiler.4.07.1 | git+https://github.com/BinaryAnalysisPlatform/opam-repository#testing
  30. # path ~/.opam/4.07.1/.opam-switch/build/bap-llvm.master
  31. # command ~/.opam/opam-init/hooks/sandbox.sh build make
  32. # exit-code 2
  33. # env-file ~/.opam/log/bap-llvm-357522-60c5c2.env
  34. # output-file ~/.opam/log/bap-llvm-357522-60c5c2.out
  35. ### output ###
  36. # [...]
  37. # /home/Jon/.opam/4.07.1/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package monads -package mmap -package core_kernel -package bap -I lib/bap_llvm -o lib/bap_llvm/bap_llvm.cmo lib/bap_llvm/bap_llvm.ml
  38. # /home/Jon/.opam/4.07.1/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package monads -package mmap -package core_kernel -package bap -I lib/bap_llvm -o lib/bap_llvm/bap_llvm_loader.cmo lib/bap_llvm/bap_llvm_loader.ml
  39. # /home/Jon/.opam/4.07.1/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package monads -package mmap -package core_kernel -package bap -I lib/bap_llvm -o lib/bap_llvm/bap_llvm_disasm.cmo lib/bap_llvm/bap_llvm_disasm.ml
  40. # /home/Jon/.opam/4.07.1/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package monads -package mmap -package core_kernel -package bap -I lib/bap_llvm -o lib/bap_llvm/bap_llvm_ogre_coff.cmo lib/bap_llvm/bap_llvm_ogre_coff.ml
  41. # /home/Jon/.opam/4.07.1/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package monads -package mmap -package core_kernel -package bap -I lib/bap_llvm -o lib/bap_llvm/bap_llvm_ogre_elf.cmo lib/bap_llvm/bap_llvm_ogre_elf.ml
  42. # /home/Jon/.opam/4.07.1/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package monads -package mmap -package core_kernel -package bap -I lib/bap_llvm -o lib/bap_llvm/bap_llvm_ogre_loader.cmo lib/bap_llvm/bap_llvm_ogre_loader.ml
  43. # + /home/Jon/.opam/4.07.1/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -w +a-4-6-7-9-27-29-32..42-44-45-48-50-60 -package ppx_jane -package ogre -package monads -package mmap -package core_kernel -package bap -I lib/bap_llvm -o lib/bap_llvm/bap_llvm_ogre_loader.cmo lib/bap_llvm/bap_llvm_ogre_loader.ml
  44. # File "lib/bap_llvm/bap_llvm_ogre_loader.ml", line 68, characters 19-23:
  45. # Error: Unbound value bias
  46. # Command exited with code 2.
  47. # Makefile:8: recipe for target 'build' failed
  48. # make: *** [build] Error 1
  49.  
  50.  
  51.  
  52. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  53. ┌─ The following actions failed
  54. │ λ build bap-llvm master
  55. └─
  56. ┌─ The following changes have been performed (the rest was aborted)
  57. │ ∗ install conf-bap-llvm master
  58. └─
  59.  
  60. The packages you requested declare the following system dependencies. Please
  61. make sure they are installed before retrying:
  62. clang libncurses5-dev
  63.  
  64.  
  65. The former state can be restored with:
  66. opam switch import
  67. "/home/Jon/.opam/4.07.1/.opam-switch/backup/state-20200715211523.export"
  68. Or you can retry to install your package selection with:
  69. opam install --restore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement