Organisationsygrekocaml-zstdc50809 ()debian-12-4.14_x86_32_opam-2.1

debian-12-4.14_x86_32_opam-2.1

Link Copied
Code Copied

Logs

2024-03-27 15:25.26: New job: test ygrek/ocaml-zstd https://github.com/ygrek/ocaml-zstd.git#refs/heads/master (c50809df5c0474454740948ad0e7a1c77461cce0) (linux-x86_64:debian-12-4.14_x86_32_opam-2.1)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocaml-zstd.git" -b "master" && cd "ocaml-zstd" && git reset --hard c50809df
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978
# debian-12-4.14_x86_32_opam-2.1
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 zstd.opam ./
RUN opam pin add -yn zstd.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 conf-zstd.1.3.8 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.14.2 dune-configurator.3.14.2 extlib.1.7.9 integers.0.7.0 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y zstd.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-03-27 15:25.26: Using cache hint "ygrek/ocaml-zstd-ocaml/opam:debian-12-ocaml-4.14@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978-debian-12-4.14_x86_32_opam-2.1-a428c156bbbccadeb6c8e25e7abe5dc9"
2024-03-27 15:25.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978)
 (comment debian-12-4.14_x86_32_opam-2.1)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src zstd.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn zstd.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 conf-zstd.1.3.8 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.14.2 dune-configurator.3.14.2 extlib.1.7.9 integers.0.7.0 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")
 (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 zstd.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-03-27 15:25.26: Waiting for resource in pool OCluster
2024-03-27 16:48.22: Waiting for worker…
2024-03-27 16:57.32: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at c50809d Bump version


(from ocaml/opam:debian-12-ocaml-4.14@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978' locally
docker.io/ocaml/opam@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978: Pulling from ocaml/opam
f0badd64092c: Pulling fs layer
f0badd64092c: Verifying Checksum
f0badd64092c: Download complete
f0badd64092c: Pull complete
Digest: sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978
Status: Downloaded newer image for ocaml/opam@sha256:34fe4c2c6e6cf8a8f41448951dd47ae14df1de81a41e99b9057162b0fa9e7978
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2024-03-27 17:00.30 ---> saved as "1614bf739b568d984d09fc9f84241c77bde10e610b95518abcd917d53a83177b"


/: (comment debian-12-4.14_x86_32_opam-2.1)


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


/: (shell /usr/bin/linux32 /bin/sh -c)


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-03-27 17:00.30 ---> saved as "febce76e29908783d3076b03f8c4f2d326ccfbdb522725d073b2960b4495ef71"


/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-03-27 17:02.16 ---> saved as "b4e28ce1c1ca90cd7dc0f0451ad0d6ee8d4432d75621e78be7beaf37876f6a0c"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-100-generic
The OCaml toplevel, version 4.14.1
2.1.5
2024-03-27 17:02.17 ---> saved as "f72793fd852067fd0d7297a7576e8e681b0f1e6b83f0f60c0509d28bd5ef2d91"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 17:02.17 ---> saved as "6c612f512e42ae36a3b9ce482686cdbcf6cb117dad2cf9af31682870b915b09c"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6ba98231d..fe00df86c9  master     -> origin/master
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config


<><> 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-03-27 17:04.19 ---> saved as "7b8971a7dee1bc05f1a1b2ddf8cd36b6d097dbeccaa86b4e239425a13e2bf70a"


/src: (copy (src zstd.opam) (dst ./))
2024-03-27 17:04.20 ---> saved as "94e13c83b2c794a6dda52788aa8accb9591ec9f1af47f34026b93c5358911d9f"


/src: (run (network host)
           (shell "opam pin add -yn zstd.dev './'"))
[zstd.dev] synchronised (file:///src)
zstd is now pinned to file:///src (version dev)
2024-03-27 17:04.23 ---> saved as "43f729e7fba83064aeee57663576e5876d423e0f172823b75a5d2c3e4394dcef"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-pkg-config.3 conf-zstd.1.3.8 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.14.2 dune-configurator.3.14.2 extlib.1.7.9 integers.0.7.0 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 stdlib-shims.0.3.0")


/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 zstd.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]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [147 kB]
- Fetched 250 kB in 1s (330 kB/s)
- Reading package lists...
- 


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


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.1).
[NOTE] Package ocaml is already installed (current version is 4.14.1).
[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:
    libzstd-dev pkg-config


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


2024-03-27 17:04.53 ---> saved as "2ed6e986ba6b105067310a80315438cac3b549772f4543a6d1437152071537f5"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.1).
[NOTE] Package ocaml is already installed (current version is 4.14.1).
[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:
  - install dune              3.14.2
  - install conf-pkg-config   3
  - install stdlib-shims      0.3.0
  - install csexp             1.5.2
  - install cppo              1.6.9
  - install bigarray-compat   1.1.0
  - install conf-zstd         1.3.8
  - install integers          0.7.0
  - install dune-configurator 3.14.2
  - install extlib            1.7.9
  - install ctypes            0.22.0
===== 11 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.3
-> retrieved ctypes.0.22.0  (cached)
-> installed conf-zstd.1.3.8
-> retrieved extlib.1.7.9  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.14.2  (cached)
-> retrieved dune-configurator.3.14.2  (cached)
-> installed dune.3.14.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed cppo.1.6.9
-> installed integers.0.7.0
-> installed extlib.1.7.9
-> installed dune-configurator.3.14.2
-> installed ctypes.0.22.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-03-27 17:06.00 ---> saved as "5af3b93d391894dc56d47f90d316abaa24d699e2dc9eb77565b687b54752825b"


/src: (copy (src .) (dst /src))
2024-03-27 17:06.00 ---> saved as "bc74e1b3f7af927aeb256d3f3fd3271720c017c163c6f45669e7ee02328007e9"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o stubs/libzstd__type_gen.exe /home/opam/.opam/4.14/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/4.14/lib/integers/integers.cmxa -I /home/opam/.opam/4.14/lib/integers /home/opam/.opam/4.14/lib/bigarray-compat/bigarray_compat.cmxa /home/opam/.opam/4.14/lib/ctypes/ctypes.cmxa -I /home/opam/.opam/4.14/lib/ctypes /home/opam/.opam/4.14/lib/ocaml/str.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/ctypes/stubs/ctypes_stubs.cmxa stubs/.zstd_stubs.objs/native/zstd_stubs.cmx stubs/.zstd_stubs.objs/native/zstd_stubs__Type_description.cmx stubs/.zstd_stubs.objs/native/zstd_stubs__Libzstd__type_gen.cmx)
/usr/bin/ld: stubs/.zstd_stubs.objs/native/zstd_stubs__Libzstd__type_gen.o: warning: relocation in read-only section `.text'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o stubs/libzstd__function_gen__Function_description__Functions.exe /home/opam/.opam/4.14/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/4.14/lib/integers/integers.cmxa -I /home/opam/.opam/4.14/lib/integers /home/opam/.opam/4.14/lib/bigarray-compat/bigarray_compat.cmxa /home/opam/.opam/4.14/lib/ctypes/ctypes.cmxa -I /home/opam/.opam/4.14/lib/ctypes /home/opam/.opam/4.14/lib/ocaml/str.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/ctypes/stubs/ctypes_stubs.cmxa stubs/.zstd_stubs.objs/native/zstd_stubs.cmx stubs/.zstd_stubs.objs/native/zstd_stubs__Libzstd__c_generated_types.cmx stubs/.zstd_stubs.objs/native/zstd_stubs__Type_description.cmx stubs/.zstd_stubs.objs/native/zstd_stubs__Types_generated.cmx stubs/.zstd_stubs.objs/native/zstd_stubs__Function_description.cmx stubs/.zstd_stubs.objs/native/zstd_stubs__Libzstd__function_gen__Function_description__Functions.cmx)
/usr/bin/ld: stubs/.zstd_stubs.objs/native/zstd_stubs__Libzstd__function_gen__Function_description__Functions.o: warning: relocation in read-only section `.text'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
(cd _build/default/stubs && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -o libzstd__c_cout_generated_functions__Function_description__Functions.o -c libzstd__c_cout_generated_functions__Function_description__Functions.c)
libzstd__c_cout_generated_functions__Function_description__Functions.c: In function 'libzstd_stubs_3_ZSTD_getErrorName':
libzstd__c_cout_generated_functions__Function_description__Functions.c:28:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   28 |    char* x18 = ZSTD_getErrorName(x15);
      |                ^~~~~~~~~~~~~~~~~
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o test/test.exe /home/opam/.opam/4.14/lib/extlib/extlib.cmxa /home/opam/.opam/4.14/lib/ocaml/unix.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/4.14/lib/integers/integers.cmxa -I /home/opam/.opam/4.14/lib/integers /home/opam/.opam/4.14/lib/bigarray-compat/bigarray_compat.cmxa /home/opam/.opam/4.14/lib/ctypes/ctypes.cmxa -I /home/opam/.opam/4.14/lib/ctypes /home/opam/.opam/4.14/lib/ocaml/str.cmxa -I /home/opam/.opam/4.14/lib/ocaml /home/opam/.opam/4.14/lib/ctypes/stubs/ctypes_stubs.cmxa stubs/zstd_stubs.cmxa -I stubs src/zstd.cmxa test/.test.eobjs/native/dune__exe__Test.cmx)
/usr/bin/ld: test/.test.eobjs/native/dune__exe__Test.o: warning: relocation in read-only section `.text'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
(cd _build/default/test && ./test.exe)
                                         /bin/bash : best compression 2.4x at level 19 : 1408088 -> 588744
                 /src/_build/default/test/test.exe : best compression 3.2x at level 19 : 3291776 -> 1038038
                                  /etc/ld.so.cache : best compression 5.1x at level 17 : 15802 -> 3112
                                       environment : best compression 2.2x at level 16 : 1336 -> 606
2024-03-27 17:06.21 ---> saved as "ee239c5ab428ba66959964d6a89c6072efa3586f4f3765192f856f5c9ceeb666"
Job succeeded
2024-03-27 17:06.21: Job succeeded