Building on rosemary (from freebsd) 2025-08-04 13:08.46 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam")) 2025-08-04 13:08.47 ---> using "7afea9128a2830beedf345f0b46af5484579ebada7710165f445c6c5b18563a9" 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 906e75de03e24cb3c6bc68c71156a6dab70c1fa4")) 2025-08-04 13:08.48 ---> using "5241093af733962f2794564d2d3ad622acdee88b54f3aa41d94014c57f0eaeeb" 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: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2025-08-04 13:08.49 ---> using "e41ba047a44b5db1d07b28cfb21a101c0c390ab24e106380f80995b1ff8cbf4d" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14.2' 'ocaml-base-compiler.4.14.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-base-compiler.4.14.2 (https://github.com/ocaml/ocaml/archive/4.14.2.tar.gz) -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.2 -> installed ocaml.4.14.2 Done. # To update the current shell environment, run: eval $(opam env --switch=4.14.2) 2025-08-04 13:08.50 ---> using "6b7068eab2827097f8bd23e22c6347ff54bd2c8489e7b5a006a2b7f531387b4d" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2025-08-04 13:08.51 ---> using "3af07a3b1781e86b750eef5ef7058117fcacd2a9be95f8e4825df00cd86ee99f" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove -y atds.2.16.0\ \nopam install -vy atds.2.16.0\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: atds.2.16.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")) [NOTE] atds.2.16.0 is not installed. Nothing to do. The following actions will be performed: === install 12 packages - install atd 2.16.0 [required by atds] - install atds 2.16.0 - install cmdliner 1.3.0 [required by atd] - install dune 3.19.1 [required by atds] - install easy-format 1.3.4 [required by atd] - install menhir 20240715 [required by atd] - install menhirCST 20240715 [required by menhir] - install menhirLib 20240715 [required by menhir] - install menhirSdk 20240715 [required by menhir] - install re 1.13.2 [required by atd] - install seq base [required by re] - install yojson 3.0.0 [required by atd] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/32: [atd.2.16.0, atds.2.16.0: extract] Processing 2/32: [atd.2.16.0, atds.2.16.0: extract] [cmdliner.1.3.0: extract] Processing 3/32: [atd.2.16.0, atds.2.16.0: extract] [cmdliner.1.3.0: extract] [dune.3.19.1: extract] -> retrieved cmdliner.1.3.0 (cached) Processing 3/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] Processing 4/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [easy-format.1.3.4: extract] Processing 5/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [easy-format.1.3.4: extract] [cmdliner: gmake all] -> retrieved easy-format.1.3.4 (cached) Processing 5/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [cmdliner: gmake all] Processing 6/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [menhir.20240715 + 3 others: extract] [cmdliner: gmake all] -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) Processing 6/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [cmdliner: gmake all] Processing 7/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [re.1.13.2: extract] [cmdliner: gmake all] + /usr/local/bin/gmake "all" "PREFIX=/home/opam/.opam/4.14.2" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/cmdliner.1.3.0) - ocaml build.ml cma - ocaml build.ml cmxa - ocaml build.ml cmxs -> compiled cmdliner.1.3.0 Processing 7/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [re.1.13.2: extract] Processing 8/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [re.1.13.2: extract] [cmdliner: gmake install] -> retrieved re.1.13.2 (cached) Processing 8/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [cmdliner: gmake install] -> retrieved seq.base (cached) Processing 9/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [cmdliner: gmake install] Processing 10/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [yojson.3.0.0: extract] [cmdliner: gmake install] Processing 11/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [yojson.3.0.0: extract] [cmdliner: gmake install] + /usr/local/bin/gmake "install" "LIBDIR=/home/opam/.opam/4.14.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/4.14.2/doc/cmdliner" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/4.14.2/lib/cmdliner" - install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "/home/opam/.opam/4.14.2/lib/cmdliner" - install cmdliner.opam "/home/opam/.opam/4.14.2/lib/cmdliner/opam" - install _build/cmdliner.cma "/home/opam/.opam/4.14.2/lib/cmdliner" - install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_cmd.cmx _build/cmdliner_docgen.cmx _build/cmdliner_eval.cmx _build/cmdliner_exit.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_term.cmx _build/cmdliner_term_deprecated.cmx _build/cmdliner_trie.cmx \ - "/home/opam/.opam/4.14.2/lib/cmdliner" - install _build/cmdliner.cmxs "/home/opam/.opam/4.14.2/lib/cmdliner" Processing 11/32: [atd.2.16.0, atds.2.16.0: extract] [dune.3.19.1: extract] [yojson.3.0.0: extract] [cmdliner: gmake install-doc] -> retrieved dune.3.19.1 (cached) Processing 11/32: [atd.2.16.0, atds.2.16.0: extract] [yojson.3.0.0: extract] [cmdliner: gmake install-doc] Processing 12/32: [atd.2.16.0, atds.2.16.0: extract] [yojson.3.0.0: extract] [dune: ocaml 39] [cmdliner: gmake install-doc] + /usr/local/bin/gmake "install-doc" "LIBDIR=/home/opam/.opam/4.14.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/4.14.2/doc/cmdliner" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/4.14.2/doc/cmdliner/odoc-pages" - install CHANGES.md LICENSE.md README.md "/home/opam/.opam/4.14.2/doc/cmdliner" - install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \ - doc/tool_man.mld "/home/opam/.opam/4.14.2/doc/cmdliner/odoc-pages" -> installed cmdliner.1.3.0 Processing 12/32: [atd.2.16.0, atds.2.16.0: extract] [yojson.3.0.0: extract] [dune: ocaml 39] -> installed seq.base Processing 13/32: [atd.2.16.0, atds.2.16.0: extract] [yojson.3.0.0: extract] [dune: ocaml 39] -> retrieved yojson.3.0.0 (cached) Processing 13/32: [atd.2.16.0, atds.2.16.0: extract] [dune: ocaml 39] -> retrieved atd.2.16.0, atds.2.16.0 (cached) Processing 13/32: [dune: ocaml 39] + /home/opam/.opam/4.14.2/bin/ocaml "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.19.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 39 - Processing 13/32: [dune: ./_boot/dune.exe build] + /home/opam/.opam/4.14.2/.opam-switch/build/dune.3.19.1/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.19.1) -> compiled dune.3.19.1 -> installed dune.3.19.1 Processing 15/32: [easy-format: dune build] Processing 16/32: [easy-format: dune build] [menhirCST: dune build] Processing 17/32: [easy-format: dune build] [menhirCST: dune build] [menhirLib: dune build] Processing 18/32: [easy-format: dune build] [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build] Processing 19/32: [easy-format: dune build] [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build] [re: dune build] Processing 20/32: [easy-format: dune build] [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build] [re: dune build] [yojson: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "menhirLib" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/menhirLib.20240715) - (cd _build/default/lib/pack && ./pack.exe) - Creating menhirLib.ml... - Creating menhirLib.mli... -> compiled menhirLib.20240715 Processing 20/32: [easy-format: dune build] [menhirCST: dune build] [menhirSdk: dune build] [re: dune build] [yojson: dune build] -> installed menhirLib.20240715 Processing 21/32: [easy-format: dune build] [menhirCST: dune build] [menhirSdk: dune build] [re: dune build] [yojson: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "menhirCST" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/menhirCST.20240715) -> compiled menhirCST.20240715 Processing 21/32: [easy-format: dune build] [menhirSdk: dune build] [re: dune build] [yojson: dune build] -> installed menhirCST.20240715 Processing 22/32: [easy-format: dune build] [menhirSdk: dune build] [re: dune build] [yojson: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "easy-format" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/easy-format.1.3.4) -> compiled easy-format.1.3.4 Processing 22/32: [menhirSdk: dune build] [re: dune build] [yojson: dune build] -> installed easy-format.1.3.4 Processing 23/32: [menhirSdk: dune build] [re: dune build] [yojson: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "menhirSdk" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/menhirSdk.20240715) -> compiled menhirSdk.20240715 Processing 23/32: [re: dune build] [yojson: dune build] -> installed menhirSdk.20240715 Processing 24/32: [re: dune build] [yojson: dune build] Processing 25/32: [menhir: dune build] [re: dune build] [yojson: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "yojson" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/yojson.3.0.0) -> compiled yojson.3.0.0 Processing 25/32: [menhir: dune build] [re: dune build] -> installed yojson.3.0.0 Processing 26/32: [menhir: dune build] [re: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "re" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/re.1.13.2) -> compiled re.1.13.2 Processing 26/32: [menhir: dune build] -> installed re.1.13.2 Processing 27/32: [menhir: dune build] + /home/opam/.opam/4.14.2/bin/dune "build" "-p" "menhir" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/menhir.20240715) - (cd _build/default/lib/pack && ./pack.exe) - Creating menhirLib.ml... - Creating menhirLib.mli... - File "src/stage1/dune", lines 14-23, characters 0-150: - 14 | (executable - 15 | (name main) - 16 | (libraries - 17 | unix - 18 | vendored_fix - 19 | vendored_pprint - 20 | menhirLib menhirSdk - 21 | ) - 22 | (flags :standard -open MenhirSdk) - 23 | ) - Error: Error trying to read targets after a rule was run: - - src/stage1/.main.eobjs/native/dune__exe__Misc.cmx: chmod(_build/default/src/stage1/.main.eobjs/native/dune__exe__Misc.cmx): Bad file descriptor [ERROR] The compilation of menhir.20240715 failed at "dune build -p menhir -j 39". #=== ERROR while compiling menhir.20240715 ====================================# # context 2.4.1 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository # path ~/.opam/4.14.2/.opam-switch/build/menhir.20240715 # command ~/.opam/4.14.2/bin/dune build -p menhir -j 39 # exit-code 1 # env-file ~/.opam/log/menhir-92178-9d6dc4.env # output-file ~/.opam/log/menhir-92178-9d6dc4.out ### output ### # [...] # 14 | (executable # 15 | (name main) # 16 | (libraries # 17 | unix # 18 | vendored_fix # 19 | vendored_pprint # 20 | menhirLib menhirSdk # 21 | ) # 22 | (flags :standard -open MenhirSdk) # 23 | ) # Error: Error trying to read targets after a rule was run: # - src/stage1/.main.eobjs/native/dune__exe__Misc.cmx: chmod(_build/default/src/stage1/.main.eobjs/native/dune__exe__Misc.cmx): Bad file descriptor <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install atd 2.16.0 | - install atds 2.16.0 +- +- The following actions failed | - build menhir 20240715 +- +- The following changes have been performed (the rest was aborted) | - install cmdliner 1.3.0 | - install dune 3.19.1 | - install easy-format 1.3.4 | - install menhirCST 20240715 | - install menhirLib 20240715 | - install menhirSdk 20240715 | - install re 1.13.2 | - install seq base | - install yojson 3.0.0 +- The former state can be restored with: /usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20250804130904.export" 'opam install -vy atds.2.16.0' failed. jail: /usr/bin/su -l opam -c cd '/' && env OPAM_HEALTH_CHECK_CI='true' CI='true' OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' 'opam remove -y atds.2.16.0 opam install -vy atds.2.16.0 res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: atds.2.16.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_61147_12040" "mount.fstab=/tmp/obuilder-jail-aaff2c/fstab" "mount.devfs" "path=/obuilder/result/44b68e543abc744edfe5083044708c1f03f2f35e3386520a666a7e85af3c1333/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/' && env OPAM_HEALTH_CHECK_CI='true' CI='true' OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' 'opam remove -y atds.2.16.0 opam install -vy atds.2.16.0 res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: atds.2.16.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