OCamllabs icon Home|Differences with the last checks|Previous runs


Building on clete.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1)
Unable to find image 'ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1' locally
docker.io/ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1: Pulling from ocaml/opam
88273bdcc4bc: Pulling fs layer
88273bdcc4bc: Download complete
88273bdcc4bc: Pull complete
Digest: sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
Status: Downloaded newer image for ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
2022-10-13 01:58.28 ---> using "72789ea385c156750aa7dd96aa50ee44bc632bea844e975f245441d9aee8bfd2" from cache

/: (user (uid 1000) (gid 1000))

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-10-13 01:58.28 ---> using "00a95b0dc29356854a2323387bb3765564e1fe55593574ff6be6315935e9f655" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q b1c9c96444d9fdc81f076b2f18ffaccd2f7c8f2f"))
2022-10-13 01:58.28 ---> using "78ae84c730ce1e5c34c37c027b1e573b31333de9c356d764a1de3654115799af" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2022-10-13 01:58.28 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.14' '4.14.0'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.14.0"} | "ocaml-system" {= "4.14.0"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.14.0  (cached)
-> installed ocaml-base-compiler.4.14.0
-> installed ocaml-config.2
-> installed ocaml.4.14.0
Done.
# Run eval $(opam env --switch=4.14) to update the current shell environment
2022-10-13 01:58.28 ---> using "fb1eb500f11be569274ad29ee0db9fcc0909ae204e539c4aea07285e5410519c" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [161 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-1403.13-F-2022-10-10-1406.43.pdiff [82.3 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-1403.13-F-2022-10-10-1406.43.pdiff [82.3 kB]
- Fetched 307 kB in 3s (113 kB/s)
- Reading package lists...
- 
2022-10-13 01:58.28 ---> using "bb3fedd8441a3a40aad051f4d87b043f4b5b40252dccad127b059938a578d2b7" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"radare2.0.0.6\"\
               \nopam install -vy \"radare2.0.0.6\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"radare2.0.0.6\" | grep -q '\"debian-unstable\"'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi\
               \n\
               \n\
               \nexit $res\
               \n"))
[NOTE] radare2.0.0.6 is not installed.

Nothing to do.
The following actions will be performed:
=== install 5 packages
  - install cppo    1.6.9 [required by yojson]
  - install dune    3.4.1 [required by radare2]
  - install radare2 0.0.6                       You need to have r2 (radare2) >= 2.3.0 installed and in your path
                                                Use `opam depext radare2` to get it installed with your system package manager
  - install seq     base  [required by yojson]
  - install yojson  2.0.2 [required by radare2]

