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


Building on x86-bm-c4.sw.ocaml.org

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
70674f18d57d: Pulling fs layer
70674f18d57d: Verifying Checksum
70674f18d57d: Download complete
70674f18d57d: Pull complete
Digest: sha256:730ba1f0177ca25fd2003dcf99bd6c4e2bc2f1957c5aebd8d47e1bd69cf161a0
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-11-09 16:27.49 ---> 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-09 16:27.49 ---> 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 eecf6d033c6c13a6bda9b445601ddcbaa09dd288"))
2024-11-09 16:27.49 ---> using "659878f189cdb906ec3e452fdc4f26cfb0c3654f53f43b380cf690e70b2f5ac6" 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-09 16:27.49 ---> using "b22293df705e6cba3afecfd99e3970445bf105f18df9a7b31bf5584e65710795" 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)
2024-11-09 16:27.49 ---> using "ff7b0e3777a5fb64e25491e72fd606c0024ab1bcbf0c16d6c3ae6cebd86a555f" 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-09-1404.34-F-2024-11-04-2012.18.pdiff [293 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-09-1404.34-F-2024-11-04-2012.18.pdiff [293 kB]
- Fetched 559 kB in 3s (181 kB/s)
- Reading package lists...
- 
2024-11-09 16:27.49 ---> using "9b825987565c5f8c3a0b50936a0409b2b692d4cd832fbadbf72236baa22cfeb0" 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"))
Nothing to do.
[NOTE] conf-gmp-powm-sec.1 is not installed.

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. 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" "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 ... 19599 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.3.0+dfsg-2+b2_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2+b2) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.3.0+dfsg-2+b2_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-2+b2) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2+b2) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-2+b2) ...
- Processing triggers for libc-bin (2.40-3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.1  (cached)
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.09/.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.09/.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: error: implicit declaration of function '__gmp_init'; did you mean '__gmpf_init'? [-Wimplicit-function-declaration]
-    10 |         __gmp_init();
-       |         ^~~~~~~~~~
-       |         __gmpf_init
[ERROR] The compilation of conf-gmp-powm-sec.1 failed at "sh -exc cc -c $CFLAGS -I/usr/local/include test.c".

#=== ERROR while compiling conf-gmp-powm-sec.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-gmp-powm-sec.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build sh -exc cc -c $CFLAGS -I/usr/local/include test.c
# exit-code            1
# env-file             ~/.opam/log/conf-gmp-powm-sec-8-3e4669.env
# output-file          ~/.opam/log/conf-gmp-powm-sec-8-3e4669.out
### output ###
# + cc -c -I/usr/local/include test.c
# test.c: In function 'test':
# test.c:10:9: error: implicit declaration of function '__gmp_init'; did you mean '__gmpf_init'? [-Wimplicit-function-declaration]
#    10 |         __gmp_init();
#       |         ^~~~~~~~~~
#       |         __gmpf_init



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-gmp-powm-sec 1
+- 
+- The following changes have been performed
| - install conf-gmp 4
+- 
# 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-20241109162750.export"
'opam install -vy conf-gmp-powm-sec.1' failed.
"/usr/bin/env" "bash" "-c" "
opam remove -y "conf-gmp-powm-sec.1"
opam install -vy "conf-gmp-powm-sec.1"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "conf-gmp-powm-sec.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