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:a708df2d96414c61dc47c9f06e6c2d22e9a6350ad772417bd0e7a3550e440e73
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-08-04 23:45.18 ---> 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-08-04 23:45.18 ---> 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 fe8dffac61bbab376897c0f4e7cc5b7b8c4eecc1"))
2024-08-04 23:45.18 ---> using "828e9194b01b44f44dbe3a17fa70d9df857e6edbfbc28830335e417ee457f303" 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-08-04 23:45.18 ---> using "e4c5e8d9ee051813ad71799bcfd0cce33f59a36ff0befb5e5fbb9434b383bc16" 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.
# Run eval $(opam env --switch=5.1) to update the current shell environment
2024-08-04 23:45.18 ---> using "b0e26e0e9402fa2704a8250ec1f6224c2acb067c4d729e44c0c9e07858a8da8a" 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-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB]
- Fetched 758 kB in 1s (521 kB/s)
- Reading package lists...
- 
2024-08-04 23:45.18 ---> using "dc19e2b1dca1e8c3ff11f7d440ca226c3a99db1a7029ee14112edade0dc96fc6" 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.0  [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.0: extract]
Processing  3/9: [camlidl.1.12: extract] [dune.3.16.0: extract] [ezdl.2.71.10: extract]
-> retrieved camlidl.1.12  (cached)
Processing  3/9: [dune.3.16.0: extract] [ezdl.2.71.10: extract]
Processing  4/9: [dune.3.16.0: extract] [ezdl.2.71.10: extract] [camlidl: mv]
-> retrieved ezdl.2.71.10  (cached)
Processing  4/9: [dune.3.16.0: extract] [camlidl: mv]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "config/Makefile.unix" "config/Makefile" (CWD=/home/opam/.opam/5.1/.opam-switch/build/camlidl.1.12)
Processing  4/9: [dune.3.16.0: extract] [camlidl: make all]
-> retrieved dune.3.16.0  (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.1/.opam-switch/build/camlidl.1.12)
- cd compiler; make all
- make[1]: Entering directory '/home/opam/.opam/5.1/.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.1/.opam-switch/build/camlidl.1.12/compiler'
- cd runtime; make all
- make[1]: Entering directory '/home/opam/.opam/5.1/.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.1/.opam-switch/build/camlidl.1.12/runtime'
- cd lib; make all
- make[1]: Entering directory '/home/opam/.opam/5.1/.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.1/.opam-switch/build/camlidl.1.12/lib'
- cd tools; make all
- make[1]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/camlidl.1.12/tools'
- make[1]: Nothing to be done for 'all'.
- make[1]: Leaving directory '/home/opam/.opam/5.1/.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.1/.opam-switch/build/dune.3.16.0)
- 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.1/.opam-switch/build/dune.3.16.0)
-> compiled  dune.3.16.0
-> installed dune.3.16.0
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.1/.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.1/lib/ocaml -I /home/opam/.opam/5.1/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.1/lib/ocaml/caml/memory.h:414:29: note: in definition of macro 'CAMLreturnT'
-   414 |   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.3.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.1.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.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-0b3895.env
# output-file          ~/.opam/log/ezdl-8-0b3895.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.1/lib/ocaml -I /home/opam/.opam/5.1/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.1/lib/ocaml/caml/memory.h:414:29: note: in definition of macro 'CAMLreturnT'
#   414 |   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.0
+- 

<><> 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/
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20240804234520.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