Building on x86-bm-c10.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:728f5640961821acc3c3615502bcc556ec255cb25e8860aae98b3690dfbd682e Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-11-22 05:42.25 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-11-22 05:42.25 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" 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 232a37e8b008dc04381f5e98c16badfc02ea6962")) 2024-11-22 05:42.25 ---> using "3627aca0cf09d425091b1834dc367b2d674ea958c1073cfd571626e801400fa8" 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-11-22 05:42.25 ---> using "12ca91eed672409146ffeb97abf8b2057aa9490eea5153239f28fb1d87ff4305" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.10' '4.10.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.10.2"} | "ocaml-system" {= "4.10.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-config.1 (2 extra sources) -> retrieved ocaml-config.1 (2 extra sources) -> retrieved ocaml-base-compiler.4.10.2 (cached) -> installed ocaml-base-compiler.4.10.2 -> installed ocaml-config.1 -> installed ocaml.4.10.2 Done. # To update the current shell environment, run: eval $(opam env --switch=4.10) 2024-11-22 05:42.25 ---> using "ff68f38a5ca1c39d184f0d4a02bcf77289391452c2050e2ca8fe70e8e368c885" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [202 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-11-21-2009.31-F-2024-11-19-1405.22.pdiff [124 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-21-2009.31-F-2024-11-19-1405.22.pdiff [124 kB] - Fetched 390 kB in 3s (151 kB/s) - Reading package lists... - 2024-11-22 05:42.25 ---> using "a7be822662bf9ba52d7a13620707d07dc5c00a7d6d99b387b30c92dbeca3230b" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"conf-libgccjit.1\"\ \nopam install -vy \"conf-libgccjit.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"conf-libgccjit.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-libgccjit.1 is not installed. Nothing to do. The following actions will be performed: === install 2 packages - install conf-gcc 1.0 [required by conf-libgccjit] - install conf-libgccjit 1 The following system packages will first need to be installed: libgccjit-13-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. Continue anyway, and, upon success, 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" "libgccjit-13-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package gcc-13-base: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 ... 19808 files and directories currently installed.) - Preparing to unpack .../gcc-13-base_13.3.0-8_amd64.deb ... - Unpacking gcc-13-base:amd64 (13.3.0-8) ... - Selecting previously unselected package libgccjit0:amd64. - Preparing to unpack .../libgccjit0_14.2.0-8_amd64.deb ... - Unpacking libgccjit0:amd64 (14.2.0-8) ... - Selecting previously unselected package libgccjit-13-dev:amd64. - Preparing to unpack .../libgccjit-13-dev_13.3.0-8_amd64.deb ... - Unpacking libgccjit-13-dev:amd64 (13.3.0-8) ... - Setting up gcc-13-base:amd64 (13.3.0-8) ... - Setting up libgccjit0:amd64 (14.2.0-8) ... - Setting up libgccjit-13-dev:amd64 (13.3.0-8) ... - Processing triggers for libc-bin (2.40-3) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/6: [conf-gcc: gcc] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "gcc" "--version" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-gcc.1.0) - gcc (Debian 14.2.0-8) 14.2.0 - Copyright (C) 2024 Free Software Foundation, Inc. - This is free software; see the source for copying conditions. There is NO - warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -> compiled conf-gcc.1.0 -> installed conf-gcc.1.0 Processing 5/6: [conf-libgccjit: sh echo "#include \"libgccjit.h\"" > test.c] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "echo \"#include \\\"libgccjit.h\\\"\" > test.c" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-libgccjit.1) - + echo #include "libgccjit.h" Processing 5/6: [conf-libgccjit: sh] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "gcc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-libgccjit.1) - + gcc -c -I/usr/local/include test.c - test.c:1:11: fatal error: libgccjit.h: No such file or directory - 1 | #include "libgccjit.h" - | ^~~~~~~~~~~~~ - compilation terminated. [ERROR] The compilation of conf-libgccjit.1 failed at "sh -exc gcc -c $CFLAGS -I/usr/local/include test.c". #=== ERROR while compiling conf-libgccjit.1 ===================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///home/opam/opam-repository # path ~/.opam/4.10/.opam-switch/build/conf-libgccjit.1 # command ~/.opam/opam-init/hooks/sandbox.sh build sh -exc gcc -c $CFLAGS -I/usr/local/include test.c # exit-code 1 # env-file ~/.opam/log/conf-libgccjit-8-46fc7c.env # output-file ~/.opam/log/conf-libgccjit-8-46fc7c.out ### output ### # + gcc -c -I/usr/local/include test.c # test.c:1:11: fatal error: libgccjit.h: No such file or directory # 1 | #include "libgccjit.h" # | ^~~~~~~~~~~~~ # compilation terminated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build conf-libgccjit 1 +- +- The following changes have been performed | - install conf-gcc 1.0 +- <><> conf-libgccjit.1 troubleshooting <><><><><><><><><><><><><><><><><><><><><> => libgccjit version must correspond to the gcc version; consider upgrading gcc # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.10/.opam-switch/backup/state-20241122054226.export" 'opam install -vy conf-libgccjit.1' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "conf-libgccjit.1" opam install -vy "conf-libgccjit.1" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "conf-libgccjit.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 31 Failed: Build failed