The following system packages will first need to be installed:
    radare2

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Attempt installation anyway, and permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "radare2"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcapstone4:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19690 files and directories currently installed.)
- Preparing to unpack .../00-libcapstone4_4.0.2-5_amd64.deb ...
- Unpacking libcapstone4:amd64 (4.0.2-5) ...
- Selecting previously unselected package libcapstone-dev:amd64.
- Preparing to unpack .../01-libcapstone-dev_4.0.2-5_amd64.deb ...
- Unpacking libcapstone-dev:amd64 (4.0.2-5) ...
- Selecting previously unselected package liblz4-dev:amd64.
- Preparing to unpack .../02-liblz4-dev_1.9.4-1_amd64.deb ...
- Unpacking liblz4-dev:amd64 (1.9.4-1) ...
- Selecting previously unselected package libmagic-mgc.
- Preparing to unpack .../03-libmagic-mgc_1%3a5.41-4_amd64.deb ...
- Unpacking libmagic-mgc (1:5.41-4) ...
- Selecting previously unselected package libmagic1:amd64.
- Preparing to unpack .../04-libmagic1_1%3a5.41-4_amd64.deb ...
- Unpacking libmagic1:amd64 (1:5.41-4) ...
- Selecting previously unselected package libmagic-dev:amd64.
- Preparing to unpack .../05-libmagic-dev_1%3a5.41-4_amd64.deb ...
- Unpacking libmagic-dev:amd64 (1:5.41-4) ...
- Selecting previously unselected package libuv1:amd64.
- Preparing to unpack .../06-libuv1_1.44.2-1_amd64.deb ...
- Unpacking libuv1:amd64 (1.44.2-1) ...
- Selecting previously unselected package libzip4:amd64.
- Preparing to unpack .../07-libzip4_1.7.3-1+b1_amd64.deb ...
- Unpacking libzip4:amd64 (1.7.3-1+b1) ...
- Selecting previously unselected package libradare2-common.
- Preparing to unpack .../08-libradare2-common_5.5.0+dfsg-1_all.deb ...
- Unpacking libradare2-common (5.5.0+dfsg-1) ...
- Selecting previously unselected package libradare2-5.0.0:amd64.
- Preparing to unpack .../09-libradare2-5.0.0_5.5.0+dfsg-1+b1_amd64.deb ...
- Unpacking libradare2-5.0.0:amd64 (5.5.0+dfsg-1+b1) ...
- Selecting previously unselected package libuv1-dev:amd64.
- Preparing to unpack .../10-libuv1-dev_1.44.2-1_amd64.deb ...
- Unpacking libuv1-dev:amd64 (1.44.2-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../11-zlib1g-dev_1%3a1.2.11.dfsg-4.1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-4.1) ...
- Selecting previously unselected package libzip-dev:amd64.
- Preparing to unpack .../12-libzip-dev_1.7.3-1+b1_amd64.deb ...
- Unpacking libzip-dev:amd64 (1.7.3-1+b1) ...
- Selecting previously unselected package libradare2-dev.
- Preparing to unpack .../13-libradare2-dev_5.5.0+dfsg-1+b1_amd64.deb ...
- Unpacking libradare2-dev (5.5.0+dfsg-1+b1) ...
- Selecting previously unselected package radare2.
- Preparing to unpack .../14-radare2_5.5.0+dfsg-1+b1_amd64.deb ...
- Unpacking radare2 (5.5.0+dfsg-1+b1) ...
- Setting up libmagic-mgc (1:5.41-4) ...
- Setting up libradare2-common (5.5.0+dfsg-1) ...
- Setting up libzip4:amd64 (1.7.3-1+b1) ...
- Setting up libmagic1:amd64 (1:5.41-4) ...
- Setting up libmagic-dev:amd64 (1:5.41-4) ...
- Setting up libuv1:amd64 (1.44.2-1) ...
- Setting up liblz4-dev:amd64 (1.9.4-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-4.1) ...
- Setting up libcapstone4:amd64 (4.0.2-5) ...
- Setting up libcapstone-dev:amd64 (4.0.2-5) ...
- Setting up libuv1-dev:amd64 (1.44.2-1) ...
- Setting up libzip-dev:amd64 (1.7.3-1+b1) ...
- Setting up libradare2-5.0.0:amd64 (5.5.0+dfsg-1+b1) ...
- Setting up radare2 (5.5.0+dfsg-1+b1) ...
- Setting up libradare2-dev (5.5.0+dfsg-1+b1) ...
- Processing triggers for libc-bin (2.35-3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/15:
Processing  2/15:
Processing  3/15:
-> retrieved cppo.1.6.9  (cached)
Processing  4/15:
Processing  5/15:
Processing  6/15:
-> installed seq.base
Processing  7/15:
-> retrieved radare2.0.0.6  (cached)
-> retrieved yojson.2.0.2  (cached)
-> retrieved dune.3.4.1  (cached)
Processing  8/15: [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.4.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 71
- 

Processing  8/15: [dune: ./dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.4.1)
-> compiled  dune.3.4.1
-> installed dune.3.4.1
Processing 10/15: [cppo: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cppo.1.6.9)
-> compiled  cppo.1.6.9
-> installed cppo.1.6.9
Processing 12/15: [yojson: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yojson" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/yojson.2.0.2)
-> compiled  yojson.2.0.2
-> installed yojson.2.0.2
Processing 14/15: [radare2: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "radare2" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/radare2.0.0.6)
-> compiled  radare2.0.0.6
-> installed radare2.0.0.6
Done.

<><> radare2.0.0.6 installed successfully <><><><><><><><><><><><><><><><><><><>
=> Play with radare2 interactively from within an OCaml repl like utop
=> Example in utop:
=> 
=> #require "radare2";;
=> let result = R2.with_command_j ~cmd:"/j COLUMNS" "/bin/ls";;
   val result : Yojson.t =
   `List
     [`Assoc
        [("offset", `Int 109075); ("type", `String "string");
         ("data", `String "eQUOTING_STYLECOLUMNSTABSIZEinvalid")];
      `Assoc
        [("offset", `Int 118247); ("type", `String "string");
         ("data", `String "onment variable COLUMNS: %signori")]]
# Run eval $(opam env) to update the current shell environment
2022-10-13 01:59.03 ---> saved as "05145fda3566225691922e7ce2ad8aa4119ab28c3c57c8c97b752ded0f95d1d6"
Job succeeded