Building on spring (from freebsd) 2023-11-24 10:30.05 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam")) 2023-11-24 10:30.06 ---> using "a2b22593046b56fadc85e22b0da7b84e903c1f5aa4d42a7c481121ceec28b31f" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 94fc188d337b3ff337b5f8eea1b8560bad2fcf0e")) 2023-11-24 10:30.06 ---> using "00ee7cfc6c2da01eb8ed751c04bbe83c07b7aff680e0886a3fd728991839e379" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) 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. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: /usr/home/opam/.profile is already up-to-date. [NOTE] Make sure that /usr/home/opam/.profile is well sourced in your ~/.bashrc. 2023-11-24 10:30.06 ---> using "88d2b248adeda718ed121b75ef51c509d93af9c36c1fababf59282029bdf788c" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14.1' 'ocaml-base-compiler.4.14.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.1 (https://github.com/ocaml/ocaml/archive/4.14.1.tar.gz) -> installed ocaml-base-compiler.4.14.1 -> installed ocaml-config.2 -> installed ocaml.4.14.1 Done. # Run eval $(opam env --switch=4.14.1) to update the current shell environment 2023-11-24 10:30.07 ---> using "2e71e6e9c89f6f4ac01fe27d02363a7b07f4cc0716801eda76cd63d550f88c21" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2023-11-24 10:30.07 ---> using "3ce8092035408b640cafda28e059d06b5ab6222329e0dba52e6469dacf768128" from cache /: (env OCAMLPARAM warn-error=+8,_) /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"kqueue.0.3.0\"\ \nopam install -vy \"kqueue.0.3.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"kqueue.0.3.0\" | grep -q '\"freebsd\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] kqueue.0.3.0 is not installed. Nothing to do. The following actions will be performed: === install 12 packages - install base v0.16.3 [required by ppx_optcomp] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.11.1 [required by kqueue] - install dune-configurator 3.11.1 [required by base] - install kqueue 0.3.0 - install ocaml-compiler-libs v0.12.4 [required by ppxlib] - install ppx_derivers 1.2.1 [required by ppxlib] - install ppx_optcomp v0.16.0 [required by kqueue] - install ppxlib 0.31.0 [required by ppx_optcomp] - install sexplib0 v0.16.0 [required by base, ppxlib] - install stdio v0.16.0 [required by ppx_optcomp] - install stdlib-shims 0.3.0 [required by ppxlib] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/35: Processing 2/35: Processing 3/35: -> retrieved csexp.1.5.2 (cached) Processing 4/35: [kqueue.0.3.0: http] -> retrieved base.v0.16.3 (cached) Processing 5/35: [kqueue.0.3.0: http] Processing 5/35: -> retrieved ocaml-compiler-libs.v0.12.4 (cached) Processing 6/35: -> retrieved kqueue.0.3.0 (https://github.com/anuragsoni/kqueue-ml/releases/download/0.3.0/kqueue-0.3.0.tbz) Processing 7/35: -> retrieved ppx_derivers.1.2.1 (cached) Processing 8/35: -> retrieved ppx_optcomp.v0.16.0 (cached) Processing 9/35: -> retrieved sexplib0.v0.16.0 (cached) Processing 10/35: -> retrieved stdio.v0.16.0 (cached) Processing 11/35: -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved ppxlib.0.31.0 (cached) -> retrieved dune.3.11.1, dune-configurator.3.11.1 (cached) Processing 12/35: [dune: ocaml 7] + /usr/home/opam/.opam/4.14.1/bin/ocaml "boot/bootstrap.ml" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.11.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 7 - Processing 12/35: [dune: ./_boot/dune.exe build] + /usr/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.11.1/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.11.1) -> compiled dune.3.11.1 -> installed dune.3.11.1 Processing 14/35: [csexp: dune build] Processing 15/35: [csexp: dune build] [ocaml-compiler-libs: dune build] Processing 16/35: [csexp: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] Processing 17/35: [csexp: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] Processing 18/35: [csexp: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] [stdlib-shims: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "ppx_derivers" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ppx_derivers.1.2.1) -> compiled ppx_derivers.1.2.1 Processing 18/35: [csexp: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] -> installed ppx_derivers.1.2.1 Processing 19/35: [csexp: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "csexp" "-j" "7" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 19/35: [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 20/35: [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] Processing 21/35: [dune-configurator: rm] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "stdlib-shims" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 21/35: [dune-configurator: rm] [ocaml-compiler-libs: dune build] [sexplib0: dune build] -> installed stdlib-shims.0.3.0 Processing 22/35: [dune-configurator: rm] [ocaml-compiler-libs: dune build] [sexplib0: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "sexplib0" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/sexplib0.v0.16.0) -> compiled sexplib0.v0.16.0 Processing 22/35: [dune-configurator: rm] [ocaml-compiler-libs: dune build] -> installed sexplib0.v0.16.0 Processing 23/35: [dune-configurator: rm] [ocaml-compiler-libs: dune build] + /bin/rm "-rf" "vendor/csexp" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.11.1) + /bin/rm "-rf" "vendor/pp" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.11.1) Processing 23/35: [dune-configurator: dune build] [ocaml-compiler-libs: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "ocaml-compiler-libs" "-j" "7" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ocaml-compiler-libs.v0.12.4) -> compiled ocaml-compiler-libs.v0.12.4 Processing 23/35: [dune-configurator: dune build] -> installed ocaml-compiler-libs.v0.12.4 Processing 24/35: [dune-configurator: dune build] Processing 25/35: [dune-configurator: dune build] [ppxlib: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "dune-configurator" "-j" "7" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.11.1) -> compiled dune-configurator.3.11.1 Processing 25/35: [ppxlib: dune build] -> installed dune-configurator.3.11.1 Processing 26/35: [ppxlib: dune build] Processing 27/35: [base: dune build] [ppxlib: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "base" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/base.v0.16.3) -> compiled base.v0.16.3 Processing 27/35: [ppxlib: dune build] -> installed base.v0.16.3 Processing 28/35: [ppxlib: dune build] Processing 29/35: [ppxlib: dune build] [stdio: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "stdio" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/stdio.v0.16.0) -> compiled stdio.v0.16.0 Processing 29/35: [ppxlib: dune build] -> installed stdio.v0.16.0 Processing 30/35: [ppxlib: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "ppxlib" "-j" "7" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ppxlib.0.31.0) -> compiled ppxlib.0.31.0 -> installed ppxlib.0.31.0 Processing 32/35: [ppx_optcomp: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "ppx_optcomp" "-j" "7" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ppx_optcomp.v0.16.0) -> compiled ppx_optcomp.v0.16.0 -> installed ppx_optcomp.v0.16.0 Processing 34/35: [kqueue: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "kqueue" "-j" "7" "--promote-install-files=false" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/kqueue.0.3.0) - File "lib/dune", line 6, characters 9-21: - 6 | (names kqueue_stubs)) - ^^^^^^^^^^^^ - (cd _build/default/lib && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /usr/home/opam/.opam/4.14.1/lib/ocaml -o kqueue_stubs.o -c kqueue_stubs.c) - kqueue_stubs.c:130:36: error: use of undeclared identifier 'NOTE_OOB' - Kqueue_constant(kqueue_note_oob, NOTE_OOB) - ^ - kqueue_stubs.c:141:39: error: use of undeclared identifier 'NOTE_SIGNAL' - Kqueue_constant(kqueue_note_signal, NOTE_SIGNAL) - ^ - 2 errors generated. [ERROR] The compilation of kqueue.0.3.0 failed at "dune build -p kqueue -j 7 --promote-install-files=false @install". #=== ERROR while compiling kqueue.0.3.0 =======================================# # context 2.2.0~alpha3~dev | freebsd/x86_64 | ocaml-base-compiler.4.14.1 | file:///usr/home/opam/opam-repository # path /usr/home/opam/.opam/4.14.1/.opam-switch/build/kqueue.0.3.0 # command /usr/home/opam/.opam/4.14.1/bin/dune build -p kqueue -j 7 --promote-install-files=false @install # exit-code 1 # env-file /usr/home/opam/.opam/log/kqueue-16480-92a337.env # output-file /usr/home/opam/.opam/log/kqueue-16480-92a337.out ### output ### # File "lib/dune", line 6, characters 9-21: # 6 | (names kqueue_stubs)) # ^^^^^^^^^^^^ # (cd _build/default/lib && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /usr/home/opam/.opam/4.14.1/lib/ocaml -o kqueue_stubs.o -c kqueue_stubs.c) # kqueue_stubs.c:130:36: error: use of undeclared identifier 'NOTE_OOB' # Kqueue_constant(kqueue_note_oob, NOTE_OOB) # ^ # kqueue_stubs.c:141:39: error: use of undeclared identifier 'NOTE_SIGNAL' # Kqueue_constant(kqueue_note_signal, NOTE_SIGNAL) # ^ # 2 errors generated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build kqueue 0.3.0 +- +- The following changes have been performed | - install base v0.16.3 | - install csexp 1.5.2 | - install dune 3.11.1 | - install dune-configurator 3.11.1 | - install ocaml-compiler-libs v0.12.4 | - install ppx_derivers 1.2.1 | - install ppx_optcomp v0.16.0 | - install ppxlib 0.31.0 | - install sexplib0 v0.16.0 | - install stdio v0.16.0 | - install stdlib-shims 0.3.0 +- The former state can be restored with: /usr/local/bin/opam switch import "/usr/home/opam/.opam/4.14.1/.opam-switch/backup/state-20231124103016.export" 'opam install -vy kqueue.0.3.0' failed. jail: /usr/bin/su -l opam -c cd '/' && env OCAMLPARAM='warn-error=+8,_' OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "kqueue.0.3.0" opam install -vy "kqueue.0.3.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "kqueue.0.3.0" | grep -q '\''"freebsd"'\''; then echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field." exit 69 fi fi exit $res ': failed "jail" "-c" "name=obuilder_42623_8919" "mount.fstab=/tmp/obuilder-jail-71caf9/fstab" "mount.devfs" "path=/obuilder/result/369152390ade118c80ce92b68f0199589df098cc3e21791ea6859a8535ff9031/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/' && env OCAMLPARAM='warn-error=+8,_' OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "kqueue.0.3.0" opam install -vy "kqueue.0.3.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "kqueue.0.3.0" | grep -q '\''"freebsd"'\''; then echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field." exit 69 fi fi exit $res '" failed with exit status 1 Failed: Build failed