Building on x86-bm-c12.sw.ocaml.org (from ocaml/opam:debian-unstable) 2024-11-23 17:33.47 ---> 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")) 2024-11-23 17:33.47 ---> 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 232a37e8b008dc04381f5e98c16badfc02ea6962")) 2024-11-23 17:33.47 ---> using "3627aca0cf09d425091b1834dc367b2d674ea958c1073cfd571626e801400fa8" 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. 2024-11-23 17:33.47 ---> using "12ca91eed672409146ffeb97abf8b2057aa9490eea5153239f28fb1d87ff4305" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.2' '5.2.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.2.0 (cached) -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.2) 2024-11-23 17:33.47 ---> using "cd3328fabe39f4268a276aa8f976207ee1405b66a9ac28f5bb81f3c7f0fa1414" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [202 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-2024-11-23-0804.51-F-2024-11-19-1405.22.pdiff [199 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-23-0804.51-F-2024-11-19-1405.22.pdiff [199 kB] - Fetched 465 kB in 3s (161 kB/s) - Reading package lists... - 2024-11-23 17:33.47 ---> using "ae1e84bad806423adefae1a465b521ab9b62d62a7644de4941e4276f23ebf55e" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"radare2.0.0.5\"\ \nopam install -vy \"radare2.0.0.5\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"radare2.0.0.5\" | 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.5 is not installed. Nothing to do. The following actions will be performed: === install 4 packages - install dune 3.16.1 [required by radare2] - install radare2 0.0.5 You need to have r2 (radare2) 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" - 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 ... 19808 files and directories currently installed.) - Preparing to unpack .../00-libcapstone4_4.0.2-5.1+b1_amd64.deb ... - Unpacking libcapstone4:amd64 (4.0.2-5.1+b1) ... - Selecting previously unselected package libcapstone-dev:amd64. - Preparing to unpack .../01-libcapstone-dev_4.0.2-5.1+b1_amd64.deb ... - Unpacking libcapstone-dev:amd64 (4.0.2-5.1+b1) ... - Selecting previously unselected package liblz4-dev:amd64. - Preparing to unpack .../02-liblz4-dev_1.9.4-3+b1_amd64.deb ... - Unpacking liblz4-dev:amd64 (1.9.4-3+b1) ... - Selecting previously unselected package libmagic-mgc. - Preparing to unpack .../03-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... - Unpacking libmagic-mgc (1:5.45-3+b1) ... - Selecting previously unselected package libmagic1t64:amd64. - Preparing to unpack .../04-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... - Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... - Selecting previously unselected package libmagic-dev:amd64. - Preparing to unpack .../05-libmagic-dev_1%3a5.45-3+b1_amd64.deb ... - Unpacking libmagic-dev:amd64 (1:5.45-3+b1) ... - Selecting previously unselected package libzip5:amd64. - Preparing to unpack .../06-libzip5_1.11.2-1_amd64.deb ... - Unpacking libzip5:amd64 (1.11.2-1) ... - Selecting previously unselected package libradare2-common. - Preparing to unpack .../07-libradare2-common_5.9.4+dfsg-1_all.deb ... - Unpacking libradare2-common (5.9.4+dfsg-1) ... - Selecting previously unselected package libradare2-5.0.0t64:amd64. - Preparing to unpack .../08-libradare2-5.0.0t64_5.9.4+dfsg-1+b1_amd64.deb ... - Unpacking libradare2-5.0.0t64:amd64 (5.9.4+dfsg-1+b1) ... - Selecting previously unselected package libuv1t64:amd64. - Preparing to unpack .../09-libuv1t64_1.48.0-7_amd64.deb ... - Unpacking libuv1t64:amd64 (1.48.0-7) ... - Selecting previously unselected package libuv1-dev:amd64. - Preparing to unpack .../10-libuv1-dev_1.48.0-7_amd64.deb ... - Unpacking libuv1-dev:amd64 (1.48.0-7) ... - Selecting previously unselected package zipcmp. - Preparing to unpack .../11-zipcmp_1.11.2-1_amd64.deb ... - Unpacking zipcmp (1.11.2-1) ... - Selecting previously unselected package zlib1g-dev:amd64. - Preparing to unpack .../12-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 .../13-libzip-dev_1.11.2-1_amd64.deb ... - Unpacking libzip-dev:amd64 (1.11.2-1) ... - Selecting previously unselected package libradare2-dev. - Preparing to unpack .../14-libradare2-dev_5.9.4+dfsg-1+b1_amd64.deb ... - Unpacking libradare2-dev (5.9.4+dfsg-1+b1) ... - Selecting previously unselected package radare2. - Preparing to unpack .../15-radare2_5.9.4+dfsg-1+b1_amd64.deb ... - Unpacking radare2 (5.9.4+dfsg-1+b1) ... - Setting up libzip5:amd64 (1.11.2-1) ... - Setting up libmagic-mgc (1:5.45-3+b1) ... - Setting up libradare2-common (5.9.4+dfsg-1) ... - Setting up libuv1t64:amd64 (1.48.0-7) ... - Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... - Setting up libmagic-dev:amd64 (1:5.45-3+b1) ... - Setting up liblz4-dev:amd64 (1.9.4-3+b1) ... - Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ... - Setting up libcapstone4:amd64 (4.0.2-5.1+b1) ... - Setting up zipcmp (1.11.2-1) ... - Setting up libcapstone-dev:amd64 (4.0.2-5.1+b1) ... - Setting up libuv1-dev:amd64 (1.48.0-7) ... - Setting up libzip-dev:amd64 (1.11.2-1) ... - Setting up libradare2-5.0.0t64:amd64 (5.9.4+dfsg-1+b1) ... - Setting up radare2 (5.9.4+dfsg-1+b1) ... - Setting up libradare2-dev (5.9.4+dfsg-1+b1) ... - Processing triggers for libc-bin (2.40-3) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/12: [dune.3.16.1: extract] Processing 2/12: [dune.3.16.1: extract] [radare2.0.0.5: http] -> retrieved seq.base (cached) Processing 3/12: [dune.3.16.1: extract] [radare2.0.0.5: http] Processing 4/12: [dune.3.16.1: extract] [radare2.0.0.5: http] [yojson.2.2.2: extract] Processing 5/12: [dune.3.16.1: extract] [radare2.0.0.5: http] [yojson.2.2.2: extract] -> installed seq.base Processing 6/12: [dune.3.16.1: extract] [radare2.0.0.5: http] [yojson.2.2.2: extract] -> retrieved yojson.2.2.2 (cached) Processing 6/12: [dune.3.16.1: extract] [radare2.0.0.5: http] Processing 6/12: [dune.3.16.1: extract] [radare2.0.0.5: extract] -> retrieved radare2.0.0.5 (https://github.com/fxfactorial/ocaml-radare2/archive/v0.0.5.tar.gz) Processing 6/12: [dune.3.16.1: extract] -> retrieved dune.3.16.1 (cached) Processing 7/12: [dune: ocaml 39] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 39 - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads stdune.ml - File "otherlibs/stdune/src/stdune.ml", line 1, characters 4-9: - Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context - Processing 7/12: [dune: ./_boot/dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.1) -> compiled dune.3.16.1 -> installed dune.3.16.1 Processing 9/12: [yojson: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yojson" "-j" "39" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/yojson.2.2.2) -> compiled yojson.2.2.2 -> installed yojson.2.2.2 Processing 11/12: [radare2: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "radare2" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/radare2.0.0.5) -> compiled radare2.0.0.5 -> installed radare2.0.0.5 Done. <><> radare2.0.0.5 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) 2024-11-23 17:34.43 ---> saved as "e2d31ccf4c90bb876f288aad0fd09cabbafc75bf9fe4a372eed91d0583c23b03" Job succeeded