Organisationsygrekocaml-zstdc50809 ()fedora-37-4.14_opam-2.1

fedora-37-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-03-27 15:25.25: New job: test ygrek/ocaml-zstd https://github.com/ygrek/ocaml-zstd.git#refs/heads/master (c50809df5c0474454740948ad0e7a1c77461cce0) (linux-x86_64:fedora-37-4.14_opam-2.1)
Base: ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e
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@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e
# fedora-37-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e-fedora-37-4.14_opam-2.1-a428c156bbbccadeb6c8e25e7abe5dc9"
2024-03-27 15:25.26: Using OBuilder spec:
((from ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e)
 (comment fedora-37-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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.02: Waiting for worker…
2024-03-27 17:03.13: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at c50809d Bump version


(from ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e)
Unable to find image 'ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e' locally
docker.io/ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e: Pulling from ocaml/opam
3886ae260fd0: Pulling fs layer
3886ae260fd0: Verifying Checksum
3886ae260fd0: Download complete
3886ae260fd0: Pull complete
Digest: sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e
Status: Downloaded newer image for ocaml/opam@sha256:db2d5c04c9f7d2aee7abc2fedb59ae9336ddcd2817d2bc98d5be8f92b5d1ad6e
2024-03-27 17:03.36 ---> using "21113cacc35c258b68e07ad5edcf035bdc4c7646904ccf8799882bbcf7270b15" from cache


/: (comment fedora-37-4.14_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 37 - x86_64                              176 kB/s |  22 kB     00:00    
Fedora 37 openh264 (From Cisco) - x86_64        9.6 kB/s | 989  B     00:00    
Fedora Modular 37 - x86_64                      176 kB/s |  21 kB     00:00    
Fedora 37 - x86_64 - Updates                    174 kB/s |  21 kB     00:00    
Fedora Modular 37 - x86_64 - Updates            177 kB/s |  20 kB     00:00    
Package findutils-1:4.9.0-2.fc37.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-03-27 17:03.36 ---> using "1640aa34ffff1a43fb11d38d49db8fb76c70d239950d4107949de49b672e9927" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-03-27 17:03.36 ---> using "261d59a59f7294d51f9e49c39fb75e9e8c41543ab4a39707c75975d1a41c1fa1" from cache


/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:03.36 ---> using "5309db8d87e71936d821995a8957894ed809ac0860c29727cfe5e586c38642a5" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.1
2.1.5
2024-03-27 17:03.36 ---> using "b9ad708de4802ad4fd74c28e63ea7ad3049987e6e125e686488e3ba6e3887303" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 17:03.36 ---> using "d6ed0773d5bf96504c4da68cd6e1eba636420dcdcb4405b5a6a5411ee78c6410" from cache


/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..ee7f724f69  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:03.36 ---> using "cdd0b70a5a45836ed856707c456926d2304589e405509533f7715f43d7d0a6cb" from cache


/src: (copy (src zstd.opam) (dst ./))
2024-03-27 17:03.36 ---> saved as "05ca3d14f4144f6003062adc6084b5f44f1fe979013481de4e07cd5dd93496bd"


/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:03.38 ---> saved as "e94d4d0b9a8d6d7eda222b65225d1bbd85bc2938e76f46aa8caff420193caf3b"


/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 "yum" "makecache"
- Fedora 37 - x86_64                              174 kB/s |  22 kB     00:00    
- Fedora 37 openh264 (From Cisco) - x86_64        8.5 kB/s | 989  B     00:00    
- Fedora Modular 37 - x86_64                      150 kB/s |  22 kB     00:00    
- Fedora 37 - x86_64 - Updates                    145 kB/s |  21 kB     00:00    
- Fedora Modular 37 - x86_64 - Updates            174 kB/s |  20 kB     00:00    
- Metadata cache created.


<><> 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-devel


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "libzstd-devel"
- Last metadata expiration check: 0:00:18 ago on Wed Mar 27 17:03:42 2024.
- Dependencies resolved.
- ================================================================================
-  Package              Architecture  Version                Repository      Size
- ================================================================================
- Installing:
-  libzstd-devel        x86_64        1.5.5-1.fc37           updates         51 k
- 
- Transaction Summary
- ================================================================================
- Install  1 Package
- 
- Total download size: 51 k
- Installed size: 198 k
- Downloading Packages:
- libzstd-devel-1.5.5-1.fc37.x86_64.rpm           173 kB/s |  51 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           121 kB/s |  51 kB     00:00     
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1 
-   Installing       : libzstd-devel-1.5.5-1.fc37.x86_64                      1/1 
-   Running scriptlet: libzstd-devel-1.5.5-1.fc37.x86_64                      1/1 
-   Verifying        : libzstd-devel-1.5.5-1.fc37.x86_64                      1/1 
- 
- Installed:
-   libzstd-devel-1.5.5-1.fc37.x86_64                                             
- 
- Complete!
+ /usr/bin/sudo "rpm" "-q" "--whatprovides" "libzstd-devel"
- libzstd-devel-1.5.5-1.fc37.x86_64
2024-03-27 17:04.01 ---> saved as "d0be2141ebc4a6eb04786ccbe89f6a82b17d3ac8e8f2d5c23c630ac9e6aba1ab"


/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 integers.0.7.0
-> installed cppo.1.6.9
-> 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:05.21 ---> saved as "2c77226a593eb84cf831de8250347f84f79d4c51b299f82b62674af3350b7cff"


/src: (copy (src .) (dst /src))
2024-03-27 17:05.21 ---> saved as "7779a9562675f51e868eb3fc53c98ead27f6a99d2d01167cf53b1863d2be9324"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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/test && ./test.exe)
                                         /bin/bash : best compression 2.3x at level 19 : 1431048 -> 631642
                 /src/_build/default/test/test.exe : best compression 3.3x at level 19 : 3337512 -> 1008849
                                  /etc/ld.so.cache : best compression 4.2x at level 16 : 13191 -> 3105
                                       environment : best compression 2.2x at level 13 : 1397 -> 644
2024-03-27 17:05.40 ---> saved as "090391b45abbc5e1f1c1c6bac9a5574084b171a11d78c53bf897adc33440cdf2"
Job succeeded
2024-03-27 17:05.40: Job succeeded