Organisationsemillonhacl-star-dunef96e3b (master)freebsd-5.2_opam-2.1

freebsd-5.2_opam-2.1

Link Copied
Code Copied

Logs

2024-06-24 13:49.48: New job: test emillon/hacl-star-dune https://github.com/emillon/hacl-star-dune.git#refs/heads/master (f96e3b91a8d94cd8602af15643e7f819a65f5d9f) (freebsd-x86_64:freebsd-5.2_opam-2.1)
Base: freebsd-ocaml-5.2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/emillon/hacl-star-dune.git" -b "master" && cd "hacl-star-dune" && git reset --hard f96e3b91
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.2
# freebsd-5.2_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 796c0cc8af436190f8caaf87e9abc10984c46de3 || git fetch origin master) && git reset -q --hard 796c0cc8af436190f8caaf87e9abc10984c46de3 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 hacl-star.opam hacl-star-raw.opam ./
RUN opam pin add -yn hacl-star.dev './' && \
    opam pin add -yn hacl-star-raw.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-gmp.4 conf-which.1 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 stdlib-shims.0.3.0 zarith.1.13"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y hacl-star.dev hacl-star-raw.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-06-24 13:49.48: Using cache hint "emillon/hacl-star-dune-freebsd-freebsd-ocaml-5.2-freebsd-5.2_opam-2.1-851847e5547c16bd5f39b90e3c524568"
