OCamllabs icon Home|Differences with the last checks|Previous runs


Building on falling

(from freebsd-ocaml-5.0)
2023-10-18 11:46.15 ---> 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-10-18 11:46.16 ---> 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 a4349cb398e7d693e3d509914067dc47d1c71782"))
2023-10-18 11:46.16 ---> using "847cbd71d6e243cb26730c6185d78510731de6bc2b4440eaf8f09e2ada29204e" 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-10-18 11:46.16 ---> using "76fe4e508bf18ac6169aa42d066ca9a1236d6528de4350d6a7fa0ee89b29da2f" 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-10-18 11:46.17 ---> using "183056b1d529ba4c31d6b524fc58b90cb421336bb6343f3dbef07f3b8210b9bd" from cache

/: (run (network host)
        (shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2023-10-18 11:46.17 ---> using "f2cccfff3a744118b82f250d66c5e406102a16d87a5c840cda08b5c5d25376c6" from cache

/: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"llvm.16.0.6+nnp\"\
               \nopam install -vy \"llvm.16.0.6+nnp\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"llvm.16.0.6+nnp\" | 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.16.0.6+nnp is not installed.

Nothing to do.
The following actions will be performed:
  - install dune              3.11.1     [required by llvm]
  - install conf-bash         1          [required by conf-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 conf-llvm         16         [required by llvm]
  - install integers          0.7.0      [required by ctypes]
  - install dune-configurator 3.11.1     [required by ctypes]
  - install ctypes            0.21.1     [required by llvm]
  - install llvm              16.0.6+nnp
===== 10 to install =====

The following system packages will first need to be installed:
    devel/llvm16

<><> 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/llvm16"
- Updating FreeBSD repository catalogue...
- [falling] Fetching packagesite.pkg: .......... done
- Processing entries: .
- ....
- ..
- ..
- . done
- FreeBSD repository update completed. 34069 packages processed.
- All repositories are up to date.
- New version of pkg detected; it needs to be installed first.
- The following 1 package(s) will be affected (of 0 checked):
- 
- Installed packages to be UPGRADED:
- 	pkg: 1.19.2 -> 1.20.8
- 
- Number of packages to be upgraded: 1
- 
- The process will require 1 MiB more space.
- 9 MiB to be downloaded.
- [falling] [1/1] Fetching pkg-1.20.8.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [falling] [1/1] Upgrading pkg from 1.19.2 to 1.20.8...
- [falling] [1/1] Extracting pkg-1.20.8: ..
- .......
- . done
- Updating FreeBSD repository catalogue...
- FreeBSD repository is up to date.
- 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
- 	llvm16: 16.0.6_6
- 	llvm16-lite: 16.0.6_6
- 	lua53: 5.3.6
- 
- Number of packages to be installed: 4
- 
- The process will require 2 GiB more space.
- 265 MiB to be downloaded.
- [falling] [1/4] Fetching lua53-5.3.6.pkg: ......... done
- [falling] [2/4] Fetching libedit-3.1.20221030,1.pkg: ........ done
- [falling] [3/4] Fetching llvm16-lite-16.0.6_6.pkg: .
- ...
- ....
- .. done
- [falling] [4/4] Fetching llvm16-16.0.6_6.pkg: 
- ...
- ..
- ..
- .
- .. done
- Checking integrity... done (1 conflicting)
-   - llvm16-16.0.6_6 conflicts with llvm16-lite-16.0.6_6 on /usr/local/llvm16/lib/clang/16/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
- 	llvm16-lite: 16.0.6_6
- 	lua53: 5.3.6
- 
- Number of packages to be installed: 3
- 
- The process will require 432 MiB more space.
- [falling] [1/3] Installing libedit-3.1.20221030,1...
- [falling] [1/3] Extracting libedit-3.1.20221030,1: .......... done
- [falling] [2/3] Installing lua53-5.3.6...
- [falling] [2/3] Extracting lua53-5.3.6: .......... done
- [falling] [3/3] Installing llvm16-lite-16.0.6_6...
- [falling] [3/3] Extracting llvm16-lite-16.0.6_6: 
- ..
- ...
- ..
- ... 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=16
- + 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-16 --version
- configure.sh: line 14: llvm-config-16: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm-config-16'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm-config-16' doesn't match the required version. Got '' but required '16'.
- + 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-16.0 --version
- configure.sh: line 14: llvm-config-16.0: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm-config-16.0'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm-config-16.0' doesn't match the required version. Got '' but required '16'.
- + 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-config160 --version
- configure.sh: line 14: llvm-config160: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm-config160'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm-config160' doesn't match the required version. Got '' but required '16'.
- + 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-16 --version
- configure.sh: line 14: llvm-config-mp-16: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm-config-mp-16'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm-config-mp-16' doesn't match the required version. Got '' but required '16'.
- + 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-16.0 --version
- configure.sh: line 14: llvm-config-mp-16.0: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm-config-mp-16.0'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm-config-mp-16.0' doesn't match the required version. Got '' but required '16'.
- + 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
- ++ llvm16-config --version
- configure.sh: line 14: llvm16-config: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm16-config'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm16-config' doesn't match the required version. Got '' but required '16'.
- + 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-16-32 --version
- configure.sh: line 14: llvm-config-16-32: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm-config-16-32'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm-config-16-32' doesn't match the required version. Got '' but required '16'.
- + 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-16-64 --version
- configure.sh: line 14: llvm-config-16-64: command not found
- + llvm_version=
- + true
- + case $llvm_version in
- + echo 'Note: '\''llvm-config-16-64'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''16'\''.'
- Note: 'llvm-config-16-64' doesn't match the required version. Got '' but required '16'.
- + 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 '\''16'\''.'
- Note: 'llvm-config' doesn't match the required version. Got '' but required '16'.
- + continue
- + echo 'Error: LLVM 16 is not installed.'
- Error: LLVM 16 is not installed.
- + exit 1
[ERROR] The compilation of conf-llvm.16 failed at "bash configure.sh 16".
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.16.0.6+nnp: http]
-> retrieved dune-configurator.3.11.1  (cached)
Processing 14/30: [llvm.16.0.6+nnp: http]
Processing 14/30:
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved llvm.16.0.6+nnp  (https://github.com/alan-j-hu/llvm-dune/releases/download/v16.0.6%2Bnnp/llvm-dune-full-minified-16.0.6.tar.gz)
-> retrieved dune.3.11.1  (cached)
Processing 15/30: [dune: ocaml 31]
+ /usr/home/opam/.opam/4.14.1/bin/ocaml "boot/bootstrap.ml" "-j" "31" (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 31
- 

Processing 15/30: [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" "31" (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 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  csexp.1.5.2
Processing 19/30: [bigarray-compat: dune build] [stdlib-shims: dune build]
-> installed csexp.1.5.2
Processing 20/30: [bigarray-compat: dune build] [stdlib-shims: dune build]
Processing 21/30: [bigarray-compat: dune build] [dune-configurator: rm] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 21/30: [bigarray-compat: dune build] [dune-configurator: rm]
-> installed stdlib-shims.0.3.0
Processing 22/30: [bigarray-compat: dune build] [dune-configurator: rm]
Processing 23/30: [bigarray-compat: dune build] [dune-configurator: rm] [integers: dune build]
-> compiled  bigarray-compat.1.1.0
Processing 23/30: [dune-configurator: rm] [integers: dune build]
-> installed bigarray-compat.1.1.0
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" "31" "@install" (CWD=/usr/home/opam/.opam/4.14.1/.opam-switch/build/dune-configurator.3.11.1)
-> compiled  dune-configurator.3.11.1
-> installed dune-configurator.3.11.1
Processing 27/30: [ctypes: dune build]
+ /usr/home/opam/.opam/4.14.1/bin/dune "build" "-p" "ctypes" "-j" "31" "--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.16 =======================================#
# 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.16
# command              /usr/local/bin/bash configure.sh 16
# exit-code            1
# env-file             /usr/home/opam/.opam/log/conf-llvm-65670-1752fc.env
# output-file          /usr/home/opam/.opam/log/conf-llvm-65670-1752fc.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 '\''16'\''.'
# Note: 'llvm-config' doesn't match the required version. Got '' but required '16'.
# + continue
# + echo 'Error: LLVM 16 is not installed.'
# Error: LLVM 16 is not installed.
# + exit 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install llvm 16.0.6+nnp
+- 
+- The following actions failed
| - build conf-llvm 16
+- 
+- 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.11.1
| - install dune-configurator 3.11.1
| - 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-20231018114628.export"
'opam install -vy llvm.16.0.6+nnp' 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.16.0.6+nnp"
opam install -vy "llvm.16.0.6+nnp"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "llvm.16.0.6+nnp" | 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_74204_5439" "mount.fstab=/tmp/obuilder-jail-4d6a26/fstab" "mount.devfs" "path=/obuilder/result/d7111f9f27a33e0a9812f7e4927a2e2be5fb86a83d38ba1650dbd30d64df7cb1/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.16.0.6+nnp"
opam install -vy "llvm.16.0.6+nnp"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "llvm.16.0.6+nnp" | 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