Building on asteria.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41) Unable to find image 'ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41' locally docker.io/ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41: Pulling from ocaml/opam 7c26de214b34: Pulling fs layer 791d3a768af6: Pulling fs layer e06237cac4e8: Pulling fs layer 7c26de214b34: Verifying Checksum 7c26de214b34: Download complete 7c26de214b34: Pull complete e06237cac4e8: Verifying Checksum e06237cac4e8: Download complete 791d3a768af6: Verifying Checksum 791d3a768af6: Download complete 791d3a768af6: Pull complete e06237cac4e8: Pull complete Digest: sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 Status: Downloaded newer image for ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 2022-05-01 14:13.28 ---> using "e16578957f674ca141475612bdd8fe456bdeb3cf55dca9de0669bf5f721951e7" 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")) 2022-05-01 14:13.28 ---> using "09ae07f34eca5d84e953ea4b87a3c466448be28706a95338ba19feb13b3b66fd" 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 4ce6f847a29936b1d875b70940837be093fec84e")) 2022-05-01 14:13.28 ---> using "8a62ed72fc23e1663b0f130dbecbe2a8d6a9d36667f58fd75e99df9fc9855900" 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. 2022-05-01 14:13.28 ---> using "1da6a21744e622352d23ddb067012a46b76c5e5a957ab9cd9733a836f9d86396" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.08' '4.08.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.08.1"} | "ocaml-system" {= "4.08.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.08.1 (cached) -> installed ocaml-base-compiler.4.08.1 -> installed ocaml-config.1 -> installed ocaml.4.08.1 Done. # Run eval $(opam env --switch=4.08) to update the current shell environment 2022-05-01 14:13.28 ---> using "61146396a749043730b51d93eac1c2edae64e676b7e91fc11788ed342d41d204" 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] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Fetched 430 kB in 1s (312 kB/s) - Reading package lists... 2022-05-01 14:13.28 ---> using "83465f82b6d74e3b403a3c27dab3e8817d3efc41756be60adc1ec50d0a5690f1" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"conf-gmp-powm-sec.1\"\ \nopam install -vy \"conf-gmp-powm-sec.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"conf-gmp-powm-sec.1\" | 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-gmp-powm-sec.1 is not installed. Nothing to do. The following actions will be performed: === install 2 packages - install conf-gmp 4 [required by conf-gmp-powm-sec] - install conf-gmp-powm-sec 1 The following system packages will first need to be installed: libgmp-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. Attempt installation anyway, and 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" "libgmp-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libgmpxx4ldbl: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 ... 18478 files and directories currently installed.) - Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg-3_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg-3_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-3) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-3) ... - Processing triggers for libc-bin (2.33-7) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/6: [conf-gmp: sh] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/4.08/.opam-switch/build/conf-gmp.4) - + cc -c -I/usr/local/include test.c -> compiled conf-gmp.4 -> installed conf-gmp.4 Processing 5/6: [conf-gmp-powm-sec: sh] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/4.08/.opam-switch/build/conf-gmp-powm-sec.1) - + cc -c -I/usr/local/include test.c - test.c: In function 'test': - test.c:10:9: warning: implicit declaration of function '__gmp_init'; did you mean '__gmpf_init'? [-Wimplicit-function-declaration] - 10 | __gmp_init(); - | ^~~~~~~~~~ - | __gmpf_init -> compiled conf-gmp-powm-sec.1 -> installed conf-gmp-powm-sec.1 Done. # Run eval $(opam env) to update the current shell environment 2022-05-01 14:13.36 ---> saved as "3d751058aa24839bc4b3a108f09b2930c31d33e771bfd2381dfad070e360f684" Job succeeded