2024-06-24 13:49.48: Using OBuilder spec:
((from freebsd-ocaml-5.2)
 (comment freebsd-5.2_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 796c0cc8af436190f8caaf87e9abc10984c46de3 || git fetch origin master) && git reset -q --hard 796c0cc8af436190f8caaf87e9abc10984c46de3 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src hacl-star.opam hacl-star-raw.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn hacl-star.dev './' && \
             \nopam pin add -yn hacl-star-raw.dev './'"))
 (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-gmp.4 conf-which.1 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 stdlib-shims.0.3.0 zarith.1.13")
 (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 hacl-star.dev hacl-star-raw.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-06-24 13:49.48: Waiting for resource in pool OCluster
2024-06-24 13:49.48: Waiting for worker…
2024-06-24 20:07.41: Got resource from pool OCluster
Building on summer
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /obuilder/state/git/hacl-star-dune.git-8ba2224fb7b0e21e9ab3ed8034543d7e9215f78e/.git/
HEAD is now at f96e3b9 Assume Vec256 feature


(from freebsd-ocaml-5.2)
2024-06-24 20:00.40 ---> using "3515bf58445883216685df527c06fc8b9b7799700694ffa335d1401da4433261" from cache


/: (comment freebsd-5.2_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-06-24 20:00.42 ---> using "9d6862887f900f59625b2215f75e812893e141cab42bcb588c0a696a0d5f58ba" 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-06-24 20:00.43 ---> using "1fd90ea945c776de537d3c99dc7b4903609e7adbb45bd33c5e3538b8de92ea66" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p6
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-24 20:00.44 ---> using "fb7d445678cc2654300145baf3967822bea6d22d7d1784a343fa4d849ce67e57" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-24 20:00.46 ---> using "c8753f135ab4a2a6875ba6c72e3a7bf45a73413350972305e894f2309c51e448" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 796c0cc8af436190f8caaf87e9abc10984c46de3 || git fetch origin master) && git reset -q --hard 796c0cc8af436190f8caaf87e9abc10984c46de3 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   59c0c54934..795f80f1b5  master     -> origin/master
796c0cc8af Add configuration for gmp under mingw


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


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
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-06-24 20:00.47 ---> using "86166ad779c0e781f493c32b4ce67bac7139e6b31ef07acf44c3fba8c60e9b9f" from cache


/src: (copy (src hacl-star.opam hacl-star-raw.opam) (dst ./))
2024-06-24 20:00.52 ---> saved as "95e9efe3f8efe5be4e441c72a1b5a2a688bf953c3c62d3281e00dbfbbb93ef6f"


/src: (run (network host)
           (shell  "opam pin add -yn hacl-star.dev './' && \
                  \nopam pin add -yn hacl-star-raw.dev './'"))
[hacl-star.dev] synchronised (file:///src)
hacl-star is now pinned to file:///src (version dev)
[hacl-star-raw.dev] synchronised (file:///src)
hacl-star-raw is now pinned to file:///src (version dev)
2024-06-24 20:01.01 ---> saved as "fab12f24cf4b9eafefa35eedaeafe2309f5f56f35c2a54647731323c4c68bbe8"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-gmp.4 conf-which.1 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 stdlib-shims.0.3.0 zarith.1.13")


/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 hacl-star.dev hacl-star-raw.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[hacl-star.dev] synchronised (no changes)
[hacl-star-raw.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.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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:
    gmp


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "gmp"
- Updating FreeBSD repository catalogue...
- [summer] Fetching data.pkg: ..
- ......
- .. done
- Processing entries: 
- .
- ..
- .
- ..
- ..
- .
- . done
- FreeBSD repository update completed. 34082 packages processed.
- All repositories are up to date.
- The following 1 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	gmp: 6.3.0
- 
- Number of packages to be installed: 1
- 
- The process will require 3 MiB more space.
- 498 KiB to be downloaded.
- [summer] [1/1] Fetching gmp-6.3.0.pkg: .
- ......... done
- Checking integrity... done (0 conflicting)
- [summer] [1/1] Installing gmp-6.3.0...
- [summer] [1/1] Extracting gmp-6.3.0: .......... done
2024-06-24 20:02.26 ---> saved as "dc7a5d909d3903da22aada3c03340a687ea07022267847a78346a9b87c73a39b"


/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.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 conf-which        1
   install conf-gmp          4
   install dune              3.16.0
   install ocamlfind         1.9.6
   install stdlib-shims      0.3.0
   install csexp             1.5.2
   install cppo              1.6.9
   install bigarray-compat   1.1.0
   install zarith            1.13
   install integers          0.7.0
   install dune-configurator 3.16.0
   install ctypes            0.22.0
=====  12 =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved conf-gmp.4  (cached)
 retrieved csexp.1.5.2  (cached)
 installed conf-which.1
 retrieved cppo.1.6.9  (cached)
 retrieved ctypes.0.22.0  (cached)
 retrieved dune.3.16.0  (cached)
 retrieved integers.0.7.0  (cached)
 retrieved dune-configurator.3.16.0  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved zarith.1.13  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 installed conf-gmp.4
 retrieved bigarray-compat.1.1.0  (cached)
 installed ocamlfind.1.9.6
 installed zarith.1.13
 installed dune.3.16.0
 installed bigarray-compat.1.1.0
 installed stdlib-shims.0.3.0
 installed csexp.1.5.2
 installed cppo.1.6.9
 installed integers.0.7.0
 installed dune-configurator.3.16.0
 installed ctypes.0.22.0
Done.
2024-06-24 20:06.09 ---> saved as "0df7a79a6ede2a580e740443367fc582f9d8ff2a55ed3de3ad5b8617d19523b1"


/src: (copy (src .) (dst /src))
2024-06-24 20:06.11 ---> saved as "b44e0b634c49efa149667942c8ecf4842678f397aa1fe6e6c3de386123f3713f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/raw && ./configure)
... detected x64 platform
...  supports compilation of 128-bit and 256-bit AVX/AVX2
...  supports vale
... not using known buggy Apple LLVM build
...  supports our inline ASM
... using a non-buggy GCC
 supports _addcarry_u64
 does not support x64 assembly, disabling Curve64
 does not support legacy vale stubs
... found ocamlfind in /home/opam/.opam/5.2.0/bin/ocamlfind
... found ctypes in /home/opam/.opam/5.2.0/lib/ctypes
File "dune.inc", lines 183-551, characters 0-18359:
183 | (rule
184 |  (deps
185 |   (source_tree raw)
.....
549 |     (copy raw/libevercrypt_c_stubs.a libevercrypt_c_stubs.a)
550 |     (copy raw/dllevercrypt_c_stubs.so dllevercrypt_c_stubs.so)
551 |     ))))
(cd _build/default/raw && /usr/bin/make -j 8)
make: stopped in /src/_build/default/raw
make: "/src/_build/default/raw/Makefile" line 26: Invalid line type
make: "/src/_build/default/raw/Makefile" line 28: Invalid line type
make: "/src/_build/default/raw/Makefile" line 39: Invalid line type
make: "/src/_build/default/raw/Makefile" line 42: Invalid line type
make: "/src/_build/default/raw/Makefile" line 46: Invalid line type
make: "/src/_build/default/raw/Makefile" line 53: Invalid line type
make: "/src/_build/default/raw/Makefile" line 57: Invalid line type
make: "/src/_build/default/raw/Makefile" line 64: Invalid line type
make: "/src/_build/default/raw/Makefile" line 66: Invalid line type
make: "/src/_build/default/raw/Makefile" line 72: Invalid line type
make: "/src/_build/default/raw/Makefile" line 75: Invalid line type
make: "/src/_build/default/raw/Makefile" line 77: Invalid line type
make: "/src/_build/default/raw/Makefile" line 79: Invalid line type
make: "/src/_build/default/raw/Makefile" line 81: Invalid line type
make: "/src/_build/default/raw/Makefile" line 84: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 10: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 11: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 12: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 19: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 21: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 23: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 27: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 29: Invalid line type
make: "/src/_build/default/raw/Makefile.basic" line 53: Could not find 
make: "/src/_build/default/raw/Makefile" line 112: Invalid line type
make: "/src/_build/default/raw/Makefile" line 113: Invalid line type
make: "/src/_build/default/raw/Makefile" line 176: Invalid line type
make: "/src/_build/default/raw/Makefile" line 178: Invalid line type
make: "/src/_build/default/raw/Makefile" line 180: Invalid line type
make: "/src/_build/default/raw/Makefile" line 182: Invalid line type
make: "/src/_build/default/raw/Makefile" line 227: Invalid line type
make: "/src/_build/default/raw/Makefile" line 228: Invalid line type
make: Fatal errors encountered -- cannot continue
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-gmp.4 conf-which.1 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 stdlib-shims.0.3.0 zarith.1.13' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_58868_800" "mount.devfs" "path=/obuilder/result/49601e0630d453c5f442fa964b6141f457e9337f8785c77bb44db573ab01389b/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-gmp.4 conf-which.1 cppo.1.6.9 csexp.1.5.2 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 stdlib-shims.0.3.0 zarith.1.13' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2024-06-24 20:13.37: Job failed: Failed: Build failed