Organisationsygrekocaml-zstdc50809 ()opensuse-15.5-5.1_opam-2.1

opensuse-15.5-5.1_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:opensuse-15.5-5.1_opam-2.1)
Base: ocaml/opam@sha256:7eafda70c4f5de3c91e384a92797a9569414642eb75a8a8d48cc9b46b9e61321
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:7eafda70c4f5de3c91e384a92797a9569414642eb75a8a8d48cc9b46b9e61321
# opensuse-15.5-5.1_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 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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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.25: Using cache hint "ygrek/ocaml-zstd-ocaml/opam@sha256:7eafda70c4f5de3c91e384a92797a9569414642eb75a8a8d48cc9b46b9e61321-opensuse-15.5-5.1_opam-2.1-e65783279cc4a100ba5736e9014122f8"
2024-03-27 15:25.25: Using OBuilder spec:
((from ocaml/opam@sha256:7eafda70c4f5de3c91e384a92797a9569414642eb75a8a8d48cc9b46b9e61321)
 (comment opensuse-15.5-5.1_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 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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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.25: Waiting for resource in pool OCluster
2024-03-27 16:47.56: Waiting for worker…
2024-03-27 16:52.59: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at c50809d Bump version


(from ocaml/opam@sha256:7eafda70c4f5de3c91e384a92797a9569414642eb75a8a8d48cc9b46b9e61321)
2024-03-27 16:53.32 ---> saved as "e4f8d7a24614a6d81fe5468f1a98e5f07012705e4a97ac5acb5f9811a4b6df21"


/: (comment opensuse-15.5-5.1_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-03-27 16:53.32 ---> saved as "e4e678b6d2b83095a133137a8fc6eefdeb891f2204d1c2890cd551d805d5879e"


/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 16:54.55 ---> saved as "f5bd56baf792cd938f86e739ff3e881b0a2d7c179bf00f01e81121bbe3514dfd"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-97-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-03-27 16:54.56 ---> saved as "dc9dd47fb84df59ed8b7bd9ee02ac114582d0b36990bfb9d3744fc3320f2dca7"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 16:54.56 ---> saved as "c55924190b5291f8b49d3806189dbe30a158a1b9729fb6408a34f3b93561ed7a"


/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 16:56.55 ---> saved as "5c5f6d6dc4b16b507c7dbc7583536954b1ca6dd51da5b9b0ca7d316f144ecf97"


/src: (copy (src zstd.opam) (dst ./))
2024-03-27 16:56.55 ---> saved as "b4cca3f233c293715e3b05c146684c1d11294b444e894cdc7471a07224321865"


/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 16:57.05 ---> saved as "fed9428d32dd1edf1517383f96353d0b5111e6fb18f60e554bf5d3ddc75e85d2"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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 "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [...
- .
- .....done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [...
- ..
- ..........
- ......done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.
- ...
- ..done]
- Building repository 'Main Update Repository' cache [....done]
- Repository 'Update Repository (Non-Oss)' is up to date.
- All repositories have been refreshed.


<><> 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 "zypper" "--non-interactive" "install" "libzstd-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
- 
- The following NEW package is going to be installed:
-   libzstd-devel
- 
- 1 new package to install.
- Overall download size: 64.7 KiB. Already cached: 0 B. After the operation, additional 190.8 KiB will be used.
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libzstd-devel-1.5.0-150400.3.3.1.x86_64 (Main Repository) (1/1),  64.7 KiB    
- Retrieving: libzstd-devel-1.5.0-150400.3.3.1.x86_64.rpm [..done]
- 
- Checking for file conflicts: [..done]
- (1/1) Installing: libzstd-devel-1.5.0-150400.3.3.1.x86_64 [..done]
2024-03-27 16:58.32 ---> saved as "1a38e40388a53570eea97acb8fff06900f5aeac39af32becc94df1f73654b78e"


/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.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:00.13 ---> saved as "3dcf0fe31a0d5a5532f1b5c8046fc45e133ec5ed538d038fdf873c7546743ecf"


/src: (copy (src .) (dst /src))
2024-03-27 17:00.14 ---> saved as "5e9148e7db0bfbacfed08df91ab4be1b3c84d9c1143391a781fbbbf916e029fa"


/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/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/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]
    char* x18 = ZSTD_getErrorName(x15);
                ^~~~~~~~~~~~~~~~~
(cd _build/default/test && ./test.exe)
                                         /bin/bash : best compression 2.0x at level 19 : 1012656 -> 496069
                 /src/_build/default/test/test.exe : best compression 3.8x at level 19 : 4456184 -> 1161644
                                  /etc/ld.so.cache : best compression 5.2x at level 19 : 20935 -> 4059
                                       environment : best compression 2.2x at level 12 : 1412 -> 631
2024-03-27 17:00.31 ---> saved as "60340048a63c5830fe9a2f06350756878a98f3258c3e14de07a86b2acddf0e50"
Job succeeded
2024-03-27 17:00.31: Job succeeded