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


Building on x86-bm-c3.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:f4524a9ad6e8f9deb04c38872c1c68d892f8f847304a90f71b39c260fd7c37ab
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-01-15 03:26.37 ---> 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"))
2025-01-15 03:26.37 ---> 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 451b1e526ccb27dc66364a851b27fbf7ccfbc2f2"))
2025-01-15 03:26.37 ---> using "52625e8a37d6974e498c46c5b73987a5de23eb753980981e64630dc695fbe3b3" 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.

2025-01-15 03:26.37 ---> using "bf0993b7e440c7679323e43a556b3a337fb81df454233420043ea0f043d5139e" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.09' '4.09.1'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.09.1"} | "ocaml-system" {= "4.09.1"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.1  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.09.1  (cached)
-> installed ocaml-base-compiler.4.09.1
-> installed ocaml-config.1
-> installed ocaml.4.09.1
Done.
# To update the current shell environment, run: eval $(opam env --switch=4.09)
2025-01-15 03:26.37 ---> using "f327b114d9d3be512474cb22cb4cb7f7884b288c9b1ef92145fbfd8ba29060f0" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [205 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-2025-01-14-2009.05-F-2025-01-09-1409.48.pdiff [564 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-01-14-2009.05-F-2025-01-09-1409.48.pdiff [564 kB]
- Fetched 833 kB in 3s (294 kB/s)
- Reading package lists...
- 
2025-01-15 03:26.37 ---> using "29df0018ed6f774fa47218ce7edff0f91943ce06ec5efa7763bdd36a51278bd6" 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"))
Nothing to do.
[NOTE] conf-libgccjit.1 is not installed.

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"
- (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 ... 19812 files and directories currently installed.)
- Preparing to unpack .../00-libcc1-0_14.2.0-13_amd64.deb ...
- Unpacking libcc1-0:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../01-libgomp1_14.2.0-13_amd64.deb ...
- Unpacking libgomp1:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../02-libitm1_14.2.0-13_amd64.deb ...
- Unpacking libitm1:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../03-libatomic1_14.2.0-13_amd64.deb ...
- Unpacking libatomic1:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../04-libasan8_14.2.0-13_amd64.deb ...
- Unpacking libasan8:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../05-liblsan0_14.2.0-13_amd64.deb ...
- Unpacking liblsan0:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../06-libtsan2_14.2.0-13_amd64.deb ...
- Unpacking libtsan2:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../07-libubsan1_14.2.0-13_amd64.deb ...
- Unpacking libubsan1:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../08-libhwasan0_14.2.0-13_amd64.deb ...
- Unpacking libhwasan0:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../09-libquadmath0_14.2.0-13_amd64.deb ...
- Unpacking libquadmath0:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../10-gcc-14-base_14.2.0-13_amd64.deb ...
- Unpacking gcc-14-base:amd64 (14.2.0-13) over (14.2.0-12) ...
- Setting up gcc-14-base:amd64 (14.2.0-13) ...
- (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 ... 19812 files and directories currently installed.)
- Preparing to unpack .../libstdc++6_14.2.0-13_amd64.deb ...
- Unpacking libstdc++6:amd64 (14.2.0-13) over (14.2.0-12) ...
- Setting up libstdc++6:amd64 (14.2.0-13) ...
- (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 ... 19812 files and directories currently installed.)
- Preparing to unpack .../0-gcc-14_14.2.0-13_amd64.deb ...
- Unpacking gcc-14 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../1-g++-14_14.2.0-13_amd64.deb ...
- Unpacking g++-14 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../2-g++-14-x86-64-linux-gnu_14.2.0-13_amd64.deb ...
- Unpacking g++-14-x86-64-linux-gnu (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../3-libstdc++-14-dev_14.2.0-13_amd64.deb ...
- Unpacking libstdc++-14-dev:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../4-libgcc-14-dev_14.2.0-13_amd64.deb ...
- Unpacking libgcc-14-dev:amd64 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../5-gcc-14-x86-64-linux-gnu_14.2.0-13_amd64.deb ...
- Unpacking gcc-14-x86-64-linux-gnu (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../6-cpp-14-x86-64-linux-gnu_14.2.0-13_amd64.deb ...
- Unpacking cpp-14-x86-64-linux-gnu (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../7-cpp-14_14.2.0-13_amd64.deb ...
- Unpacking cpp-14 (14.2.0-13) over (14.2.0-12) ...
- Preparing to unpack .../8-libgcc-s1_14.2.0-13_amd64.deb ...
- Unpacking libgcc-s1:amd64 (14.2.0-13) over (14.2.0-12) ...
- Setting up libgcc-s1:amd64 (14.2.0-13) ...
- 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 ... 19812 files and directories currently installed.)
- Preparing to unpack .../gcc-13-base_13.3.0-12_amd64.deb ...
- Unpacking gcc-13-base:amd64 (13.3.0-12) ...
- Selecting previously unselected package libgccjit0:amd64.
- Preparing to unpack .../libgccjit0_14.2.0-13_amd64.deb ...
- Unpacking libgccjit0:amd64 (14.2.0-13) ...
- Selecting previously unselected package libgccjit-13-dev:amd64.
- Preparing to unpack .../libgccjit-13-dev_13.3.0-12_amd64.deb ...
- Unpacking libgccjit-13-dev:amd64 (13.3.0-12) ...
- Setting up libgomp1:amd64 (14.2.0-13) ...
- Setting up gcc-13-base:amd64 (13.3.0-12) ...
- Setting up libquadmath0:amd64 (14.2.0-13) ...
- Setting up libatomic1:amd64 (14.2.0-13) ...
- Setting up cpp-14-x86-64-linux-gnu (14.2.0-13) ...
- Setting up cpp-14 (14.2.0-13) ...
- Setting up libubsan1:amd64 (14.2.0-13) ...
- Setting up libhwasan0:amd64 (14.2.0-13) ...
- Setting up libasan8:amd64 (14.2.0-13) ...
- Setting up libtsan2:amd64 (14.2.0-13) ...
- Setting up libcc1-0:amd64 (14.2.0-13) ...
- Setting up liblsan0:amd64 (14.2.0-13) ...
- Setting up libitm1:amd64 (14.2.0-13) ...
- Setting up libgcc-14-dev:amd64 (14.2.0-13) ...
- Setting up libgccjit0:amd64 (14.2.0-13) ...
- Setting up libstdc++-14-dev:amd64 (14.2.0-13) ...
- Setting up libgccjit-13-dev:amd64 (13.3.0-12) ...
- Setting up gcc-14-x86-64-linux-gnu (14.2.0-13) ...
- Setting up gcc-14 (14.2.0-13) ...
- Setting up g++-14-x86-64-linux-gnu (14.2.0-13) ...
- Setting up g++-14 (14.2.0-13) ...
- Processing triggers for libc-bin (2.40-5) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  3/6: [conf-gcc: gcc]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "gcc" "--version" (CWD=/home/opam/.opam/4.09/.opam-switch/build/conf-gcc.1.0)
- gcc (Debian 14.2.0-13) 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.09/.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.09/.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.09.1 | file:///home/opam/opam-repository
# path                 ~/.opam/4.09/.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-973206.env
# output-file          ~/.opam/log/conf-libgccjit-8-973206.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.09/.opam-switch/backup/state-20250115032638.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