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


Building on doris.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:730ba1f0177ca25fd2003dcf99bd6c4e2bc2f1957c5aebd8d47e1bd69cf161a0
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-11-09 19:36.41 ---> 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-09 19:36.41 ---> 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-09 19:36.41 ---> 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-09 19:36.41 ---> using "b22293df705e6cba3afecfd99e3970445bf105f18df9a7b31bf5584e65710795" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '5.0' '5.0.0'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.0.0"} | "ocaml-system" {= "5.0.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.0.0  (https://github.com/ocaml/ocaml/archive/5.0.0.tar.gz)
-> installed ocaml-base-compiler.5.0.0
-> installed ocaml-config.3
-> installed ocaml.5.0.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.0)
2024-11-09 19:36.41 ---> using "73ac4b869e255e373b71015a8dd8d645e12c6db21bd41119340684e3afeb1d44" 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 1s (378 kB/s)
- Reading package lists...
- 
2024-11-09 19:36.41 ---> using "2c483f5bfa51c86d0145c905868ef60ff1da3c1fa8fccbc67390293f2e44b3ec" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"ezdl.2.71.10\"\
               \nopam install -vy \"ezdl.2.71.10\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"ezdl.2.71.10\" | 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] ezdl.2.71.10 is not installed.

Nothing to do.
The following actions will be performed:
=== install 3 packages
  - install camlidl 1.12    [required by ezdl]
  - install dune    3.16.1  [required by ezdl]
  - install ezdl    2.71.10

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/9: [camlidl.1.12: extract]
Processing  2/9: [camlidl.1.12: extract] [dune.3.16.1: extract]
Processing  3/9: [camlidl.1.12: extract] [dune.3.16.1: extract] [ezdl.2.71.10: extract]
-> retrieved camlidl.1.12  (cached)
Processing  3/9: [dune.3.16.1: extract] [ezdl.2.71.10: extract]
Processing  4/9: [dune.3.16.1: extract] [ezdl.2.71.10: extract] [camlidl: mv]
-> retrieved ezdl.2.71.10  (cached)
Processing  4/9: [dune.3.16.1: extract] [camlidl: mv]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "config/Makefile.unix" "config/Makefile" (CWD=/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12)
Processing  4/9: [dune.3.16.1: extract] [camlidl: make all]
-> retrieved dune.3.16.1  (cached)
Processing  4/9: [camlidl: make all]
Processing  5/9: [camlidl: make all] [dune: ocaml 255]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12)
- cd compiler; make all
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/compiler'
- rm -f config.ml
- sed -e 's|%%CPP%%|cpp|' \
-           config.mlp > config.ml
- chmod -w config.ml
- ocamlc -g -c config.mli
- ocamlc -g -c config.ml
- ocamlc -g -c utils.mli
- ocamlc -g -c utils.ml
- ocamlc -g -c clflags.ml
- ocamlc -g -c idltypes.mli
- ocamlc -g -c prefix.mli
- ocamlc -g -c prefix.ml
- ocamlc -g -c lexpr.mli
- ocamlc -g -c lexpr.ml
- ocamlc -g -c cvttyp.mli
- ocamlc -g -c cvttyp.ml
- ocamlc -g -c variables.mli
- ocamlc -g -c variables.ml
- ocamlc -g -c idlarray.mli
- ocamlc -g -c idlarray.ml
- ocamlc -g -c struct.mli
- ocamlc -g -c struct.ml
- ocamlc -g -c enum.mli
- ocamlc -g -c enum.ml
- ocamlc -g -c union.mli
- ocamlc -g -c union.ml
- ocamlc -g -c cvtval.mli
- ocamlc -g -c cvtval.ml
- ocamlc -g -c structdecl.mli
- ocamlc -g -c structdecl.ml
- ocamlc -g -c enumdecl.mli
- ocamlc -g -c enumdecl.ml
- ocamlc -g -c uniondecl.mli
- ocamlc -g -c uniondecl.ml
- ocamlc -g -c typedef.mli
- ocamlc -g -c typedef.ml
- ocamlc -g -c funct.mli
- ocamlc -g -c funct.ml
- ocamlc -g -c constdecl.mli
- ocamlc -g -c constdecl.ml
- ocamlc -g -c intf.mli
- ocamlc -g -c intf.ml
- ocamlc -g -c file.mli
- ocamlc -g -c file.ml
- ocamlc -g -c predef.mli
- ocamlc -g -c predef.ml
- ocamllex linenum.mll
- 16 states, 331 transitions, table size 1420 bytes
- ocamlc -g -c linenum.mli
- ocamlc -g -c linenum.ml
- ocamlc -g -c parse_aux.mli
- ocamlc -g -c parse_aux.ml
- ocamlyacc -v parser_midl.mly
- 12 shift/reduce conflicts, 4 reduce/reduce conflicts.
- ocamlc -g -c parser_midl.mli
- ocamlc -g -c parser_midl.ml
- ocamllex lexer_midl.mll
- 129 states, 1747 transitions, table size 7762 bytes
- ocamlc -g -c lexer_midl.mli
- ocamlc -g -c lexer_midl.ml
- ocamlc -g -c parse.mli
- ocamlc -g -c parse.ml
- ocamlc -g -c fixlabels.mli
- ocamlc -g -c fixlabels.ml
- ocamlc -g -c normalize.mli
- ocamlc -g -c normalize.ml
- ocamlc -g -c main.ml
- ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo idlarray.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/compiler'
- cd runtime; make all
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/runtime'
- ocamlc -g -ccopt "-Wall -g" idlalloc.c
- ocamlc -g -ccopt "-Wall -g" comintf.c
- ocamlc -g -ccopt "-Wall -g" comerror.c
- rm -f dllcamlidl.so
- ocamlmklib -o camlidl  idlalloc.o comintf.o comerror.o 
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/runtime'
- cd lib; make all
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/lib'
- ocamlc -g -c com.mli
- ocamlc -g -c com.ml
- ocamlc -g -a -o com.cma -dllib -lcamlidl -cclib -lcamlidl com.cmo
- ocamlopt -c com.ml
- ocamlopt -a -o com.cmxa -cclib -lcamlidl com.cmx
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/lib'
- cd tools; make all
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/tools'
- make[1]: Nothing to be done for 'all'.
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.12/tools'
-> compiled  camlidl.1.12
Processing  5/9: [dune: ocaml 255]
-> installed camlidl.1.12
Processing  6/9: [dune: ocaml 255]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/5.0/.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 255
- 

