Building on x86-bm-c8.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 830d517e9694: Pulling fs layer 830d517e9694: Download complete 830d517e9694: Pull complete Digest: sha256:cec2f0e8c7952d08707bb137ad70496f36042347d86e7816156bf70445a74f7f Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-04-21 13:31.08 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-04-21 13:31.08 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" 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 999bff3ed88d26f76ff7eaddbfa7af49ed4737dc")) 2025-04-21 13:31.08 ---> using "826c465c9ef28e6e0f0e6975e12eb0e91d1a070a9820c6e966bf86cdd08156ec" 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. 2025-04-21 13:31.08 ---> using "1540013f15d4984bcd7cc6765515a9d8102147bba12b5acc1ee668d894197f46" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam switch create --repositories=default '5.3-opam' '5.3.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-compiler.5.3.0 (cached) -> installed ocaml-compiler.5.3.0 -> installed ocaml-base-compiler.5.3.0 -> installed ocaml-config.3 -> installed ocaml.5.3.0 -> installed base-domains.base -> installed base-effects.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.3-opam) 2025-04-21 13:31.08 ---> using "4b7ebd6fc6e027276a8fd8ed82dcfe64a2b16cde6b383aaa055cfbd219af0b8f" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 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-2025-04-21-0804.17-F-2025-04-13-0805.00.pdiff [520 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-04-21-0804.17-F-2025-04-13-0805.00.pdiff [520 kB] - Fetched 788 kB in 2s (351 kB/s) - Reading package lists... 2025-04-21 13:31.08 ---> using "fd7da0145060fb8248c502d7ff82eb257b63940163519960cbcb6fa092a89dc1" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam pin add -k version dune $(opam show -f version dune)")) dune is now pinned to version 3.18.1 The following actions will be performed: === install 1 package - install dune 3.18.1 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.18.1 (cached) -> installed dune.3.18.1 Done. # To update the current shell environment, run: eval $(opam env) 2025-04-21 13:31.08 ---> using "ae66d3f1c9b89d46f904980ee2c923d9326a9bf30223b37a1b81732d47784d8c" from cache /: (env DUNE_CACHE enabled) /: (env DUNE_CACHE_TRANSPORT direct) /: (env DUNE_CACHE_DUPLICATION copy) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam remove -y radare2.0.0.7\ \nopam install -vy radare2.0.0.7\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: radare2.0.0.7 | 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")) Nothing to do. [NOTE] radare2.0.0.7 is not installed. The following actions will be performed: === install 5 packages - install conf-radare2 0.1 [required by radare2] - install conf-which 1 [required by conf-radare2] - install radare2 0.0.7 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.2.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. Continue anyway, and, upon success, 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" - Selecting previously unselected package libcapstone5: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 ... 19596 files and directories currently installed.) - Preparing to unpack .../00-libcapstone5_5.0.6-1_amd64.deb ... - Unpacking libcapstone5:amd64 (5.0.6-1) ... - Selecting previously unselected package libcapstone-dev:amd64. - Preparing to unpack .../01-libcapstone-dev_5.0.6-1_amd64.deb ... - Unpacking libcapstone-dev:amd64 (5.0.6-1) ... - Selecting previously unselected package libxxhash-dev:amd64. - Preparing to unpack .../02-libxxhash-dev_0.8.3-2_amd64.deb ... - Unpacking libxxhash-dev:amd64 (0.8.3-2) ... - Selecting previously unselected package liblz4-dev:amd64. - Preparing to unpack .../03-liblz4-dev_1.10.0-4_amd64.deb ... - Unpacking liblz4-dev:amd64 (1.10.0-4) ... - Selecting previously unselected package libmagic-mgc. - Preparing to unpack .../04-libmagic-mgc_1%3a5.46-5_amd64.deb ... - Unpacking libmagic-mgc (1:5.46-5) ... - Selecting previously unselected package libmagic1t64:amd64. - Preparing to unpack .../05-libmagic1t64_1%3a5.46-5_amd64.deb ... - Unpacking libmagic1t64:amd64 (1:5.46-5) ... - Selecting previously unselected package libmagic-dev:amd64. - Preparing to unpack .../06-libmagic-dev_1%3a5.46-5_amd64.deb ... - Unpacking libmagic-dev:amd64 (1:5.46-5) ... - Selecting previously unselected package libzip5:amd64. - Preparing to unpack .../07-libzip5_1.11.3-2_amd64.deb ... - Unpacking libzip5:amd64 (1.11.3-2) ... - Selecting previously unselected package libradare2-common. - Preparing to unpack .../08-libradare2-common_5.9.8+dfsg-2_all.deb ... - Unpacking libradare2-common (5.9.8+dfsg-2) ... - Selecting previously unselected package libradare2-5.0.0t64:amd64. - Preparing to unpack .../09-libradare2-5.0.0t64_5.9.8+dfsg-2_amd64.deb ... - Unpacking libradare2-5.0.0t64:amd64 (5.9.8+dfsg-2) ... - Selecting previously unselected package libuv1t64:amd64. - Preparing to unpack .../10-libuv1t64_1.50.0-2_amd64.deb ... - Unpacking libuv1t64:amd64 (1.50.0-2) ... - Selecting previously unselected package libuv1-dev:amd64. - Preparing to unpack .../11-libuv1-dev_1.50.0-2_amd64.deb ... - Unpacking libuv1-dev:amd64 (1.50.0-2) ... - Selecting previously unselected package zipcmp. - Preparing to unpack .../12-zipcmp_1.11.3-2_amd64.deb ... - Unpacking zipcmp (1.11.3-2) ... - Selecting previously unselected package zipmerge. - Preparing to unpack .../13-zipmerge_1.11.3-2_amd64.deb ... - Unpacking zipmerge (1.11.3-2) ... - Selecting previously unselected package ziptool. - Preparing to unpack .../14-ziptool_1.11.3-2_amd64.deb ... - Unpacking ziptool (1.11.3-2) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../15-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ... - Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ... - Selecting previously unselected package libzip-dev:amd64. - Preparing to unpack .../16-libzip-dev_1.11.3-2_amd64.deb ... - Unpacking libzip-dev:amd64 (1.11.3-2) ... - Selecting previously unselected package libradare2-dev. - Preparing to unpack .../17-libradare2-dev_5.9.8+dfsg-2_amd64.deb ... - Unpacking libradare2-dev (5.9.8+dfsg-2) ... - Selecting previously unselected package radare2. - Preparing to unpack .../18-radare2_5.9.8+dfsg-2_amd64.deb ... - Unpacking radare2 (5.9.8+dfsg-2) ... - Setting up libzip5:amd64 (1.11.3-2) ... - Setting up libmagic-mgc (1:5.46-5) ... - Setting up libradare2-common (5.9.8+dfsg-2) ... - Setting up libuv1t64:amd64 (1.50.0-2) ... - Setting up libmagic1t64:amd64 (1:5.46-5) ... - Setting up libmagic-dev:amd64 (1:5.46-5) ... - Setting up zipmerge (1.11.3-2) ... - Setting up libcapstone5:amd64 (5.0.6-1) ... - Setting up libxxhash-dev:amd64 (0.8.3-2) ... - Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ... - Setting up zipcmp (1.11.3-2) ... - Setting up ziptool (1.11.3-2) ... - Setting up libcapstone-dev:amd64 (5.0.6-1) ... - Setting up libuv1-dev:amd64 (1.50.0-2) ... - Setting up libzip-dev:amd64 (1.11.3-2) ... - Setting up libradare2-5.0.0t64:amd64 (5.9.8+dfsg-2) ... - Setting up liblz4-dev:amd64 (1.10.0-4) ... - Setting up radare2 (5.9.8+dfsg-2) ... - Setting up libradare2-dev (5.9.8+dfsg-2) ... - Processing triggers for libc-bin (2.41-6) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-radare2.0.1 (cached) Processing 3/15: [radare2.0.0.7: http] -> retrieved seq.base (cached) Processing 4/15: [radare2.0.0.7: http] Processing 5/15: [radare2.0.0.7: http] [yojson.2.2.2: extract] Processing 6/15: [radare2.0.0.7: http] [yojson.2.2.2: extract] [conf-which: which which] Processing 7/15: [radare2.0.0.7: http] [yojson.2.2.2: extract] [conf-which: which which] -> installed seq.base Processing 8/15: [radare2.0.0.7: http] [yojson.2.2.2: extract] [conf-which: which which] -> retrieved yojson.2.2.2 (cached) Processing 8/15: [radare2.0.0.7: http] [conf-which: which which] Processing 9/15: [radare2.0.0.7: http] [conf-which: which which] [yojson: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "which" "which" (CWD=/home/opam/.opam/5.3-opam/.opam-switch/build/conf-which.1) - /usr/bin/which -> compiled conf-which.1 Processing 9/15: [radare2.0.0.7: http] [yojson: dune build] -> installed conf-which.1 Processing 10/15: [radare2.0.0.7: http] [yojson: dune build] [conf-radare2: subst] expanding opam variables in find-radare2.ml.in, generating find-radare2.ml Processing 11/15: [radare2.0.0.7: http] [conf-radare2: ocaml unix.cma] [yojson: dune build] Processing 11/15: [radare2.0.0.7: extract] [conf-radare2: ocaml unix.cma] [yojson: dune build] -> retrieved radare2.0.0.7 (https://github.com/fxfactorial/ocaml-radare2/archive/v0.0.7.tar.gz) Processing 11/15: [conf-radare2: ocaml unix.cma] [yojson: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "unix.cma" "find-radare2.ml" (CWD=/home/opam/.opam/5.3-opam/.opam-switch/build/conf-radare2.0.1) - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The unix subdirectory has been - automatically added to the search path, but you should add -I +unix to the - command-line to silence this alert (e.g. by adding unix to the list of - libraries in your dune file, or adding use_unix to your _tags file for - ocamlbuild, or using -package unix for ocamlfind). - - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The unix subdirectory has been - automatically added to the search path, but you should add -I +unix to the - command-line to silence this alert (e.g. by adding unix to the list of - libraries in your dune file, or adding use_unix to your _tags file for - ocamlbuild, or using -package unix for ocamlfind). -> compiled conf-radare2.0.1 Processing 11/15: [yojson: dune build] -> installed conf-radare2.0.1 Processing 12/15: [yojson: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yojson" "-j" "31" "@install" (CWD=/home/opam/.opam/5.3-opam/.opam-switch/build/yojson.2.2.2) -> compiled yojson.2.2.2 -> installed yojson.2.2.2 Processing 14/15: [radare2: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "radare2" "-j" "31" (CWD=/home/opam/.opam/5.3-opam/.opam-switch/build/radare2.0.0.7) -> compiled radare2.0.0.7 -> installed radare2.0.0.7 Done. <><> radare2.0.0.7 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")]] # To update the current shell environment, run: eval $(opam env) 2025-04-21 13:31.24 ---> saved as "d750bcdfa93448075ad1645f51bb978db7dcbec91b14baf4534c994cde221c77" Job succeeded