Organisationsygrekocurl47321d (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-14 13:03.49: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (47321d1922559831c8a44411ab9d2c87cd4b31a4) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard 47321d19
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
# debian-12-4.03_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocurl.opam curl.opam ./
RUN opam pin add -yn ocurl.dev './' && \
    opam pin add -yn curl.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-libcurl.1 conf-m4.1 conf-pkg-config.1.0 dune.2.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y ocurl.dev curl.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-05-14 13:03.49: Using cache hint "ygrek/ocurl-ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290-debian-12-4.03_opam-2.1-cca6e52f8d4cdcec694307f0f7b7e20c"
2024-05-14 13:03.49: Using OBuilder spec:
((from ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290)
 (comment debian-12-4.03_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocurl.opam curl.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn ocurl.dev './' && \
             \nopam pin add -yn curl.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-libcurl.1 conf-m4.1 conf-pkg-config.1.0 dune.2.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y ocurl.dev curl.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-05-14 13:03.49: Waiting for resource in pool OCluster
2024-05-14 13:03.54: Waiting for worker…
2024-05-14 13:03.54: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 47321d1 Val_cons: fix argument order


(from ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290)
Unable to find image 'ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290' locally
docker.io/ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290: Pulling from ocaml/opam
84082c1d7b36: Pulling fs layer
84082c1d7b36: Verifying Checksum
84082c1d7b36: Download complete
84082c1d7b36: Pull complete
Digest: sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
Status: Downloaded newer image for ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
2024-05-14 13:05.50 ---> saved as "c13fd511d8f07c459ff1f91254c2010ec19e559cfccc25ffa7b9832650bfc458"


/: (comment debian-12-4.03_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-14 13:05.50 ---> saved as "26aeff56ca68cd58f5a591ad8b6826464c1dbcd8f6294a87f3e1aaa980cb2ef8"


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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.


This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-14 13:07.00 ---> saved as "fea9f90b78a779a8fc74502fbae0d767f794b57922519577f21f911b40de9d6e"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-05-14 13:07.01 ---> saved as "be9e851b7c71b2f58900eba10fa3396a16a54ae49b42d40286dfb1b1e914ebc8"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:07.01 ---> saved as "93f89608b33cc5ff6df5693f97a2920f0a86216d1a6c5a1ef0b7545f3d235b37"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
2275b40053 @dra27 maintains ocaml-secondary-compiler


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:08.09 ---> saved as "34544c47d2c06bb79addc84d41dca128d3fb51078aab4750f0fb26daf7e191e9"


/src: (copy (src ocurl.opam curl.opam) (dst ./))
2024-05-14 13:08.09 ---> saved as "d8d4c04d86fa77434ea461cd05d8d941f0f03ef42dab0adaeb72627897ad0b00"


/src: (run (network host)
           (shell  "opam pin add -yn ocurl.dev './' && \
                  \nopam pin add -yn curl.dev './'"))
[ocurl.dev] synchronised (file:///src)
ocurl is now pinned to file:///src (version dev)
Package curl does not exist, create as a NEW package? [Y/n] y
[curl.dev] synchronised (file:///src)
curl is now pinned to file:///src (version dev)
2024-05-14 13:08.13 ---> saved as "2cfd8753fc789cc7bb9c40eebd3716319968b2ca76b80f7eac45410ffa53b8f3"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-libcurl.1 conf-m4.1 conf-pkg-config.1.0 dune.2.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y ocurl.dev curl.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 0s (465 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[curl.dev] synchronised (no changes)
[ocurl.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    libcurl4-gnutls-dev m4 pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev" "m4" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-14 13:08.30 ---> saved as "33ded3f50065d1d0da44a94ce315e0a87c361485aca2964c8d4bd05b69c55491"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
  - downgrade ocaml-secondary-compiler 4.08.1-1 to 4.08.1
  - install   conf-pkg-config          1.0
  - install   conf-m4                  1
  - install   conf-libcurl             1
  - install   ocamlfind                1.8.1
  - install   ocamlfind-secondary      1.8.1
  - install   dune                     2.8.0
===== 6 to install | 1 to downgrade =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.2.8.0  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> retrieved ocamlfind-secondary.1.8.1  (cached)
-> installed conf-libcurl.1
-> installed ocamlfind.1.8.1
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.8.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:11.46 ---> saved as "16f56476d3c601dbd17b10b19c1c0edcc4d4395512b421ba1461cc297c2c8316"


/src: (copy (src .) (dst /src))
2024-05-14 13:11.46 ---> saved as "833faef2c398fa97b7a1a8f68013204fee69d567474976927e4ca43845da1cb0"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
Info: Creating file dune-project with this contents:
| (lang dune 2.8)
| (name curl)
File "examples/dune", line 32, characters 18-25:
32 |  (preprocess (pps lwt_ppx))
                       ^^^^^^^
Error: Library "lwt_ppx" not found.
Hint: try:
  dune external-lib-deps --missing @install @check @runtest
File "dune", line 9, characters 9-20:
9 |   (names curl-helper))
             ^^^^^^^^^^^
Error: No rule found for cflags.sexp
File "dune", line 3, characters 0-234:
 3 | (library
 4 |  (public_name curl)
 5 |  (wrapped false)
 6 |  (foreign_stubs
 7 |   (language c)
 8 |   (flags -DHAVE_CONFIG_H :standard (:include cflags.sexp))
 9 |   (names curl-helper))
10 |  (c_library_flags (:include clibs.sexp))
11 |  (libraries unix)
12 |  (modules curl))
Error: No rule found for clibs.sexp
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-14 13:11.47: Job failed: Failed: Build failed