Processing  6/9: [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" "255" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.16.1)
-> compiled  dune.3.16.1
-> installed dune.3.16.1
Processing  8/9: [ezdl: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ezdl" "-j" "255" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ezdl.2.71.10)
- File "lib/ezdl/dune", line 7, characters 37-43:
- 7 |   (foreign_stubs (language c) (names Ezdl_c Inspect_c) (flags -fPIC))
-                                          ^^^^^^
- (cd _build/default/lib/ezdl && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fPIC -g -I /home/opam/.opam/5.0/lib/ocaml -I /home/opam/.opam/5.0/lib/camlidl -o Ezdl_c.o -c Ezdl_c.c)
- Ezdl_c.c: In function 'c_dlopen':
- Ezdl_c.c:45:17: error: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]
-    45 |                 failwith(&EZDL_ERROR[0]);
-       |                 ^~~~~~~~
-       |                 caml_failwith
- Ezdl_c.c: In function 'c_f2f':
- Ezdl_c.c:81:14: error: implicit declaration of function 'copy_double'; did you mean 'caml_copy_double'? [-Wimplicit-function-declaration]
-    81 |    cml_res = copy_double(res);
-       |              ^~~~~~~~~~~
-       |              caml_copy_double
- Ezdl_c.c: In function 'make_list':
- Ezdl_c.c:163:10: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
-   163 |    res = alloc(2,0);
-       |          ^~~~~
-       |          valloc
- In file included from Ezdl_c.c:7:
- Ezdl_c.c: In function 'c_cargs2s':
- Ezdl_c.c:338:20: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
-   338 |         CAMLreturn(copy_string((char*)res));
-       |                    ^~~~~~~~~~~
- /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT'
-   423 |   type caml__temp_result = (result); \
-       |                             ^~~~~~
- Ezdl_c.c:338:9: note: in expansion of macro 'CAMLreturn'
-   338 |         CAMLreturn(copy_string((char*)res));
-       |         ^~~~~~~~~~
[ERROR] The compilation of ezdl.2.71.10 failed at "dune build -p ezdl -j 255".

#=== ERROR while compiling ezdl.2.71.10 =======================================#
# context              2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/ezdl.2.71.10
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ezdl -j 255
# exit-code            1
# env-file             ~/.opam/log/ezdl-8-db3634.env
# output-file          ~/.opam/log/ezdl-8-db3634.out
### output ###
# File "lib/ezdl/dune", line 7, characters 37-43:
# 7 |   (foreign_stubs (language c) (names Ezdl_c Inspect_c) (flags -fPIC))
#                                          ^^^^^^
# (cd _build/default/lib/ezdl && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fPIC -g -I /home/opam/.opam/5.0/lib/ocaml -I /home/opam/.opam/5.0/lib/camlidl -o Ezdl_c.o -c Ezdl_c.c)
# Ezdl_c.c: In function 'c_dlopen':
# Ezdl_c.c:45:17: error: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]
#    45 |                 failwith(&EZDL_ERROR[0]);
#       |                 ^~~~~~~~
#       |                 caml_failwith
# Ezdl_c.c: In function 'c_f2f':
# Ezdl_c.c:81:14: error: implicit declaration of function 'copy_double'; did you mean 'caml_copy_double'? [-Wimplicit-function-declaration]
#    81 |    cml_res = copy_double(res);
#       |              ^~~~~~~~~~~
#       |              caml_copy_double
# Ezdl_c.c: In function 'make_list':
# Ezdl_c.c:163:10: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
#   163 |    res = alloc(2,0);
#       |          ^~~~~
#       |          valloc
# In file included from Ezdl_c.c:7:
# Ezdl_c.c: In function 'c_cargs2s':
# Ezdl_c.c:338:20: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
#   338 |         CAMLreturn(copy_string((char*)res));
#       |                    ^~~~~~~~~~~
# /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT'
#   423 |   type caml__temp_result = (result); \
#       |                             ^~~~~~
# Ezdl_c.c:338:9: note: in expansion of macro 'CAMLreturn'
#   338 |         CAMLreturn(copy_string((char*)res));
#       |         ^~~~~~~~~~



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ezdl 2.71.10
+- 
+- The following changes have been performed
| - install camlidl 1.12
| - install dune    3.16.1
+- 

<><> ezdl.2.71.10 troubleshooting <><><><><><><><><><><><><><><><><><><><><><><>
=> The last version can be obtained via (opam repo add) http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository/
# 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.0/.opam-switch/backup/state-20241109193643.export"
'opam install -vy ezdl.2.71.10' failed.
"/usr/bin/env" "bash" "-c" "
opam remove -y "ezdl.2.71.10"
opam install -vy "ezdl.2.71.10"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "ezdl.2.71.10" | 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