Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.83 KB | None | 0 0
  1. $ opam install srt
  2. The following actions will be performed:
  3.   ∗ install integers   0.3.0  [required by ctypes]
  4.   ∗ install ctypes     0.17.1 [required by srt]
  5.   ∗ install sys-socket 1.0.0  [required by srt]
  6.   ∗ install srt        0.1.0
  7. ===== ∗ 4 =====
  8. Do you want to continue? [Y/n] y
  9. <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  10. [integers.0.3.0] downloaded from cache at https://opam.ocaml.org/cache
  11. [srt.0.1.0] downloaded from cache at https://opam.ocaml.org/cache
  12. [sys-socket.1.0.0] downloaded from cache at https://opam.ocaml.org/cache
  13. [ctypes.0.17.1] downloaded from cache at https://opam.ocaml.org/cache
  14. <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  15. ∗ installed integers.0.3.0
  16. ∗ installed ctypes.0.17.1
  17. ∗ installed sys-socket.1.0.0
  18. [ERROR] The compilation of srt failed at
  19.         "/home/tristan/.opam/opam-init/hooks/sandbox.sh build dune build -p srt
  20.        -j 1".
  21. #=== ERROR while compiling srt.0.1.0 ==========================================#
  22. # context     2.0.6 | linux/x86_64 | ocaml-base-compiler.4.08.0 | https://opam.ocaml.org#d67e70b4
  23. # path        ~/.opam/4.08.0/.opam-switch/build/srt.0.1.0
  24. # command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p srt -j 1
  25. # exit-code   1
  26. # env-file    ~/.opam/log/srt-14638-b1238c.env
  27. # output-file ~/.opam/log/srt-14638-b1238c.out
  28. ### output ###
  29. # srt_generated_stubs.c:29:36: warning: implicit declaration of function 'pthread_getspecific' [-Wimplicit-function-declaration]
  30. # [...]
  31. # srt_generated_stubs.c:30:5: warning: implicit declaration of function 'pthread_setspecific' [-Wimplicit-function-declaration]
  32. #    30 |     pthread_setspecific(ocaml_c_thread_key,(void*)&initialized);
  33. #       |     ^~~~~~~~~~~~~~~~~~~
  34. # srt_generated_stubs.c: In function 'ocaml_srt_7_srt_socket':
  35. # srt_generated_stubs.c:147:4: warning: 'srt_socket' is deprecated [-Wdeprecated-declarations]
  36. #   147 |    int x44 = srt_socket(x35, x38, x41);
  37. #       |    ^~~
  38. # In file included from srt_generated_stubs.c:2:
  39. # /usr/local/include/srt/srt.h:725:41: note: declared here
  40. #   725 | SRT_ATR_DEPRECATED_PX SRT_API SRTSOCKET srt_socket(int, int, int) SRT_ATR_DEPRECATED;
  41. #       |                                         ^~~~~~~~~~
  42. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
  43. ┌─ The following actions failed
  44. │ λ build srt 0.1.0
  45. └─
  46. ┌─ The following changes have been performed
  47. │ ∗ install ctypes     0.17.1
  48. │ ∗ install integers   0.3.0
  49. │ ∗ install sys-socket 1.0.0
  50. └─
  51. The packages you requested declare the following system dependencies. Please
  52. make sure they are installed before retrying:
  53.     libsrt-dev
  54. The former state can be restored with:
  55.     opam switch import
  56. "/home/tristan/.opam/4.08.0/.opam-switch/backup/state-20200406092429.export"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement