Building on rosemary
(from freebsd)
2025-10-29 21:15.07 ---> 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-10-29 21:15.07 ---> 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 300331002901af913ffd09131828fbddec07ae4f"))
2025-10-29 21:15.07 ---> using "cf69749c8481f4d4964951c3d0842b80470d089581c1dca60ca68c910915888a" 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-10-29 21:15.07 ---> using "696d04b9721ebabc464710d14d8f66da99c324d6583da33e795abb15b17b7f45" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '5.3.0' 'ocaml-base-compiler.5.3.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.3.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-compiler.5.3.0 (https://github.com/ocaml/ocaml/releases/download/5.3.0/ocaml-5.3.0.tar.gz)
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.3.0)
2025-10-29 21:15.08 ---> using "bcc8fc4caf3871451a2aff5ad20d84c279f2da900780585805f45cffcb50aa48" from cache
/: (run (network host)
(shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2025-10-29 21:15.08 ---> using "96e1fbe9e65c260f844b2e722817797f936e881dd57cb4f5d10aa3060e38ac78" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam remove -y gperftools.0.5\
\nopam install -vy gperftools.0.5\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: gperftools.0.5 | 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] gperftools.0.5 is not installed.
Nothing to do.
The following actions will be performed:
=== install 2 packages
- install dune 3.20.2 [required by gperftools]
- install gperftools 0.5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/6: [dune.3.20.2: extract]
Processing 2/6: [dune.3.20.2: extract] [gperftools.0.5: http]
Processing 2/6: [dune.3.20.2: extract] [gperftools.0.5: extract]
-> retrieved gperftools.0.5 (https://ygrek.org/p/release/ocaml-gperftools/ocaml-gperftools-0.5.tar.gz)
Processing 2/6: [dune.3.20.2: extract]
-> retrieved dune.3.20.2 (cached)
Processing 3/6: [dune: ocaml 39]
+ /home/opam/.opam/5.3.0/bin/ocaml "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/dune.3.20.2)
- ocamlc -output-complete-exe -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 39
-
Processing 3/6: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/5.3.0/.opam-switch/build/dune.3.20.2/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "39" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/dune.3.20.2)
-> compiled dune.3.20.2
-> installed dune.3.20.2
Processing 5/6: [gperftools: dune build]
+ /home/opam/.opam/5.3.0/bin/dune "build" "-p" "gperftools" "-j" "39" "@install" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/gperftools.0.5)
- File "src/dune", line 4, characters 11-27:
- 4 | (c_names gperftools_stubs)
- ^^^^^^^^^^^^^^^^
- (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -g -x c++ -g -I /home/opam/.opam/5.3.0/lib/ocaml -o gperftools_stubs.o -c gperftools_stubs.c)
- gperftools_stubs.c:14:10: fatal error: 'gperftools/malloc_extension.h' file not found
- 14 | #include <gperftools/malloc_extension.h>
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 1 error generated.
[ERROR] The compilation of gperftools.0.5 failed at "dune build -p gperftools -j 39 @install".
#=== ERROR while compiling gperftools.0.5 =====================================#
# context 2.4.1 | freebsd/x86_64 | ocaml-base-compiler.5.3.0 | file:///home/opam/opam-repository
# path ~/.opam/5.3.0/.opam-switch/build/gperftools.0.5
# command ~/.opam/5.3.0/bin/dune build -p gperftools -j 39 @install
# exit-code 1
# env-file ~/.opam/log/gperftools-17064-bcf23a.env
# output-file ~/.opam/log/gperftools-17064-bcf23a.out
### output ###
# File "src/dune", line 4, characters 11-27:
# 4 | (c_names gperftools_stubs)
# ^^^^^^^^^^^^^^^^
# (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -g -x c++ -g -I /home/opam/.opam/5.3.0/lib/ocaml -o gperftools_stubs.o -c gperftools_stubs.c)
# gperftools_stubs.c:14:10: fatal error: 'gperftools/malloc_extension.h' file not found
# 14 | #include <gperftools/malloc_extension.h>
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build gperftools 0.5
+-
+- The following changes have been performed
| - install dune 3.20.2
+-
The former state can be restored with:
/usr/local/bin/opam switch import "/home/opam/.opam/5.3.0/.opam-switch/backup/state-20251029211509.export"
'opam install -vy gperftools.0.5' 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 gperftools.0.5
opam install -vy gperftools.0.5
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: gperftools.0.5 | 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_856_33453" "mount.fstab=/tmp/obuilder-jail-8061b4/fstab" "mount.devfs" "path=/obuilder/result/ee676e6d0cd2e92b4f38be86854b94901e30775e9ba7d959077dc6f73ee41980/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 gperftools.0.5
opam install -vy gperftools.0.5
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: gperftools.0.5 | 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