Building on rosemary (from freebsd) 2025-08-05 07:35.54 ---> 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-05 07:35.55 ---> 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-05 07:35.55 ---> 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-05 07:35.56 ---> 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-05 07:35.56 ---> using "6b7068eab2827097f8bd23e22c6347ff54bd2c8489e7b5a006a2b7f531387b4d" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2025-08-05 07:35.57 ---> using "3af07a3b1781e86b750eef5ef7058117fcacd2a9be95f8e4825df00cd86ee99f" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove -y cfgen.1.0\ \nopam install -vy cfgen.1.0\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: cfgen.1.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] cfgen.1.0 is not installed. Nothing to do. The following actions will be performed: === install 7 packages - install bnfgen 4.0.0 [required by cfgen] - install cfgen 1.0 - install dune 3.19.1 [required by bnfgen] - install menhir 20240715 [required by bnfgen] - install menhirCST 20240715 [required by menhir] - install menhirLib 20240715 [required by menhir] - install menhirSdk 20240715 [required by menhir] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/18: [bnfgen.4.0.0: http] Processing 2/18: [bnfgen.4.0.0: http] Processing 3/18: [bnfgen.4.0.0: http] [dune.3.19.1: extract] Processing 4/18: [bnfgen.4.0.0: http] [dune.3.19.1: extract] [menhir.20240715 + 3 others: extract] Processing 4/18: [bnfgen.4.0.0: extract] [dune.3.19.1: extract] [menhir.20240715 + 3 others: extract] -> retrieved bnfgen.4.0.0 (https://github.com/dmbaturin/bnfgen/archive/refs/tags/4.0.0.tar.gz) Processing 4/18: [dune.3.19.1: extract] [menhir.20240715 + 3 others: extract] -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) Processing 4/18: [dune.3.19.1: extract] -> retrieved dune.3.19.1 (cached) Processing 5/18: [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 5/18: [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 7/18: [menhirCST: dune build] Processing 8/18: [menhirCST: dune build] [menhirLib: dune build] Processing 9/18: [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: 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 9/18: [menhirCST: dune build] [menhirSdk: dune build] -> installed menhirLib.20240715 Processing 10/18: [menhirCST: dune build] [menhirSdk: 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 10/18: [menhirSdk: dune build] -> installed menhirCST.20240715 Processing 11/18: [menhirSdk: 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 -> installed menhirSdk.20240715 Processing 13/18: [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", line 9, characters 13-26: - 9 | (copy_files# ../*.{ml,mli}) - ^^^^^^^^^^^^^ - Error: Error trying to read targets after a rule was run: - - src/stage1/InputFile.ml: chmod(_build/default/src/stage1/InputFile.ml): 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-58180-91d3ec.env # output-file ~/.opam/log/menhir-58180-91d3ec.out ### output ### # (cd _build/default/lib/pack && ./pack.exe) # Creating menhirLib.ml... # Creating menhirLib.mli... # File "src/stage1/dune", line 9, characters 13-26: # 9 | (copy_files# ../*.{ml,mli}) # ^^^^^^^^^^^^^ # Error: Error trying to read targets after a rule was run: # - src/stage1/InputFile.ml: chmod(_build/default/src/stage1/InputFile.ml): Bad file descriptor <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install bnfgen 4.0.0 | - install cfgen 1.0 +- +- The following actions failed | - build menhir 20240715 +- +- The following changes have been performed (the rest was aborted) | - install dune 3.19.1 | - install menhirCST 20240715 | - install menhirLib 20240715 | - install menhirSdk 20240715 +- The former state can be restored with: /usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20250805073600.export" 'opam install -vy cfgen.1.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 cfgen.1.0 opam install -vy cfgen.1.0 res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: cfgen.1.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_13427" "mount.fstab=/tmp/obuilder-jail-31b4e9/fstab" "mount.devfs" "path=/obuilder/result/5c746ae335f5a7160807c92e3591a37bdd9e6b7ccb4388d7ee17a06c805df017/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 cfgen.1.0 opam install -vy cfgen.1.0 res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: cfgen.1.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