Building on x86-bm-13.ocamllabs.io (from ocaml/opam:debian-unstable) WARNING: Error loading config file: .dockercfg: $HOME is not defined Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:a32e554d37007cabaf12da2261dad1c6890fb793357d4499f39865f3c85d81ab Status: Downloaded newer image for ocaml/opam:debian-unstable 2021-09-03 15:02.04 ---> 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-2.1 /usr/bin/opam")) 2021-09-03 15:02.04 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 8fc7af65ccb8f3b3709bf02b749ac492e6700b59")) 2021-09-03 15:02.04 ---> using "eb095db6df41eeadc708604343f7b0ce0892db9136dac67a38046f57271c5802" 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. 2021-09-03 15:02.04 ---> using "d245c9af6f86b2b97434d338a3fbb8270425ab7dc6ad1b5451665adc9698eabf" from cache /: (run (network host) (shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89")) 2021-09-03 15:02.04 ---> using "20d9850dcecd0523d6eddecad814e9bbd93882334348605bfa6e15ffd8f5ced5" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-09-03 15:02.04 ---> using "6f8879c5099d2146b69bdcec3874fd111cad6c5c42ac63d5f9aa72a228fd8ee8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.07.1")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.07.1"} | "ocaml-system" {= "4.07.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.07.1 (cached) -> installed ocaml-base-compiler.4.07.1 -> installed ocaml-config.1 -> installed ocaml.4.07.1 Done. # Run eval $(opam env --switch=4.07.1) to update the current shell environment 2021-09-03 15:02.04 ---> using "c08fd146700d4a0b86b9dc4799860cc08f9f6020d616319d20d0f71cbfce98f6" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8766 kB] - Fetched 8994 kB in 2s (4055 kB/s) - Reading package lists... - 2021-09-03 15:02.04 ---> using "bb4745bf13b3d434cd87c235ce077f435fdc1dcab1f4b615962e65358a4d1495" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install -y ocaml-secondary-compiler")) The following actions will be performed: - install ocaml-secondary-compiler 4.08.1-1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-secondary-compiler.4.08.1-1 (cached) -> installed ocaml-secondary-compiler.4.08.1-1 Done. # Run eval $(opam env) to update the current shell environment 2021-09-03 15:02.04 ---> using "50506da02385860be74dfe1ece94e7f0e85a4414fca482b15df4ee5173ad148c" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"conf-dbm.1.0.0\"\ \nopam install -vy \"conf-dbm.1.0.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"conf-dbm.1.0.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] conf-dbm.1.0.0 is not installed. Nothing to do. The following actions will be performed: - remove ocaml-secondary-compiler 4.08.1-1 - install conf-dbm 1.0.0 ===== 1 to install | 1 to remove ===== The following system packages will first need to be installed: libgdbm-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? (answer 'n' for other options) [Y/n] y + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgdbm-dev" - debconf: delaying package configuration, since apt-utils is not installed - (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 ... 18048 files and directories currently installed.) - Preparing to unpack .../libgdbm6_1.20-1_amd64.deb ... - Unpacking libgdbm6:amd64 (1.20-1) over (1.19-2) ... - Selecting previously unselected package libgdbm-dev:amd64. - Preparing to unpack .../libgdbm-dev_1.20-1_amd64.deb ... - Unpacking libgdbm-dev:amd64 (1.20-1) ... - Setting up libgdbm6:amd64 (1.20-1) ... - Setting up libgdbm-dev:amd64 (1.20-1) ... - Processing triggers for libc-bin (2.31-13) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> removed ocaml-secondary-compiler.4.08.1-1 Processing 3/4: [conf-dbm: sh] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -lndbm || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -ldb1 || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -lgdbm || cc test_gdbm.c -I/usr/include -I/usr/local/include -I/usr/include/db1 -I/usr/include/gdbm -lgdbm_compat -lgdbm || cc test_ndbm.c -v -I/usr/include -I/usr/local/include || cc test_ndbm.c -v -I/usr/include -I/usr/local/include -ldb || cc test_ndbm.c -v -I/usr/include -I/usr/local/include -lndbm" (CWD=/home/opam/.opam/4.07.1/.opam-switch/build/conf-dbm.1.0.0) - /usr/bin/ld: /opam-tmp/cc64J6qE.o: in function `main': - test_gdbm.c:(.text+0x25): undefined reference to `gdbm_open' - /usr/bin/ld: test_gdbm.c:(.text+0x35): undefined reference to `gdbm_close' - collect2: error: ld returned 1 exit status - /usr/bin/ld: cannot find -lndbm - collect2: error: ld returned 1 exit status - /usr/bin/ld: cannot find -ldb1 - collect2: error: ld returned 1 exit status -> compiled conf-dbm.1.0.0 -> installed conf-dbm.1.0.0 Done. # Run eval $(opam env) to update the current shell environment 2021-09-03 15:02.27 ---> saved as "e4b3c43975e82463cd2a703b7bd8c8ec98b3b49a809b8e21ad9980646dcd77c3" Job succeeded