Building on summer (from freebsd-ocaml-5.0) 2023-09-17 04:40.49 ---> using "b0ee167c73857b60ecf6c06eff6bbe96857a02ac84fefd2b9807cb2eea16bf97" 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-2.1 /usr/local/bin/opam")) 2023-09-17 04:40.49 ---> using "58da31f76f3dd28576bb2b11a05c1473a2cbc0bc8e959f83414ab7001888e94f" 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 b61304c6db353e679a36720d8b914b029d6fbc0c")) 2023-09-17 04:40.49 ---> using "8d3da13405344b39e752afb838c3c735052c4eec4b16365a8f42fa332f48db13" 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-09-17 04:40.49 ---> using "8116be61a4c735c894d82723f81082e77bc159c30ffe9a35227f19965692cf33" 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 (cached) -> 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-09-17 04:40.50 ---> using "d74ca11c81cb94850460e040b430ca34af571abb56e8a7a8f872c85baa4c4e5d" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2023-09-17 04:40.50 ---> using "c0b3aedd2094499d94806c83a2a6d025c18f903b4e4191cfd35f3ee66a43d1bd" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"llvm.15.0.7+nnp-2\"\ \nopam install -vy \"llvm.15.0.7+nnp-2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"llvm.15.0.7+nnp-2\" | 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] llvm.15.0.7+nnp-2 is not installed. Nothing to do. The following actions will be performed: - install conf-bash 1 [required by conf-llvm] - install dune 3.10.0 [required by llvm] - install conf-llvm 15 [required by llvm] - install stdlib-shims 0.3.0 [required by integers] - install csexp 1.5.2 [required by dune-configurator] - install bigarray-compat 1.1.0 [required by ctypes] - install integers 0.7.0 [required by ctypes] - install dune-configurator 3.10.0 [required by ctypes] - install ctypes 0.21.1 [required by llvm] - install llvm 15.0.7+nnp-2 ===== 10 to install ===== The following system packages will first need to be installed: devel/llvm15 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? (answer 'n' for other options) [Y/n] y + /usr/local/bin/sudo "pkg" "install" "-y" "devel/llvm15" - Updating FreeBSD repository catalogue... - [summer] Fetching packagesite.pkg: .......... done - Processing entries: .. - ... - ... - .. done - FreeBSD repository update completed. 33871 packages processed. - All repositories are up to date. - The following 4 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - libedit: 3.1.20221030,1 - llvm15: 15.0.7_5 - llvm15-lite: 15.0.7_5 - lua53: 5.3.6 - - Number of packages to be installed: 4 - - The process will require 1 GiB more space. - 204 MiB to be downloaded. - [summer] [1/4] Fetching lua53-5.3.6.pkg: .......... done - [summer] [2/4] Fetching libedit-3.1.20221030,1.pkg: .......... done - [summer] [3/4] Fetching llvm15-15.0.7_5.pkg: - . - .. - .. - .. - ... done - [summer] [4/4] Fetching llvm15-lite-15.0.7_5.pkg: - ... - .... - ... done - Checking integrity... done (1 conflicting) - - llvm15-lite-15.0.7_5 conflicts with llvm15-15.0.7_5 on /usr/local/llvm15/lib/clang/15.0.7/include/arm_bf16.h - Cannot solve problem using SAT solver, trying another plan - Checking integrity... done (0 conflicting) - Conflicts with the existing packages have been found. - One more solver iteration is needed to resolve them. - The following 3 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - libedit: 3.1.20221030,1 - llvm15: 15.0.7_5 - lua53: 5.3.6 - - Number of packages to be installed: 3 - - The process will require 961 MiB more space. - [summer] [1/3] Installing libedit-3.1.20221030,1... - [summer] [1/3] Extracting libedit-3.1.20221030,1: .......... done - [summer] [2/3] Installing lua53-5.3.6... - [summer] [2/3] Extracting lua53-5.3.6: ....... - ... done - [summer] [3/3] Installing llvm15-15.0.7_5... - [summer] [3/3] Extracting llvm15-15.0.7_5: - . - .... - .. - ... done <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/30: Processing 2/30: Processing 3/30: Processing 4/30: Processing 5/30: Processing 6/30: [conf-bash: bash] -> retrieved ctypes.0.21.1 (cached) Processing 7/30: [conf-bash: bash] - GNU bash, version 5.2.15(0)-release (amd64-portbld-freebsd13.2) - Copyright (C) 2022 Free Software Foundation, Inc. - License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> - - This is free software; you are free to change and redistribute it. - There is NO WARRANTY, to the extent permitted by law. -> compiled conf-bash.1 Processing 7/30: -> installed conf-bash.1 Processing 8/30: Processing 9/30: [conf-llvm: bash configure.sh] -> retrieved csexp.1.5.2 (cached) Processing 10/30: [conf-llvm: bash configure.sh] - + version=15 - + hash brew - + shopt -s nullglob - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config-15 --version - configure.sh: line 14: llvm-config-15: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config-15'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config-15' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config-15.0 --version - configure.sh: line 14: llvm-config-15.0: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config-15.0'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config-15.0' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config150 --version - configure.sh: line 14: llvm-config150: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config150'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config150' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config-mp-15 --version - configure.sh: line 14: llvm-config-mp-15: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config-mp-15'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config-mp-15' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config-mp-15.0 --version - configure.sh: line 14: llvm-config-mp-15.0: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config-mp-15.0'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config-mp-15.0' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm15-config --version - configure.sh: line 14: llvm15-config: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm15-config'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm15-config' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config-15-32 --version - configure.sh: line 14: llvm-config-15-32: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config-15-32'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config-15-32' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config-15-64 --version - configure.sh: line 14: llvm-config-15-64: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config-15-64'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config-15-64' doesn't match the required version. Got '' but required '15'. - + continue - + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config - ++ llvm-config --version - configure.sh: line 14: llvm-config: command not found - + llvm_version= - + true - + case $llvm_version in - + echo 'Note: '\''llvm-config'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' - Note: 'llvm-config' doesn't match the required version. Got '' but required '15'. - + continue - + echo 'Error: LLVM 15 is not installed.' - Error: LLVM 15 is not installed. - + exit 1 [ERROR] The compilation of conf-llvm.15 failed at "bash configure.sh 15". Processing 10/30: Processing 11/30: -> retrieved bigarray-compat.1.1.0 (cached) Processing 12/30: -> retrieved integers.0.7.0 (cached) Processing 13/30: [llvm.15.0.7+nnp-2: http] -> retrieved dune-configurator.3.10.0 (cached) Processing 14/30: [llvm.15.0.7+nnp-2: http] Processing 14/30: -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved llvm.15.0.7+nnp-2 (https://github.com/kit-ty-kate/llvm-dune/releases/download/v15.0.7%2Bnnp-2/llvm-dune-full-minified-15.0.7+nnp-2.tar.gz) -> retrieved dune.3.10.0 (cached) Processing 15/30: [dune: ocaml 15] + /usr/home/opam/.opam/4.14.1/bin/ocaml "boot/bootstrap.ml" "-j" "15" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.10.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 15 - Processing 15/30: [dune: ./_boot/dune.exe build] + /usr/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.10.0/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.10.0) -> compiled dune.3.10.0 -> installed dune.3.10.0 Processing 17/30: [bigarray-compat: dune build] Processing 18/30: [bigarray-compat: dune build] [csexp: dune build] Processing 19/30: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build] -> compiled bigarray-compat.1.1.0 Processing 19/30: [csexp: dune build] [stdlib-shims: dune build] -> installed bigarray-compat.1.1.0 Processing 20/30: [csexp: dune build] [stdlib-shims: dune build] -> compiled stdlib-shims.0.3.0 Processing 20/30: [csexp: dune build] -> installed stdlib-shims.0.3.0 Processing 21/30: [csexp: dune build] Processing 22/30: [csexp: dune build] [integers: dune build] -> compiled csexp.1.5.2 Processing 22/30: [integers: dune build] -> installed csexp.1.5.2 Processing 23/30: [integers: dune build] Processing 24/30: [dune-configurator: rm] [integers: dune build] Processing 24/30: [dune-configurator: dune build] [integers: dune build] -> compiled integers.0.7.0 Processing 24/30: [dune-configurator: dune build] -> installed integers.0.7.0 Processing 25/30: [dune-configurator: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "dune-configurator" "-j" "15" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.10.0) -> compiled dune-configurator.3.10.0 -> installed dune-configurator.3.10.0 Processing 27/30: [ctypes: dune build] + /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "ctypes" "-j" "15" "--promote-install-files=false" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ctypes.0.21.1) Processing 27/30: [ctypes: dune install] + /usr/home/opam/.opam/4.14.1/bin/dune "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/ctypes.0.21.1) -> compiled ctypes.0.21.1 -> installed ctypes.0.21.1 #=== ERROR while compiling conf-llvm.15 =======================================# # context 2.1.5 | 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/conf-llvm.15 # command /usr/local/bin/bash configure.sh 15 # exit-code 1 # env-file /usr/home/opam/.opam/log/conf-llvm-61898-38cc6a.env # output-file /usr/home/opam/.opam/log/conf-llvm-61898-38cc6a.out ### output ### # [...] # + for llvm_config in llvm-config-$version llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config # ++ llvm-config --version # configure.sh: line 14: llvm-config: command not found # + llvm_version= # + true # + case $llvm_version in # + echo 'Note: '\''llvm-config'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''15'\''.' # Note: 'llvm-config' doesn't match the required version. Got '' but required '15'. # + continue # + echo 'Error: LLVM 15 is not installed.' # Error: LLVM 15 is not installed. # + exit 1 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install llvm 15.0.7+nnp-2 +- +- The following actions failed | - build conf-llvm 15 +- +- The following changes have been performed (the rest was aborted) | - install bigarray-compat 1.1.0 | - install conf-bash 1 | - install csexp 1.5.2 | - install ctypes 0.21.1 | - install dune 3.10.0 | - install dune-configurator 3.10.0 | - install integers 0.7.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-20230917044054.export" 'opam install -vy llvm.15.0.7+nnp-2' failed. jail: /usr/bin/su -l opam -c cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "llvm.15.0.7+nnp-2" opam install -vy "llvm.15.0.7+nnp-2" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "llvm.15.0.7+nnp-2" | 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_86617_1781" "mount.fstab=/tmp/obuilder-jail-e5ee85/fstab" "mount.devfs" "path=/obuilder/result/0f3614f263306ef1da4e2a999860118eeba57b5ddd3abb4a699c39982a5f0b83/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "llvm.15.0.7+nnp-2" opam install -vy "llvm.15.0.7+nnp-2" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "llvm.15.0.7+nnp-2" | 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