Building on x86-bm-c4.sw.ocaml.org
(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
01379300e6b8: Pulling fs layer
01379300e6b8: Verifying Checksum
01379300e6b8: Download complete
01379300e6b8: Pull complete
Digest: sha256:8cca19fb521e38a08027d9c8e25ef6f8b4f6b5e01fde5e034feb1359f70a2de5
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-07-15 10:36.21 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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"))
2024-07-15 10:36.21 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 80f59f9d12c0e9dda29eb80811ac7689a7ec392b"))
2024-07-15 10:36.21 ---> using "261727b5bbfeb9b6232c3be6e0deca60a5eaa5ba0fd41e545fc12d14c3e15563" 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-07-15 10:36.21 ---> using "307dc4eff9c022eb8b0a710a88f6f3ff6fe7de0e42f718d3f3c47b9778b9dbf2" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '4.12' '4.12.1'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.12.1"} | "ocaml-system" {= "4.12.1"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2 (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.12.1 (cached)
-> installed ocaml-base-compiler.4.12.1
-> installed ocaml-config.2
-> installed ocaml.4.12.1
Done.
# Run eval $(opam env --switch=4.12) to update the current shell environment
2024-07-15 10:36.21 ---> using "d793b68344ad8f974e127b0b55b161d826e92e56094b372664335451b77b6d88" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 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-07-15-0204.32-F-2024-07-11-0222.50.pdiff [466 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-07-15-0204.32-F-2024-07-11-0222.50.pdiff [466 kB]
- Fetched 728 kB in 3s (231 kB/s)
- Reading package lists...
-
2024-07-15 10:36.21 ---> using "3f8df786ece285904767c414d6b27f7d0fbe5018be27eaed4dccd1afac76c9b3" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"bap-emacs-goodies.0.1\"\
\nopam install -vy \"bap-emacs-goodies.0.1\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"bap-emacs-goodies.0.1\" | 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"))
Nothing to do.
[NOTE] bap-emacs-goodies.0.1 is not installed.
The following actions will be performed:
=== install 3 packages
- install bap-emacs-dot 0.1 [required by bap-emacs-goodies]
- install bap-emacs-goodies 0.1
- install bap-emacs-mode 0.1 [required by bap-emacs-goodies]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/9: [bap-emacs-dot.0.1: http]
Processing 2/9: [bap-emacs-dot.0.1: http]
Processing 3/9: [bap-emacs-dot.0.1: http] [bap-emacs-mode.0.1: http]
Processing 3/9: [bap-emacs-dot.0.1: http] [bap-emacs-mode.0.1: extract]
-> retrieved bap-emacs-mode.0.1 (https://github.com/ivg/bap-mode/archive/refs/tags/v0.1.0.tar.gz)
Processing 3/9: [bap-emacs-dot.0.1: http]
Processing 4/9: [bap-emacs-dot.0.1: http]
Processing 5/9: [bap-emacs-dot.0.1: http] [bap-emacs-mode: mkdir]
Processing 5/9: [bap-emacs-dot.0.1: extract] [bap-emacs-mode: mkdir]
-> retrieved bap-emacs-dot.0.1 (https://github.com/ivg/emacs-dot/archive/refs/tags/v0.1.0.tar.gz)
Processing 5/9: [bap-emacs-mode: mkdir]
Processing 6/9: [bap-emacs-mode: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.12/share/emacs/site-lisp" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bap-emacs-mode.0.1)
Processing 6/9: [bap-emacs-mode: cp bap-mode.el]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "cp" "bap-mode.el" "/home/opam/.opam/4.12/share/emacs/site-lisp" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bap-emacs-mode.0.1)
-> installed bap-emacs-mode.0.1
Processing 7/9: [bap-emacs-dot: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.12/share/emacs/site-lisp" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bap-emacs-dot.0.1)
Processing 7/9: [bap-emacs-dot: cp dot.el]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "cp" "dot.el" "/home/opam/.opam/4.12/share/emacs/site-lisp" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bap-emacs-dot.0.1)
-> installed bap-emacs-dot.0.1
-> installed bap-emacs-goodies.0.1
Done.
<><> bap-emacs-goodies.0.1 installed successfully <><><><><><><><><><><><><><><>
=> Apppend this to your .emacs:
;; Add opam emacs directory to you load paths:
(defun opam-path (path)
(let ((opam-share-dir (ignore-errors (car (process-lines "opam" "config" "var" "share")))))
(concat opam-share-dir "/" path)))
(add-to-list 'load-path (opam-path "emacs/site-lisp"))
;; load bap-emacs-goodies
(require 'bap-mode)
(require 'dot)
# Run eval $(opam env) to update the current shell environment
2024-07-15 10:36.38 ---> saved as "0f37d11fc7cae0823dc4792646f98c8cef13030e1fbc28956f132e414e4063df"
Job succeeded