Organisationsygrekocaml-zstdc50809 ()freebsd-4.14_opam-2.1

freebsd-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) (freebsd-x86_64:freebsd-4.14_opam-2.1)
Base: freebsd-ocaml-4.14
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 freebsd-ocaml-4.14
# freebsd-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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.2 ocaml-base-compiler.4.14.2 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.25: Using cache hint "ygrek/ocaml-zstd-freebsd-freebsd-ocaml-4.14-freebsd-4.14_opam-2.1-bae3dcb3b4cb7bac7e4a19e497ef9be6"
2024-03-27 15:25.25: Using OBuilder spec:
((from freebsd-ocaml-4.14)
 (comment freebsd-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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.2 ocaml-base-compiler.4.14.2 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.25: Waiting for resource in pool OCluster
2024-03-27 15:25.26: Waiting for worker…
2024-03-27 18:00.27: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at c50809d Bump version


(from freebsd-ocaml-4.14)
2024-03-27 17:56.34 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache


/: (comment freebsd-4.14_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


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


/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-03-27 17:56.35 ---> using "dba2ef0de478afdbd43a6552d310929f1c3c3ee6b86c81b7ff6f06256f6544c3" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.1.5
2024-03-27 17:56.35 ---> using "fa8577a82f6c8311031f5ac9ddbcefef5d36d0876493f17a1dc5aa96593235c6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-03-27 17:56.36 ---> using "1b1f323c7946b3615d1855d65edd6179caf157152d4670670539e49efbdc1d2e" 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
   69e073a577..ee7f724f69  master     -> origin/master
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config


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


Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.3.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-03-27 17:56.36 ---> using "2d60f023d613fe8d927dc4a66bce47885862f51d2f394c1c40a52edea5a2010d" from cache


/src: (copy (src zstd.opam) (dst ./))
2024-03-27 17:56.38 ---> saved as "e776502b94003fff22ab0fc6c88eb2d4b2487d415ba0000d4812aa740cb2be2c"


/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:56.42 ---> saved as "cc33ade3ed8b9128c76d25c8b69dd15840bdac3f3b2d8682098960b779097a67"


/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.2 ocaml-base-compiler.4.14.2 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"))
[WARNING] Unknown update command for bsd, skipping system update


<><> 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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 13
Constructing conflict graph...
Conflict graph has 9 + 5 = 14 vertices
2024-03-27 17:57.18 ---> saved as "90900ba28e0026aff6a19fcf8dc297a8be48281ec550a52f2d9fd28f1bc063bb"


/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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 13
Constructing conflict graph...
Conflict graph has 9 + 5 = 14 vertices
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 =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved csexp.1.5.2  (cached)
 installed conf-pkg-config.3
 retrieved ctypes.0.22.0  (cached)
 installed conf-zstd.1.3.8
 retrieved cppo.1.6.9  (cached)
 retrieved bigarray-compat.1.1.0  (cached)
 retrieved extlib.1.7.9  (cached)
 retrieved integers.0.7.0  (cached)
 retrieved dune-configurator.3.14.2  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved dune.3.14.2  (cached)
 installed dune.3.14.2
 installed stdlib-shims.0.3.0
 installed bigarray-compat.1.1.0
 installed csexp.1.5.2
 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.
2024-03-27 18:00.07 ---> saved as "f5f942d453d54185b0c6e8a8e82653ffce7719f8b356ca3e5460da79eb8b348a"


/src: (copy (src .) (dst /src))
2024-03-27 18:00.11 ---> saved as "23341370e5f4e481546e3bdc0f8e8edcbc5d3f4061e7eb44858185d42969a2f9"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/stubs && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -I/usr/local/include -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/ctypes -I /home/opam/.opam/4.14.2/lib/ctypes/stubs -I /home/opam/.opam/4.14.2/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:28:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
   char* x18 = ZSTD_getErrorName(x15);
         ^     ~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
(cd _build/default/test && ./test.exe)
                                        ./test.exe : best compression 3.7x at level 18 : 3304192 -> 893862
                                       environment : best compression 2.2x at level 16 : 1468 -> 676
2024-03-27 18:00.56 ---> saved as "68d54bd0becf181cf0ae55f1e4dbfebdad79243cdba00400da36927593a973ef"
Job succeeded
2024-03-27 18:04.51: Job succeeded