Building on spring
(from freebsd)
2024-10-10 20:42.32 ---> 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"))
2024-10-10 20:42.32 ---> 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 ac01ad6037c0bdcca9f67fe49cd54475b585f9b2"))
2024-10-10 20:42.33 ---> using "04bf8df57af7f2b2ea7af5566d967196bda7e2839e02b46ad811b0216fde879a" 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.
2024-10-10 20:42.33 ---> using "c9931638e08169dfce88208aaa9098fb0a9a68a42fc7157702d319afdcb8d7eb" 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 host-arch-x86_64.1
-> installed host-system-other.1
-> 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)
2024-10-10 20:42.34 ---> using "e855d9af67ec0a35a99a946be87ce0268c081f547c14a096661183ffe7e7b03b" from cache
/: (run (network host)
(shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2024-10-10 20:42.34 ---> using "aa6bdcd4b036cbf0eae21de91556ee39783d623e2700babf35a1c0b03fd63857" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"ceph.20240106\"\
\nopam install -vy \"ceph.20240106\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"ceph.20240106\" | 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] ceph.20240106 is not installed.
Nothing to do.
The following actions will be performed:
=== install 8 packages
- install bigarray-compat 1.1.0 [required by ctypes]
- install ceph 20240106
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.23.0 [required by ceph]
- install dune 3.16.0 [required by ceph]
- install dune-configurator 3.16.0 [required by ctypes]
- install integers 0.7.0 [required by ctypes]
- install stdlib-shims 0.3.0 [required by integers]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/23: [bigarray-compat.1.1.0: extract]
Processing 2/23: [bigarray-compat.1.1.0: extract] [ceph.20240106: http]
Processing 3/23: [bigarray-compat.1.1.0: extract] [ceph.20240106: http] [csexp.1.5.2: extract]
-> retrieved csexp.1.5.2 (cached)
Processing 3/23: [bigarray-compat.1.1.0: extract] [ceph.20240106: http]
Processing 4/23: [bigarray-compat.1.1.0: extract] [ceph.20240106: http] [ctypes.0.23.0: extract]
-> retrieved bigarray-compat.1.1.0 (cached)
Processing 4/23: [ceph.20240106: http] [ctypes.0.23.0: extract]
Processing 5/23: [ceph.20240106: http] [ctypes.0.23.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract]
-> retrieved ctypes.0.23.0 (cached)
Processing 5/23: [ceph.20240106: http] [dune.3.16.0, dune-configurator.3.16.0: extract]
Processing 6/23: [ceph.20240106: http] [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract]
Processing 6/23: [ceph.20240106: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract]
-> retrieved integers.0.7.0 (cached)
Processing 6/23: [ceph.20240106: extract] [dune.3.16.0, dune-configurator.3.16.0: extract]
Processing 7/23: [ceph.20240106: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [stdlib-shims.0.3.0: extract]
-> retrieved ceph.20240106 (https://github.com/ahrefs/ocaml-ceph/releases/download/20240106/ceph-20240106.tbz)
Processing 7/23: [dune.3.16.0, dune-configurator.3.16.0: extract] [stdlib-shims.0.3.0: extract]
-> retrieved stdlib-shims.0.3.0 (cached)
Processing 7/23: [dune.3.16.0, dune-configurator.3.16.0: extract]
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
Processing 8/23: [dune: ocaml 7]
+ /home/opam/.opam/4.14.2/bin/ocaml "boot/bootstrap.ml" "-j" "7" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.16.0)
- 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 8/23: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/4.14.2/.opam-switch/build/dune.3.16.0/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "7" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.16.0)
-> compiled dune.3.16.0
-> installed dune.3.16.0
Processing 10/23: [bigarray-compat: dune build]
Processing 11/23: [bigarray-compat: dune build] [csexp: dune build]
Processing 12/23: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "stdlib-shims" "-j" "7" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled stdlib-shims.0.3.0
Processing 12/23: [bigarray-compat: dune build] [csexp: dune build]
-> installed stdlib-shims.0.3.0
Processing 13/23: [bigarray-compat: dune build] [csexp: dune build]
Processing 14/23: [bigarray-compat: dune build] [csexp: dune build] [integers: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "csexp" "-j" "7" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/csexp.1.5.2)
-> compiled csexp.1.5.2
Processing 14/23: [bigarray-compat: dune build] [integers: dune build]
-> installed csexp.1.5.2
Processing 15/23: [bigarray-compat: dune build] [integers: dune build]
Processing 16/23: [bigarray-compat: dune build] [dune-configurator: rm] [integers: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "integers" "-j" "7" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/integers.0.7.0)
-> compiled integers.0.7.0
Processing 16/23: [bigarray-compat: dune build] [dune-configurator: rm]
-> installed integers.0.7.0
Processing 17/23: [bigarray-compat: dune build] [dune-configurator: rm]
+ /bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.16.0)
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "bigarray-compat" "-j" "7" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/bigarray-compat.1.1.0)
-> compiled bigarray-compat.1.1.0
Processing 17/23: [dune-configurator: rm]
-> installed bigarray-compat.1.1.0
Processing 18/23: [dune-configurator: rm]
+ /bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.16.0)
Processing 18/23: [dune-configurator: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "dune-configurator" "-j" "7" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.16.0)
-> compiled dune-configurator.3.16.0
-> installed dune-configurator.3.16.0
Processing 20/23: [ctypes: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "ctypes" "-j" "7" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ctypes.0.23.0)
Processing 20/23: [ctypes: dune install]
+ /home/opam/.opam/4.14.2/bin/dune "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ctypes.0.23.0)
-> compiled ctypes.0.23.0
-> installed ctypes.0.23.0
Processing 22/23: [ceph: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "ceph" "-j" "7" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ceph.20240106)
- File "src/dune", line 26, characters 37-48:
- 26 | (foreign_stubs (language c) (names gen_structs))
- ^^^^^^^^^^^
- (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bigarray-compat -I /home/opam/.opam/4.14.2/lib/ctypes -I /home/opam/.opam/4.14.2/lib/integers -I /home/opam/.opam/4.14.2/lib/stdlib-shims -o gen_structs.o -c gen_structs.c)
- gen_structs.c:1:10: fatal error: 'cephfs/libcephfs.h' file not found
- #include <cephfs/libcephfs.h>
- ^~~~~~~~~~~~~~~~~~~~
- 1 error generated.
[ERROR] The compilation of ceph.20240106 failed at "dune build -p ceph -j 7 @install".
#=== ERROR while compiling ceph.20240106 ======================================#
# context 2.3.0~alpha1 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14.2/.opam-switch/build/ceph.20240106
# command ~/.opam/4.14.2/bin/dune build -p ceph -j 7 @install
# exit-code 1
# env-file ~/.opam/log/ceph-33707-2f646b.env
# output-file ~/.opam/log/ceph-33707-2f646b.out
### output ###
# File "src/dune", line 26, characters 37-48:
# 26 | (foreign_stubs (language c) (names gen_structs))
# ^^^^^^^^^^^
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bigarray-compat -I /home/opam/.opam/4.14.2/lib/ctypes -I /home/opam/.opam/4.14.2/lib/integers -I /home/opam/.opam/4.14.2/lib/stdlib-shims -o gen_structs.o -c gen_structs.c)
# gen_structs.c:1:10: fatal error: 'cephfs/libcephfs.h' file not found
# #include <cephfs/libcephfs.h>
# ^~~~~~~~~~~~~~~~~~~~
# 1 error generated.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ceph 20240106
+-
+- The following changes have been performed
| - install bigarray-compat 1.1.0
| - install csexp 1.5.2
| - install ctypes 0.23.0
| - install dune 3.16.0
| - install dune-configurator 3.16.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 "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20241010204240.export"
'opam install -vy ceph.20240106' 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 "ceph.20240106"
opam install -vy "ceph.20240106"
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: "ceph.20240106" | 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_40930_7252" "mount.fstab=/tmp/obuilder-jail-e87bff/fstab" "mount.devfs" "path=/obuilder/result/49cdf3a8e7c3fac9bdde647dc3c35aa48754ce83951ffd179adb6f416854f64f/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 "ceph.20240106"
opam install -vy "ceph.20240106"
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: "ceph.20240106" | 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