Building on x86-bm-c10.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:730ba1f0177ca25fd2003dcf99bd6c4e2bc2f1957c5aebd8d47e1bd69cf161a0 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-11-10 00:28.30 ---> 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-10 00:28.30 ---> 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 eecf6d033c6c13a6bda9b445601ddcbaa09dd288")) 2024-11-10 00:28.30 ---> using "659878f189cdb906ec3e452fdc4f26cfb0c3654f53f43b380cf690e70b2f5ac6" 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-10 00:28.30 ---> using "b22293df705e6cba3afecfd99e3970445bf105f18df9a7b31bf5584e65710795" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.1' '5.1.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.1.0"} | "ocaml-system" {= "5.1.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.1.0 (cached) -> installed ocaml-base-compiler.5.1.0 -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.1) 2024-11-10 00:28.30 ---> using "1fca67b33a3cc76003abcdde85a676d4eef3e94f66005c92f89b5bf9b01277bb" 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-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Fetched 542 kB in 3s (164 kB/s) - Reading package lists... - 2024-11-10 00:28.30 ---> using "b58996a10af4f7bbcfdf93a21f86e9b313b0babf6fd22ada407b43314a4028bc" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"lo.0.2.0\"\ \nopam install -vy \"lo.0.2.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"lo.0.2.0\" | 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] lo.0.2.0 is not installed. Nothing to do. The following actions will be performed: === install 5 packages - install conf-liblo 1 [required by lo] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.16.1 [required by lo] - install dune-configurator 3.16.1 [required by lo] - install lo 0.2.0 The following system packages will first need to be installed: liblo-dev <><> 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" "liblo-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package liblo7: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 ... 19599 files and directories currently installed.) - Preparing to unpack .../liblo7_0.32-1+b1_amd64.deb ... - Unpacking liblo7:amd64 (0.32-1+b1) ... - Selecting previously unselected package liblo-dev. - Preparing to unpack .../liblo-dev_0.32-1+b1_amd64.deb ... - Unpacking liblo-dev (0.32-1+b1) ... - Setting up liblo7:amd64 (0.32-1+b1) ... - Setting up liblo-dev (0.32-1+b1) ... - Processing triggers for libc-bin (2.40-3) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/14: [csexp.1.5.2: extract] Processing 3/14: [csexp.1.5.2: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 4/14: [csexp.1.5.2: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [lo.0.2.0: extract] Processing 5/14: [csexp.1.5.2: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [lo.0.2.0: extract] -> installed conf-liblo.1 Processing 6/14: [csexp.1.5.2: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [lo.0.2.0: extract] -> retrieved csexp.1.5.2 (cached) Processing 6/14: [dune.3.16.1, dune-configurator.3.16.1: extract] [lo.0.2.0: extract] -> retrieved lo.0.2.0 (cached) Processing 6/14: [dune.3.16.1, dune-configurator.3.16.1: extract] -> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached) Processing 7/14: [dune: ocaml 39] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/5.1/.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 - Processing 7/14: [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.1/.opam-switch/build/dune.3.16.1) -> compiled dune.3.16.1 -> installed dune.3.16.1 Processing 9/14: [csexp: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 -> installed csexp.1.5.2 Processing 11/14: [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.16.1) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.16.1) Processing 11/14: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.16.1) -> compiled dune-configurator.3.16.1 -> installed dune-configurator.3.16.1 Processing 13/14: [lo: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lo" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/lo.0.2.0) - File "src/dune", line 9, characters 9-17: - 9 | (names lo_stubs) - ^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -o lo_stubs.o -c lo_stubs.c) - lo_stubs.c: In function 'caml_lo_message_new': - lo_stubs.c:70:20: error: assignment to 'lo_address' {aka 'struct lo_address_ *'} from incompatible pointer type 'lo_message' {aka 'struct lo_message_ *'} [-Wincompatible-pointer-types] - 70 | Address_val(ans) = m; - | ^ [ERROR] The compilation of lo.0.2.0 failed at "dune build -p lo -j 39 @install". #=== ERROR while compiling lo.0.2.0 ===========================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.1.0 | file:///home/opam/opam-repository # path ~/.opam/5.1/.opam-switch/build/lo.0.2.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p lo -j 39 @install # exit-code 1 # env-file ~/.opam/log/lo-8-b6ee8a.env # output-file ~/.opam/log/lo-8-b6ee8a.out ### output ### # File "src/dune", line 9, characters 9-17: # 9 | (names lo_stubs) # ^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -o lo_stubs.o -c lo_stubs.c) # lo_stubs.c: In function 'caml_lo_message_new': # lo_stubs.c:70:20: error: assignment to 'lo_address' {aka 'struct lo_address_ *'} from incompatible pointer type 'lo_message' {aka 'struct lo_message_ *'} [-Wincompatible-pointer-types] # 70 | Address_val(ans) = m; # | ^ <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build lo 0.2.0 +- +- The following changes have been performed | - install conf-liblo 1 | - install csexp 1.5.2 | - install dune 3.16.1 | - install dune-configurator 3.16.1 +- # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20241110002833.export" 'opam install -vy lo.0.2.0' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "lo.0.2.0" opam install -vy "lo.0.2.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "lo.0.2.0" | grep -q '"debian-unstable"'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res " failed with exit status 31 Failed: Build failed