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


Building on laodoke.caelum.ci.dev

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
Digest: sha256:f4524a9ad6e8f9deb04c38872c1c68d892f8f847304a90f71b39c260fd7c37ab
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-01-15 13:38.31 ---> 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-01-15 13:38.31 ---> 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 451b1e526ccb27dc66364a851b27fbf7ccfbc2f2"))
2025-01-15 13:38.31 ---> using "52625e8a37d6974e498c46c5b73987a5de23eb753980981e64630dc695fbe3b3" 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-01-15 13:38.31 ---> using "bf0993b7e440c7679323e43a556b3a337fb81df454233420043ea0f043d5139e" 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  (https://github.com/ocaml/ocaml/archive/5.1.0.tar.gz)
-> 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)
2025-01-15 13:38.31 ---> using "57da3f0b69e850a472f43036af1ba9d6c485174a0ff99f82b6070eaec4a6b835" 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-01-14-2009.05-F-2025-01-09-1409.48.pdiff [564 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-01-14-2009.05-F-2025-01-09-1409.48.pdiff [564 kB]
- Fetched 833 kB in 4s (202 kB/s)
- Reading package lists...
- 
2025-01-15 13:38.31 ---> using "85b87af1dcb47771a79111e66673142733868c4fe1587b87f373ff22bc805e9d" 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.17.1 [required by lo]
  - install dune-configurator 3.17.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"
- 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 ... 19812 files and directories currently installed.)
- Preparing to unpack .../liblo7_0.32-2_amd64.deb ...
- Unpacking liblo7:amd64 (0.32-2) ...
- Selecting previously unselected package liblo-dev.
- Preparing to unpack .../liblo-dev_0.32-2_amd64.deb ...
- Unpacking liblo-dev (0.32-2) ...
- Setting up liblo7:amd64 (0.32-2) ...
- Setting up liblo-dev (0.32-2) ...
- Processing triggers for libc-bin (2.40-5) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/14: [csexp.1.5.2: extract]
Processing  3/14: [csexp.1.5.2: extract] [dune.3.17.1, dune-configurator.3.17.1: extract]
Processing  4/14: [csexp.1.5.2: extract] [dune.3.17.1, dune-configurator.3.17.1: extract] [lo.0.2.0: http]
Processing  5/14: [csexp.1.5.2: extract] [dune.3.17.1, dune-configurator.3.17.1: extract] [lo.0.2.0: http]
-> installed conf-liblo.1
Processing  6/14: [csexp.1.5.2: extract] [dune.3.17.1, dune-configurator.3.17.1: extract] [lo.0.2.0: http]
-> retrieved csexp.1.5.2  (cached)
Processing  6/14: [dune.3.17.1, dune-configurator.3.17.1: extract] [lo.0.2.0: http]
-> retrieved dune.3.17.1, dune-configurator.3.17.1  (cached)
Processing  6/14: [lo.0.2.0: http]
Processing  7/14: [lo.0.2.0: http] [dune: ocaml 71]
Processing  7/14: [lo.0.2.0: extract] [dune: ocaml 71]
-> retrieved lo.0.2.0  (https://github.com/savonet/ocaml-lo/archive/v0.2.0.tar.gz)
Processing  7/14: [dune: ocaml 71]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.17.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 71
- 

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" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.17.1)
-> compiled  dune.3.17.1
-> installed dune.3.17.1
Processing  9/14: [csexp: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "71" "@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.17.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.17.1)
Processing 11/14: [dune-configurator: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "71" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.17.1)
-> compiled  dune-configurator.3.17.1
-> installed dune-configurator.3.17.1
Processing 13/14: [lo: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lo" "-j" "71" "@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 71 @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 71 @install
# exit-code            1
# env-file             ~/.opam/log/lo-8-de3b1c.env
# output-file          ~/.opam/log/lo-8-de3b1c.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.17.1
| - install dune-configurator 3.17.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-20250115133833.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