0.091s:+ fetch -o orb.pkg 'https://builds.robur.coop/job/orb/build/latest/f/bin/orb.pkg?platform=freebsd-12' 3.280s:orb.pkg 3404 kB 1388 kBps 02s 3.280s:+ pkg install -y orb.pkg 3.280s:Updating poudriere repository catalogue... 3.280s:pkg: No SRV record found for the repo 'poudriere' 3.280s:poudriere repository is up to date. 3.280s:All repositories are up to date. 3.320s:The following 7 package(s) will be affected (of 0 checked): 3.320s: 3.320s:New packages to be INSTALLED: 3.320s: bash: 5.2.26_1 3.320s: curl: 8.6.0 3.320s: expat: 2.6.1 3.320s: git: 2.44.0 3.320s: gmake: 4.4.1 3.320s: orb: 0.0.2.18.g232dbb8 3.320s: patch: 2.7.6_2 3.320s: 3.320s:Number of packages to be installed: 7 3.320s: 3.320s:The process will require 45 MiB more space. 3.320s:6 MiB to be downloaded. 3.320s:[orbc.orb] [1/7] Fetching patch-2.7.6_2.pkg: .. done 3.320s:[orbc.orb] [2/7] Fetching gmake-4.4.1.pkg: .... done 3.320s:[orbc.orb] [3/7] Fetching curl-8.6.0.pkg: ....... done 3.360s:[orbc.orb] [4/7] Fetching bash-5.2.26_1.pkg: . done 3.401s:[orbc.orb] [5/7] Fetching expat-2.6.1.pkg: . done 3.440s:[orbc.orb] [6/7] Fetching git-2.44.0.pkg: .... done 3.571s:Checking integrity... done (0 conflicting) 3.571s:[orbc.orb] [7/7] Installing curl-8.6.0... 3.838s:[orbc.orb] Extracting curl-8.6.0: .......... done 3.958s:[orbc.orb] [1/7] Installing expat-2.6.1... 3.958s:[orbc.orb] [1/7] Extracting expat-2.6.1: .......... done 4.001s:[orbc.orb] [2/7] Installing patch-2.7.6_2... 4.041s:[orbc.orb] [2/7] Extracting patch-2.7.6_2: ..... done 4.041s:[orbc.orb] [3/7] Installing gmake-4.4.1... 4.080s:[orbc.orb] [3/7] Extracting gmake-4.4.1: .......... done 4.121s:[orbc.orb] [4/7] Installing bash-5.2.26_1... 4.281s:[orbc.orb] [4/7] Extracting bash-5.2.26_1: .......... done 4.281s:[orbc.orb] [5/7] Installing git-2.44.0... 4.320s:===> Creating groups. 4.320s:Creating group 'git_daemon' with gid '964'. 4.320s:===> Creating users 4.320s:Creating user 'git_daemon' with uid '964'. 5.020s:[orbc.orb] [5/7] Extracting git-2.44.0: .......... done 5.060s:[orbc.orb] [6/7] Installing orb-0.0.2.18.g232dbb8... 5.611s:[orbc.orb] [6/7] Extracting orb-0.0.2.18.g232dbb8: .. done 5.700s:===== 5.700s:Message from git-2.44.0: 5.700s: 5.700s:-- 5.700s:If you installed the GITWEB option please follow these instructions: 5.700s: 5.700s:In the directory /usr/local/share/examples/git/gitweb you can find all files to 5.700s:make gitweb work as a public repository on the web. 5.700s: 5.700s:All you have to do to make gitweb work is: 5.700s:1) Please be sure you're able to execute CGI scripts in 5.700s: /usr/local/share/examples/git/gitweb. 5.700s:2) Set the GITWEB_CONFIG variable in your webserver's config to 5.700s: /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi. 5.700s:3) Restart server. 5.700s: 5.700s: 5.700s:If you installed the CONTRIB option please note that the scripts are 5.700s:installed in /usr/local/share/git-core/contrib. Some of them require 5.700s:other ports to be installed (perl, python, etc), which you may need to 5.700s:install manually. 5.700s:+ rm orb.pkg 5.700s:+ repos=default:https://opam.robur.coop,unikernels:https://git.robur.coop/robur/unikernel-repo.git 5.700s:+ orb build --cache https://opam.robur.coop/cache '--solver-timeout=600' '--switch-name=/tmp/myswitch' '--date=1589138087' '--out=.' '--repos=default:https://opam.robur.coop,unikernels:https://git.robur.coop/robur/unikernel-repo.git' mirage-unikernel-smtp-spamfilter-hvt 5.700s:[WARNING] /tmp exists and is not empty 5.700s:Proceed? [Y/n] y 5.700s: 5.700s:<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> 5.738s:[empty] Initialised 5.950s:[ORB] using root "/tmp" and switch "myswitch" 6.480s:[unikernels] Initialised 18.602s:[default] Initialised 51.838s:[ORB] Switch myswitch created! 52.687s:[ORB] installing dependencies 52.687s:[ORB] Install start 53.217s:[ORB] Install mirage-unikernel-smtp-spamfilter-hvt 68.291s:The following actions will be performed: 68.291s: - install ocaml-options-vanilla 1 68.291s: - install base-unix base 68.291s: - install ocaml-base-compiler 4.14.2 68.291s: - install conf-pkg-config 3 68.291s: - install base-bigarray base 68.291s: - install solo5 0.7.5 68.291s: - install base-threads base 68.291s: - install conf-which 1 68.291s: - install ocaml-config 2 68.291s: - install ocaml 4.14.2 68.291s: - install ocamlfind 1.9.6 68.291s: - install ocamlbuild 0.14.3 68.291s: - install ocaml-src 4.14.2 68.291s: - install dune 3.15.0 68.291s: - install cmdliner 1.2.0 68.291s: - install base-bytes base 68.291s: - install topkg 1.0.7 68.291s: - install ocaml-solo5 0.8.3 68.291s: - install stringext 1.6.0 68.291s: - install result 1.5 68.291s: - install pecu 0.7 68.291s: - install opam-monorepo 0.4.0 68.291s: - install ocaml-syntax-shims 1.0.0 68.291s: - install macaddr 5.5.0 68.291s: - install domain-name 0.4.0 68.291s: - install csexp 1.5.2 68.291s: - install cppo 1.6.9 68.291s: - install base64 3.5.1 68.291s: - install functoria-runtime 4.4.2 68.291s: - install uutf 1.0.3 68.291s: - install rresult 0.7.0 68.291s: - install fmt 0.9.0 68.291s: - install astring 0.8.5 68.291s: - install ipaddr 5.5.0 68.291s: - install dune-configurator 3.15.0 68.291s: - install ocplib-endian 1.2 68.291s: - install fpath 0.7.3 68.291s: - install bigstringaf 0.9.1 68.291s: - install lwt 5.7.0 68.291s: - install angstrom 0.16.0 68.291s: - install logs 0.7.0 68.291s: - install uri 4.4.0 68.291s: - install emile 1.1 68.291s: - install mirage-runtime 4.4.2 68.291s: - install bos 0.2.1 68.291s: - install functoria 4.4.2 68.291s: - install mirage 4.4.2 68.291s:===== 47 to install ===== 68.292s: 68.292s:The following system packages will first need to be installed: 68.292s: pkgconf 68.292s: 68.292s:<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> 68.292s:Let opam run your package manager to install the required system packages? 68.292s:(answer 'n' for other options) [Y/n] y 68.292s:+ /usr/local/sbin/pkg "install" "-y" "pkgconf" 68.440s:- Updating poudriere repository catalogue... 68.440s:- pkg: No SRV record found for the repo 'poudriere' 68.440s:- poudriere repository is up to date. 68.440s:- All repositories are up to date. 68.440s:- The following 1 package(s) will be affected (of 0 checked): 68.440s:- 68.440s:- New packages to be INSTALLED: 68.440s:- pkgconf: 2.1.1,1 68.440s:- 68.440s:- Number of packages to be installed: 1 68.440s:- 68.440s:- 75 KiB to be downloaded. 68.440s:- [orbc.orb] [1/1] Fetching pkgconf-2.1.1,1.pkg: ... done 68.440s:- Checking integrity... done (0 conflicting) 68.440s:- [orbc.orb] [1/1] Installing pkgconf-2.1.1,1... 68.440s:- [orbc.orb] [1/1] Extracting pkgconf-2.1.1,1: .......... done 68.440s: 68.440s:<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> 81.088s:-> installed base-bigarray.base 81.088s:-> installed base-threads.base 81.088s:-> installed base-unix.base 81.170s:-> retrieved base64.3.5.1 (https://opam.robur.coop/cache) 81.170s:-> retrieved astring.0.8.5 (https://opam.robur.coop/cache) 81.250s:-> retrieved angstrom.0.16.0 (https://opam.robur.coop/cache) 81.450s:-> retrieved bigstringaf.0.9.1 (https://opam.robur.coop/cache) 81.450s:-> installed conf-pkg-config.3 81.450s:-> installed conf-which.1 81.730s:-> retrieved bos.0.2.1 (https://opam.robur.coop/cache) 81.730s:-> retrieved cmdliner.1.2.0 (https://opam.robur.coop/cache) 81.891s:-> retrieved cppo.1.6.9 (https://opam.robur.coop/cache) 82.177s:-> retrieved csexp.1.5.2 (https://opam.robur.coop/cache) 82.177s:-> retrieved domain-name.0.4.0 (https://opam.robur.coop/cache) 82.850s:-> retrieved emile.1.1 (https://opam.robur.coop/cache) 83.251s:-> retrieved fmt.0.9.0 (https://opam.robur.coop/cache) 83.832s:-> retrieved fpath.0.7.3 (https://opam.robur.coop/cache) 84.558s:-> retrieved functoria.4.4.2 (https://opam.robur.coop/cache) 84.798s:-> retrieved functoria-runtime.4.4.2 (cached) 85.078s:-> retrieved ipaddr.5.5.0 (https://opam.robur.coop/cache) 90.088s:-> retrieved dune.3.15.0 (https://opam.robur.coop/cache) 90.167s:-> retrieved logs.0.7.0 (https://opam.robur.coop/cache) 90.207s:-> retrieved macaddr.5.5.0 (cached) 90.448s:-> retrieved mirage.4.4.2 (cached) 90.780s:-> retrieved mirage-runtime.4.4.2 (cached) 91.387s:-> retrieved lwt.5.7.0 (https://opam.robur.coop/cache) 91.387s:-> installed ocaml-options-vanilla.1 92.548s:-> retrieved ocaml-solo5.0.8.3 (https://opam.robur.coop/cache) 95.590s:-> retrieved dune-configurator.3.15.0 (https://opam.robur.coop/cache) 96.271s:-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.robur.coop/cache) 97.440s:-> retrieved ocamlbuild.0.14.3 (https://opam.robur.coop/cache) 98.138s:-> retrieved ocamlfind.1.9.6 (https://opam.robur.coop/cache) 98.540s:-> retrieved ocplib-endian.1.2 (https://opam.robur.coop/cache) 100.690s:-> retrieved ocaml-base-compiler.4.14.2 (https://opam.robur.coop/cache) 101.678s:-> retrieved pecu.0.7 (https://opam.robur.coop/cache) 102.638s:-> retrieved result.1.5 (https://opam.robur.coop/cache) 103.228s:-> retrieved rresult.0.7.0 (https://opam.robur.coop/cache) 104.887s:-> retrieved solo5.0.7.5 (https://opam.robur.coop/cache) 105.680s:-> retrieved stringext.1.6.0 (https://opam.robur.coop/cache) 106.529s:-> retrieved topkg.1.0.7 (https://opam.robur.coop/cache) 107.747s:-> retrieved uri.4.4.0 (https://opam.robur.coop/cache) 108.228s:-> retrieved uutf.1.0.3 (https://opam.robur.coop/cache) 111.487s:-> retrieved ocaml-src.4.14.2 (https://opam.robur.coop/cache) 115.547s:-> retrieved opam-monorepo.0.4.0 (https://opam.robur.coop/cache) 136.607s:-> installed solo5.0.7.5 259.330s:-> installed ocaml-base-compiler.4.14.2 259.330s:-> installed ocaml-config.2 259.420s:-> installed ocaml.4.14.2 266.470s:-> installed ocaml-src.4.14.2 266.817s:-> installed cmdliner.1.2.0 270.677s:-> installed ocamlfind.1.9.6 271.737s:-> installed base-bytes.base 276.568s:-> installed ocamlbuild.0.14.3 284.697s:-> installed topkg.1.0.7 286.019s:-> installed rresult.0.7.0 286.957s:-> installed uutf.1.0.3 287.607s:-> installed fmt.0.9.0 288.009s:-> installed astring.0.8.5 289.497s:-> installed fpath.0.7.3 304.427s:-> installed dune.3.15.0 308.678s:-> installed functoria-runtime.4.4.2 311.968s:-> installed domain-name.0.4.0 312.688s:-> installed ocaml-syntax-shims.1.0.0 312.998s:-> installed macaddr.5.5.0 313.859s:-> installed csexp.1.5.2 327.997s:-> installed pecu.0.7 328.127s:-> installed ipaddr.5.5.0 328.127s:-> installed result.1.5 328.167s:-> installed cppo.1.6.9 328.827s:-> installed base64.3.5.1 329.287s:-> installed stringext.1.6.0 330.467s:-> installed ocplib-endian.1.2 333.437s:-> installed dune-configurator.3.15.0 335.478s:-> installed bigstringaf.0.9.1 337.838s:-> installed angstrom.0.16.0 339.817s:-> installed emile.1.1 342.609s:-> installed uri.4.4.0 348.897s:-> installed lwt.5.7.0 352.537s:-> installed logs.0.7.0 353.241s:-> installed mirage-runtime.4.4.2 354.021s:-> installed opam-monorepo.0.4.0 356.467s:-> installed bos.0.2.1 359.787s:-> installed functoria.4.4.2 362.742s:-> installed mirage.4.4.2 369.090s:-> installed ocaml-solo5.0.8.3 383.030s:Done. 383.030s:# Run eval $(opam env --switch=myswitch) to update the current shell environment 383.030s:[ORB] Installed mirage-unikernel-smtp-spamfilter-hvt 423.257s:[ORB] installed dependencies 425.250s:-> retrieved mirage-unikernel-smtp-spamfilter-hvt.0.0.1 (git+https://github.com/mirage/ptt.git) 426.550s:[mirage-overlays] Initialised 427.000s:[opam-overlays] Initialised 428.700s:# Run eval $(opam env) to update the current shell environment 428.700s:+ cd unikernel/spamfilter/ 428.700s:+ mirage configure -t hvt --context ./mirage/context --no-extra-repo 429.510s:gmake: Entering directory '/tmp/orb-build/unikernel/spamfilter' 429.510s:gmake[1]: Entering directory '/tmp/orb-build/unikernel/spamfilter' 429.510s: ↳ generate lockfile for monorepo dependencies 429.510s:==> Using 1 locally scanned package as the target. 463.681s:==> Found 160 opam dependencies for the target package. 463.681s:==> Querying opam database for their metadata and Dune compatibility. 472.667s:==> Calculating exact pins for each of them. 474.417s:==> Wrote lockfile with 114 entries to mirage/spamfilter-hvt.opam.locked. You can now run opam monorepo pull to fetch their sources. 474.417s:gmake[1]: Leaving directory '/tmp/orb-build/unikernel/spamfilter' 474.417s:echo " ↳ install external dependencies for monorepo" 474.459s: ↳ install external dependencies for monorepo 474.459s:env OPAMVAR_monorepo="opam-monorepo" opam monorepo depext -y -l mirage/spamfilter-hvt.opam.locked 474.459s:==> Using lockfile mirage/spamfilter-hvt.opam.locked 474.500s: ↳ fetch monorepo dependencies in the duniverse folder 474.500s:==> Using lockfile mirage/spamfilter-hvt.opam.locked 532.207s:Successfully pulled 113/113 repositories 542.427s:gmake: Leaving directory '/tmp/orb-build/unikernel/spamfilter' 542.910s:[ORB] now building mirage-unikernel-smtp-spamfilter-hvt.0.0.1 633.177s:[ERROR] The compilation of mirage-unikernel-smtp-spamfilter-hvt.0.0.1 failed at "sh -exc cd unikernel/spamfilter/ && mirage build". 633.177s: 633.177s:#=== ERROR while compiling mirage-unikernel-smtp-spamfilter-hvt.0.0.1 =========# 633.177s:# context 2.1.5 | freebsd/x86_64 | | git+https://git.robur.coop/robur/unikernel-repo.git 633.177s:# path /tmp/orb-build 633.177s:# command /bin/sh -exc cd unikernel/spamfilter/ && mirage build 633.177s:# exit-code 1 633.177s:# env-file /tmp/opam-root-46538/mirage-unikernel-smtp-spamfilter-hvt-46538-161c3a.env 633.177s:# output-file /tmp/opam-root-46538/mirage-unikernel-smtp-spamfilter-hvt-46538-161c3a.out 633.177s:### output ### 633.178s:# + cd unikernel/spamfilter/ 633.178s:# + mirage build 633.178s:# ocamlfind -toolchain solo5 ocamlopt -c -o clock_stubs.o clock_stubs.c 633.178s:# ocamlfind -toolchain solo5 ocamlopt -c -o mm_stubs.o mm_stubs.c 633.178s:# ocamlfind -toolchain solo5 ocamlopt -c -o main.o main.c 633.178s:# ar r libmirage-solo5_bindings.a clock_stubs.o mm_stubs.o main.o 633.178s:# ar: warning: creating libmirage-solo5_bindings.a 633.178s:# File "duniverse/colombe/sendmail/tls_io.ml", line 72, characters 11-44: 633.178s:# 72 | | Ok (res, `Response resp, `Data data) -> 633.178s:# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 633.178s:# Error: This pattern matches values of type 'a * 'b * 'c 633.178s:# but a pattern was expected which matches values of type 633.178s:# Tls.Engine.state * [ `Eof ] option * 633.178s:# [ `Response of Cstruct.t option ] * [ `Data of Cstruct.t option ] 633.178s:# binary ocaml: found in /tmp/myswitch/bin 633.178s:# binary ocamlc: found in /tmp/myswitch/bin 633.178s:# binary ocamldep: found in /tmp/myswitch/bin 633.178s:# binary ocamlmklib: found in /tmp/myswitch/bin 633.178s:# binary ocamldoc: found in /tmp/myswitch/bin 633.178s:# binary cc: found in /usr/bin 633.178s:# binary ocamlopt: found in /tmp/myswitch/bin 633.178s:# checking compilation with -I/tmp/orb-build/unikernel/spamfilter/_build/default/duniverse/Zarith/../../../install/default/lib/gmp/: working 633.178s:# include caml/mlvalues.h: found 633.178s:# library dynlink.cmxa: found 633.178s:# binary ocamlfind: found in /tmp/myswitch/bin 633.178s:# OCaml's word size is 64 633.178s:# package gmp: found 633.178s:# OCaml supports -bin-annot to produce documentation 633.178s:# 633.178s:# detected configuration: 633.178s:# 633.178s:# native-code: yes 633.178s:# dynamic linking: yes 633.178s:# defines: -DHAS_GMP 633.178s:# includes: -I/tmp/myswitch/lib/ocaml -I/tmp/orb-build/unikernel/spamfilter/_build/default/duniverse/Zarith/../../../install/default/lib/gmp/ -I/usr/local/include 633.178s:# libraries: -L/usr/local/lib -lgmp 633.178s:# linker options: -L/tmp/orb-build/unikernel/spamfilter/_build/default/duniverse/Zarith/../../../install/default/lib/gmp/ 633.178s:# C options: -I/tmp/orb-build/unikernel/spamfilter/_build/default/duniverse/Zarith/../../../install/default/lib/gmp/ 633.178s:# installation path: /tmp/myswitch/lib 633.178s:# installation method findlib 633.178s:# 633.178s:# configuration successful! 633.178s:# now type "make" to build 633.178s:# then type "make install" or "sudo make install" to install 633.178s:# configure: WARNING: using cross tools not prefixed with host triplet 633.178s:# configure: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok 633.178s:# binary ocaml: found in /tmp/myswitch/bin 633.178s:# binary ocamlc: found in /tmp/myswitch/bin 633.178s:# binary ocamldep: found in /tmp/myswitch/bin 633.178s:# binary ocamlmklib: found in /tmp/myswitch/bin 633.178s:# binary ocamldoc: found in /tmp/myswitch/bin 633.178s:# binary x86_64-solo5-none-static-cc: found in /tmp/myswitch/bin 633.178s:# binary ocamlopt: found in /tmp/myswitch/bin 633.178s:# checking compilation with -I/tmp/orb-build/unikernel/spamfilter/_build/solo5/duniverse/Zarith/../../../install/solo5/lib/gmp/: working 633.178s:# include caml/mlvalues.h: found 633.178s:# library dynlink.cmxa: found 633.178s:# binary ocamlfind: found in /tmp/myswitch/bin 633.178s:# OCaml's word size is 64 633.178s:# package gmp: found 633.178s:# OCaml supports -bin-annot to produce documentation 633.178s:# 633.178s:# detected configuration: 633.178s:# 633.178s:# native-code: yes 633.178s:# dynamic linking: yes 633.178s:# defines: -DHAS_GMP 633.178s:# includes: -I/tmp/myswitch/solo5-sysroot/lib/ocaml -I/tmp/orb-build/unikernel/spamfilter/_build/solo5/duniverse/Zarith/../../../install/solo5/lib/gmp/ -I/usr/local/include 633.178s:# libraries: -L/usr/local/lib -lgmp 633.178s:# linker options: -L/tmp/orb-build/unikernel/spamfilter/_build/solo5/duniverse/Zarith/../../../install/solo5/lib/gmp/ 633.178s:# C options: -I/tmp/orb-build/unikernel/spamfilter/_build/solo5/duniverse/Zarith/../../../install/solo5/lib/gmp/ 633.178s:# installation path: /tmp/myswitch/lib 633.178s:# installation method findlib 633.179s:# 633.179s:# configuration successful! 633.179s:# now type "make" to build 633.179s:# then type "make install" or "sudo make install" to install 633.179s:# extract-from-certdata: [WARNING] Untrusted certificate "Explicitly Distrust DigiNotar Root CA" (serial 02100fffffffffffffffffffffffffffffff) 633.179s: 633.179s:[ORB] failed to build package mirage-unikernel-smtp-spamfilter-hvt.0.0.1: "/bin/sh -exc cd unikernel/spamfilter/ && mirage build" exited with code 1 "Error: This pattern matches values of type 'a * 'b * 'c" 636.440s:[ORB] cleaning up 644.837s:[ORB] Switch myswitch removed