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


Building on x86-bm-c1.sw.ocaml.org

(from ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6)
2023-06-17 07:41.12 ---> using "7d60bd9cf13de83a2fc915bd8660b84a000026ca2eadd109efbf3b57cd5af04f" 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"))
2023-06-17 07:41.12 ---> using "62379d35ed668426d9d8110913c125fa3183b296a68efdc9da0c91b6897e4bf2" 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 6ed4e23f2cefb96b2e2fce1c99e5cd85d7c4ee04"))
2023-06-17 07:41.12 ---> using "d67783525c2f7c1fb3010c0e770129217b499fe94429b3e3f0772c072398792a" 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.

2023-06-17 07:41.12 ---> using "394a25570d264bb6df13e493742820ac5dab3969c617aac9165a8108bc036a57" 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+trunk'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.1.0+trunk"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-variants.5.1.0+trunk  (https://github.com/ocaml/ocaml/archive/5.1.tar.gz)
-> installed ocaml-variants.5.1.0+trunk
-> 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
2023-06-17 07:41.12 ---> using "b49f927472fad51b348c3e17c573d5cdd40d4c6cd16cc17508ab6a17111d9c65" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [199 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-2023-06-16-2007.30-F-2023-06-15-1407.28.pdiff [119 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-06-16-2007.30-F-2023-06-15-1407.28.pdiff [119 kB]
- Fetched 382 kB in 6s (60.2 kB/s)
- Reading package lists...
- 
2023-06-17 07:41.12 ---> using "6ce2251c75bfff0d407ea6759fbe2a1637e17267056e58d1f4e3734fd5fce4fb" from cache

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

Nothing to do.
The following actions will be performed:
=== install 1 package
  - install opam-depext 1.2.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved opam-depext.1.2.0  (cached)
Processing  2/3: [opam-depext: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0)
- ocaml shell/build.ml byte > shell/build.sh
- chmod a+x shell/build.sh
- cd src_ext && make
- make[1]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- [ -e  cmdliner-0.9.8.tbz ] || \
- curl -OL http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.8.tbz && ocaml ../shell/md5check.ml cmdliner-0.9.8.tbz fc67c937447cc223722f1419fa2189da || \
- { curl -OL https://opam.ocaml.org/2.0~dev/cache/md5/fc/fc67c937447cc223722f1419fa2189da && mv fc67c937447cc223722f1419fa2189da cmdliner-0.9.8.tbz && ocaml ../shell/md5check.ml cmdliner-0.9.8.tbz fc67c937447cc223722f1419fa2189da; }
- cmdliner-0.9.8.tbz has the expected MD5.
- mkdir -p tmp
- cd tmp && bunzip2 -c ../cmdliner-0.9.8.tbz | tar xf -
- rm -rf cmdliner
- [ ocamlc = no ] || make -f ../OCamlMakefile subprojs SUBTARGET=bcl
- make[2]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- make[3]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- make[4]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- ocamldep -I cmdliner/src/ cmdliner/src/cmdliner.mli > ._bcdi/cmdliner/src/cmdliner.di
- ocamldep -I cmdliner/src/ cmdliner/src/cmdliner.ml > ._d/cmdliner/src/cmdliner.d
- ocamlc -c -I cmdliner/src/ cmdliner/src/cmdliner.mli
- ocamlc -c -I cmdliner/src/ cmdliner/src/cmdliner.ml
- File "cmdliner/src/cmdliner.ml", line 427, characters 15-32:
- 427 |     let prog = String.capitalize (fst ei.main).name in
-                      ^^^^^^^^^^^^^^^^^
- Error: Unbound value String.capitalize
- make[4]: *** [../OCamlMakefile:1076: cmdliner/src/cmdliner.cmo] Error 2
- make[4]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- make[3]: *** [../OCamlMakefile:792: byte-code-library] Error 2
- make[3]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- make[2]: *** [../OCamlMakefile:1227: subproj_cmdliner] Error 2
- make[2]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- make[1]: *** [Makefile:21: build] Error 2
- make[1]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
- make: *** [Makefile:2: all] Error 2
[ERROR] The compilation of opam-depext.1.2.0 failed at "make".

#=== ERROR while compiling opam-depext.1.2.0 ==================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.1.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.opam-switch/build/opam-depext.1.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code            2
# env-file             ~/.opam/log/opam-depext-8-950281.env
# output-file          ~/.opam/log/opam-depext-8-950281.out
### output ###
# ocaml shell/build.ml byte > shell/build.sh
# chmod a+x shell/build.sh
# cd src_ext && make
# make[1]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# [ -e  cmdliner-0.9.8.tbz ] || \
# curl -OL http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.8.tbz && ocaml ../shell/md5check.ml cmdliner-0.9.8.tbz fc67c937447cc223722f1419fa2189da || \
# { curl -OL https://opam.ocaml.org/2.0~dev/cache/md5/fc/fc67c937447cc223722f1419fa2189da && mv fc67c937447cc223722f1419fa2189da cmdliner-0.9.8.tbz && ocaml ../shell/md5check.ml cmdliner-0.9.8.tbz fc67c937447cc223722f1419fa2189da; }
# cmdliner-0.9.8.tbz has the expected MD5.
# mkdir -p tmp
# cd tmp && bunzip2 -c ../cmdliner-0.9.8.tbz | tar xf -
# rm -rf cmdliner
# [ ocamlc = no ] || make -f ../OCamlMakefile subprojs SUBTARGET=bcl
# make[2]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# make[3]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# make[4]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# ocamldep -I cmdliner/src/ cmdliner/src/cmdliner.mli > ._bcdi/cmdliner/src/cmdliner.di
# ocamldep -I cmdliner/src/ cmdliner/src/cmdliner.ml > ._d/cmdliner/src/cmdliner.d
# ocamlc -c -I cmdliner/src/ cmdliner/src/cmdliner.mli
# ocamlc -c -I cmdliner/src/ cmdliner/src/cmdliner.ml
# File "cmdliner/src/cmdliner.ml", line 427, characters 15-32:
# 427 |     let prog = String.capitalize (fst ei.main).name in
#                      ^^^^^^^^^^^^^^^^^
# Error: Unbound value String.capitalize
# make[4]: *** [../OCamlMakefile:1076: cmdliner/src/cmdliner.cmo] Error 2
# make[4]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# make[3]: *** [../OCamlMakefile:792: byte-code-library] Error 2
# make[3]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# make[2]: *** [../OCamlMakefile:1227: subproj_cmdliner] Error 2
# make[2]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# make[1]: *** [Makefile:21: build] Error 2
# make[1]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/opam-depext.1.2.0/src_ext'
# make: *** [Makefile:2: all] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build opam-depext 1.2.0
+- 
- No changes have been performed

<><> opam-depext.1.2.0 troubleshooting ><><><><><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
'opam install -vy opam-depext.1.2.0' failed.
"/bin/bash" "-c" "
opam remove -y "opam-depext.1.2.0"
opam install -vy "opam-depext.1.2.0"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "opam-depext.1.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