Building on x86-bm-1.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:13.32 ---> 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:13.32 ---> 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:13.32 ---> 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:13.32 ---> 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:13.32 ---> using "20d9850dcecd0523d6eddecad814e9bbd93882334348605bfa6e15ffd8f5ced5" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-09-03 15:13.32 ---> using "6f8879c5099d2146b69bdcec3874fd111cad6c5c42ac63d5f9aa72a228fd8ee8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.04.2")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.04.2"} | "ocaml-system" {= "4.04.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.04.2 (cached) -> installed ocaml-base-compiler.4.04.2 -> installed ocaml-config.1 -> installed ocaml.4.04.2 Done. # Run eval $(opam env --switch=4.04.2) to update the current shell environment 2021-09-03 15:13.32 ---> using "4ed03e74a413bea590c1c94a6e5862a0bef703df6ebd372e74ddbe4f42dad118" 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 [8763 kB] - Fetched 8992 kB in 2s (4055 kB/s) - Reading package lists... - 2021-09-03 15:13.32 ---> using "c281d724d48cd7dc4089211c9dcd16ab2eff359af695cc6c21f97dafd74b1bb8" 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:13.32 ---> using "db6aaafc7008f278ff6d90e02026ade28ee4debad64ad1c38784face97c1c090" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"conf-lua.1\"\ \nopam install -vy \"conf-lua.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"conf-lua.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-lua.1 is not installed. Nothing to do. The following actions will be performed: - remove ocaml-secondary-compiler 4.08.1-1 - install conf-pkg-config 2 [required by conf-lua] - install conf-lua 1 ===== 2 to install | 1 to remove ===== The following system packages will first need to be installed: liblua5.2-dev pkg-config <><> 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" "liblua5.2-dev" "pkg-config" - 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 .../libncursesw6_6.2+20201114-4_amd64.deb ... - Unpacking libncursesw6:amd64 (6.2+20201114-4) over (6.2+20201114-2) ... - Preparing to unpack .../libtinfo6_6.2+20201114-4_amd64.deb ... - Unpacking libtinfo6:amd64 (6.2+20201114-4) over (6.2+20201114-2) ... - Setting up libtinfo6:amd64 (6.2+20201114-4) ... - Selecting previously unselected package libmagic-mgc. - (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 .../00-libmagic-mgc_1%3a5.39-3_amd64.deb ... - Unpacking libmagic-mgc (1:5.39-3) ... - Selecting previously unselected package libmagic1:amd64. - Preparing to unpack .../01-libmagic1_1%3a5.39-3_amd64.deb ... - Unpacking libmagic1:amd64 (1:5.39-3) ... - Selecting previously unselected package file. - Preparing to unpack .../02-file_1%3a5.39-3_amd64.deb ... - Unpacking file (1:5.39-3) ... - Selecting previously unselected package libsigsegv2:amd64. - Preparing to unpack .../03-libsigsegv2_2.13-1_amd64.deb ... - Unpacking libsigsegv2:amd64 (2.13-1) ... - Selecting previously unselected package m4. - Preparing to unpack .../04-m4_1.4.18-5_amd64.deb ... - Unpacking m4 (1.4.18-5) ... - Selecting previously unselected package autoconf. - Preparing to unpack .../05-autoconf_2.71-2_all.deb ... - Unpacking autoconf (2.71-2) ... - Selecting previously unselected package autotools-dev. - Preparing to unpack .../06-autotools-dev_20180224.1+nmu1_all.deb ... - Unpacking autotools-dev (20180224.1+nmu1) ... - Selecting previously unselected package automake. - Preparing to unpack .../07-automake_1%3a1.16.4-1_all.deb ... - Unpacking automake (1:1.16.4-1) ... - Selecting previously unselected package libglib2.0-0:amd64. - Preparing to unpack .../08-libglib2.0-0_2.68.4-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.68.4-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../09-libglib2.0-data_2.68.4-1_all.deb ... - Unpacking libglib2.0-data (2.68.4-1) ... - Selecting previously unselected package libicu67:amd64. - Preparing to unpack .../10-libicu67_67.1-7_amd64.deb ... - Unpacking libicu67:amd64 (67.1-7) ... - Selecting previously unselected package libltdl7:amd64. - Preparing to unpack .../11-libltdl7_2.4.6-15_amd64.deb ... - Unpacking libltdl7:amd64 (2.4.6-15) ... - Selecting previously unselected package libltdl-dev:amd64. - Preparing to unpack .../12-libltdl-dev_2.4.6-15_amd64.deb ... - Unpacking libltdl-dev:amd64 (2.4.6-15) ... - Selecting previously unselected package liblua5.2-0:amd64. - Preparing to unpack .../13-liblua5.2-0_5.2.4-1.1+b3_amd64.deb ... - Unpacking liblua5.2-0:amd64 (5.2.4-1.1+b3) ... - Selecting previously unselected package libncurses6:amd64. - Preparing to unpack .../14-libncurses6_6.2+20201114-4_amd64.deb ... - Unpacking libncurses6:amd64 (6.2+20201114-4) ... - Selecting previously unselected package libncurses-dev:amd64. - Preparing to unpack .../15-libncurses-dev_6.2+20201114-4_amd64.deb ... - Unpacking libncurses-dev:amd64 (6.2+20201114-4) ... - Selecting previously unselected package libreadline-dev:amd64. - Preparing to unpack .../16-libreadline-dev_8.1-2_amd64.deb ... - Unpacking libreadline-dev:amd64 (8.1-2) ... - Selecting previously unselected package liblua5.2-dev:amd64. - Preparing to unpack .../17-liblua5.2-dev_5.2.4-1.1+b3_amd64.deb ... - Unpacking liblua5.2-dev:amd64 (5.2.4-1.1+b3) ... - Selecting previously unselected package libtool. - Preparing to unpack .../18-libtool_2.4.6-15_all.deb ... - Unpacking libtool (2.4.6-15) ... - Selecting previously unselected package libtool-bin. - Preparing to unpack .../19-libtool-bin_2.4.6-15_amd64.deb ... - Unpacking libtool-bin (2.4.6-15) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../20-libxml2_2.9.12+dfsg-3_amd64.deb ... - Unpacking libxml2:amd64 (2.9.12+dfsg-3) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../21-pkg-config_0.29.2-1_amd64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../22-shared-mime-info_2.0-1_amd64.deb ... - Unpacking shared-mime-info (2.0-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../23-xdg-user-dirs_0.17-2_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2) ... - Setting up libicu67:amd64 (67.1-7) ... - Setting up xdg-user-dirs (0.17-2) ... - Setting up libmagic-mgc (1:5.39-3) ... - Setting up libglib2.0-0:amd64 (2.68.4-1) ... - No schema files found: doing nothing. - Setting up libmagic1:amd64 (1:5.39-3) ... - Setting up file (1:5.39-3) ... - Setting up autotools-dev (20180224.1+nmu1) ... - Setting up libglib2.0-data (2.68.4-1) ... - Setting up libncurses6:amd64 (6.2+20201114-4) ... - Setting up libsigsegv2:amd64 (2.13-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libncursesw6:amd64 (6.2+20201114-4) ... - Setting up libltdl7:amd64 (2.4.6-15) ... - Setting up liblua5.2-0:amd64 (5.2.4-1.1+b3) ... - Setting up libxml2:amd64 (2.9.12+dfsg-3) ... - Setting up libncurses-dev:amd64 (6.2+20201114-4) ... - Setting up libtool (2.4.6-15) ... - Setting up m4 (1.4.18-5) ... - Setting up libreadline-dev:amd64 (8.1-2) ... - Setting up liblua5.2-dev:amd64 (5.2.4-1.1+b3) ... - Setting up shared-mime-info (2.0-1) ... - Setting up autoconf (2.71-2) ... - Setting up automake (1:1.16.4-1) ... - update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode - Setting up libtool-bin (2.4.6-15) ... - Setting up libltdl-dev:amd64 (2.4.6-15) ... - Processing triggers for libc-bin (2.31-13) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> removed ocaml-secondary-compiler.4.08.1-1 Processing 4/7: [conf-pkg-config: pkg-config] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/conf-pkg-config.2) - Usage: - pkg-config [OPTION?] - - Help Options: - -h, --help Show help options - - Application Options: - --version output version of pkg-config - --modversion output version for package - --atleast-pkgconfig-version=VERSION require given version of pkg-config - --libs output all linker flags - --static output linker flags for static linking - --short-errors print short errors - --libs-only-l output -l flags - --libs-only-other output other libs (e.g. -pthread) - --libs-only-L output -L flags - --cflags output all pre-processor and compiler flags - --cflags-only-I output -I flags - --cflags-only-other output cflags not covered by the cflags-only-I option - --variable=NAME get the value of variable named NAME - --define-variable=NAME=VALUE set variable NAME to VALUE - --exists return 0 if the module(s) exist - --print-variables output list of variables defined by the module - --uninstalled return 0 if the uninstalled version of one or more module(s) or their dependencies will be used - --atleast-version=VERSION return 0 if the module is at least version VERSION - --exact-version=VERSION return 0 if the module is at exactly version VERSION - --max-version=VERSION return 0 if the module is at no newer than version VERSION - --list-all list all known packages - --debug show verbose debug information - --print-errors show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line) - --silence-errors be silent about errors (default when --exists or --atleast/exact/max-version given on the command line) - --errors-to-stdout print errors from --print-errors to stdout not stderr - --print-provides print which packages the package provides - --print-requires print which packages the package requires - --print-requires-private print which packages the package requires for static linking - --validate validate a package's .pc file - --define-prefix try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --dont-define-prefix don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --prefix-variable=PREFIX set the name of the variable that pkg-config automatically sets - -> compiled conf-pkg-config.2 Processing 5/7: [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.04.2/lib/pkgconfig" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 6/7: [conf-lua: pkg-config lua] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "lua" (CWD=/home/opam/.opam/4.04.2/.opam-switch/build/conf-lua.1) [ERROR] The compilation of conf-lua.1 failed at "pkg-config lua". #=== ERROR while compiling conf-lua.1 =========================================# # context 2.1.0 | linux/x86_64 | ocaml-base-compiler.4.04.2 | file:///home/opam/opam-repository # path ~/.opam/4.04.2/.opam-switch/build/conf-lua.1 # command ~/.opam/opam-init/hooks/sandbox.sh build pkg-config lua # exit-code 1 # env-file ~/.opam/log/conf-lua-20-ae744b.env # output-file ~/.opam/log/conf-lua-20-ae744b.out <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build conf-lua 1 +- +- The following changes have been performed | - remove ocaml-secondary-compiler 4.08.1-1 | - install conf-pkg-config 2 +- # 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/4.04.2/.opam-switch/backup/state-20210903151341.export" 'opam install -vy conf-lua.1' failed. This package failed and has been disabled for CI using the 'x-ci-accept-failures' field. "/bin/bash" "-c" " opam remove -y "conf-lua.1" opam install -vy "conf-lua.1" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "conf-lua.1" | 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 69 Failed: Build failed