Building on fall (from freebsd-ocaml-5.0) 2023-11-01 04:06.10 ---> 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-11-01 04:06.11 ---> 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 7b4cedddee88c79d6bdb00eccf7b36a7b617b211")) 2023-11-01 04:06.11 ---> using "ceda9c602c42ecee62840706a0356388ac8fe9b4284a02972fb121a316518aa6" 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-11-01 04:06.11 ---> using "3d69dd19638d580f9a84afa315c8a62fa2810666d83257cb65ea0af54a8f6211" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.1.0' 'ocaml-base-compiler.5.1.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.1.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.1.0 (https://github.com/ocaml/ocaml/archive/5.1.0.tar.gz) -> installed ocaml-base-compiler.5.1.0 -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.1.0) to update the current shell environment 2023-11-01 04:06.11 ---> using "4d14f892c8031ddfa16535e34e750068d1ecfde9d7023af826fa837a9a24e19b" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2023-11-01 04:06.11 ---> using "5ae8e2574f1a4212f30d2d30a11aaa2f3fb04d584b1c4315437c02c59acafd50" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"hdr_histogram.0.0.3\"\ \nopam install -vy \"hdr_histogram.0.0.3\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"hdr_histogram.0.0.3\" | 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] hdr_histogram.0.0.3 is not installed. Nothing to do. The following actions will be performed: - install dune 3.11.1 [required by hdr_histogram] - install conf-pkg-config 3 [required by hdr_histogram] - install conf-cmake 1 [required by hdr_histogram] - 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-zlib 1 [required by hdr_histogram] - install conf-libffi 2.0.0 [required by ctypes-foreign] - install integers 0.7.0 [required by ctypes] - install dune-configurator 3.11.1 [required by ctypes, ctypes-foreign] - install ctypes 0.21.1 [required by hdr_histogram] - install ctypes-foreign 0.21.1 [required by hdr_histogram] - install hdr_histogram 0.0.3 ===== 13 to install ===== The following system packages will first need to be installed: devel/cmake <><> 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/cmake" - Updating FreeBSD repository catalogue... - [fall] Fetching packagesite.pkg: .......... done - Processing entries: . - ... - ... - ... done - FreeBSD repository update completed. 34058 packages processed. - All repositories are up to date. - The following 7 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - cmake: 3.26.1 - cmake-core: 3.26.1_3 - cmake-doc: 3.26.1_1 - cmake-man: 3.26.1 - jsoncpp: 1.9.5 - libuv: 1.46.0 - rhash: 1.4.4 - - Number of packages to be installed: 7 - - The process will require 78 MiB more space. - 15 MiB to be downloaded. - [fall] [1/7] Fetching cmake-3.26.1.pkg: . done - [fall] [2/7] Fetching cmake-man-3.26.1.pkg: .......... done - [fall] [3/7] Fetching jsoncpp-1.9.5.pkg: .......... done - [fall] [4/7] Fetching libuv-1.46.0.pkg: ......... done - [fall] [5/7] Fetching cmake-doc-3.26.1_1.pkg: .......... done - [fall] [6/7] Fetching cmake-core-3.26.1_3.pkg: .......... done - [fall] [7/7] Fetching rhash-1.4.4.pkg: .......... done - Checking integrity... - done (0 conflicting) - [fall] [1/7] Installing jsoncpp-1.9.5... - [fall] [1/7] Extracting jsoncpp-1.9.5: .......... done - [fall] [2/7] Installing libuv-1.46.0... - [fall] [2/7] Extracting libuv-1.46.0: .......... done - [fall] [3/7] Installing rhash-1.4.4... - [fall] [3/7] Extracting rhash-1.4.4: .......... done - [fall] [4/7] Installing cmake-man-3.26.1... - [fall] [4/7] Extracting cmake-man-3.26.1: .......... done - [fall] [5/7] Installing cmake-doc-3.26.1_1... - [fall] [5/7] Extracting cmake-doc-3.26.1_1: - .......... done - [fall] [6/7] Installing cmake-core-3.26.1_3... - [fall] [6/7] Extracting cmake-core-3.26.1_3: - .......... done - [fall] [7/7] Installing cmake-3.26.1... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/39: Processing 2/39: Processing 3/39: Processing 4/39: Processing 5/39: Processing 6/39: Processing 7/39: Processing 8/39: [conf-cmake: sh configure.sh] Processing 9/39: [conf-cmake: sh configure.sh] [conf-pkg-config: pkg-config] - + command -v cmake3 - + command -v cmake - /usr/local/bin/cmake - + cmake_cmd=cmake - + echo 'cmd: "cmake"' -> compiled conf-cmake.1 Processing 9/39: [conf-pkg-config: pkg-config] -> installed conf-cmake.1 Processing 10/39: [conf-pkg-config: pkg-config] - usage: pkgconf [OPTIONS] [LIBRARIES] - - basic options: - - --help this message - --about print pkgconf version and license to stdout - --version print supported pkg-config version to stdout - --verbose print additional information - --atleast-pkgconfig-version check whether or not pkgconf is compatible - with a specified pkg-config version - --errors-to-stdout print all errors on stdout instead of stderr - --print-errors ensure all errors are printed - --short-errors be less verbose about some errors - --silence-errors explicitly be silent about errors - --list-all list all known packages - --list-package-names list all known package names - --simulate simulate walking the calculated dependency graph - --no-cache do not cache already seen packages when - walking the dependency graph - --log-file=filename write an audit log to a specified file - --with-path=path adds a directory to the search path - --define-prefix override the prefix variable with one that is guessed based on - the location of the .pc file - --dont-define-prefix do not override the prefix variable under any circumstances - --prefix-variable=varname sets the name of the variable that pkgconf considers - to be the package prefix - --relocate=path relocates a path and exits (mostly for testsuite) - --dont-relocate-paths disables path relocation support - - cross-compilation personality support: - - --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename' - --dump-personality dumps details concerning selected personality - - checking specific pkg-config database entries: - - --atleast-version require a specific version of a module - --exact-version require an exact version of a module - --max-version require a maximum version of a module - --exists check whether or not a module exists - --uninstalled check whether or not an uninstalled module will be used - --no-uninstalled never use uninstalled modules when satisfying dependencies - --no-provides do not use 'provides' rules to resolve dependencies - --maximum-traverse-depth maximum allowed depth for dependency graph - --static be more aggressive when computing dependency graph - (for static linking) - --shared use a simplified dependency graph (usually default) - --pure optimize a static dependency graph as if it were a normal - dependency graph - --env-only look only for package entries in PKG_CONFIG_PATH - --ignore-conflicts ignore 'conflicts' rules in modules - --validate validate specific .pc files for correctness - - querying specific pkg-config database fields: - - --define-variable=varname=value define variable 'varname' as 'value' - --variable=varname print specified variable entry to stdout - --cflags print required CFLAGS to stdout - --cflags-only-I print required include-dir CFLAGS to stdout - --cflags-only-other print required non-include-dir CFLAGS to stdout - --libs print required linker flags to stdout - --libs-only-L print required LDPATH linker flags to stdout - --libs-only-l print required LIBNAME linker flags to stdout - --libs-only-other print required other linker flags to stdout - --print-requires print required dependency frameworks to stdout - --print-requires-private print required dependency frameworks for static - linking to stdout - --print-provides print provided dependencies to stdout - --print-variables print all known variables in module to stdout - --digraph print entire dependency graph in graphviz 'dot' format - --keep-system-cflags keep -I/usr/include entries in cflags output - --keep-system-libs keep -L/usr/lib entries in libs output - --path show the exact filenames for any matching .pc files - --modversion print the specified module's version to stdout - --internal-cflags do not filter 'internal' cflags from output - --license print the specified module's license to stdout if known - - filtering output: - - --msvc-syntax print translatable fragments in MSVC syntax - --fragment-filter=types filter output fragments to the specified types - - report bugs to <https://github.com/pkgconf/pkgconf/issues/new>. -> compiled conf-pkg-config.3 Processing 10/39: -> installed conf-pkg-config.3 Processing 11/39: Processing 12/39: [conf-libffi: pkg-config libffi] Processing 13/39: [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] -> retrieved ctypes.0.21.1 (cached) Processing 14/39: [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] -> compiled conf-zlib.1 Processing 14/39: [conf-libffi: pkg-config libffi] -> installed conf-zlib.1 Processing 15/39: [conf-libffi: pkg-config libffi] -> compiled conf-libffi.2.0.0 Processing 15/39: -> installed conf-libffi.2.0.0 Processing 16/39: -> retrieved csexp.1.5.2 (cached) Processing 17/39: -> retrieved ctypes-foreign.0.21.1 (cached) Processing 18/39: -> retrieved bigarray-compat.1.1.0 (cached) Processing 19/39: [hdr_histogram.0.0.3: http] Processing 19/39: -> retrieved hdr_histogram.0.0.3 (https://github.com/ocaml-multicore/hdr_histogram_ocaml/releases/download/v0.0.3/hdr_histogram-0.0.3.tbz) Processing 20/39: -> retrieved dune.3.11.1 (cached) Processing 21/39: Processing 22/39: [dune: ocaml 39] -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved dune-configurator.3.11.1 (cached) + /usr/home/opam/.opam/5.1.0/bin/ocaml "boot/bootstrap.ml" "-j" "39" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 39 - Processing 22/39: [dune: ./_boot/dune.exe build] + /usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "39" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune.3.11.1) -> compiled dune.3.11.1 -> installed dune.3.11.1 Processing 24/39: [bigarray-compat: dune build] Processing 25/39: [bigarray-compat: dune build] [csexp: dune build] Processing 26/39: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build] -> compiled stdlib-shims.0.3.0 Processing 26/39: [bigarray-compat: dune build] [csexp: dune build] -> installed stdlib-shims.0.3.0 Processing 27/39: [bigarray-compat: dune build] [csexp: dune build] Processing 28/39: [bigarray-compat: dune build] [csexp: dune build] [integers: dune build] -> compiled csexp.1.5.2 Processing 28/39: [bigarray-compat: dune build] [integers: dune build] -> installed csexp.1.5.2 Processing 29/39: [bigarray-compat: dune build] [integers: dune build] Processing 30/39: [bigarray-compat: dune build] [dune-configurator: rm] [integers: dune build] -> compiled integers.0.7.0 Processing 30/39: [bigarray-compat: dune build] [dune-configurator: rm] -> installed integers.0.7.0 Processing 31/39: [bigarray-compat: dune build] [dune-configurator: rm] -> compiled bigarray-compat.1.1.0 Processing 31/39: [dune-configurator: rm] -> installed bigarray-compat.1.1.0 Processing 32/39: [dune-configurator: rm] + /bin/rm "-rf" "vendor/pp" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune-configurator.3.11.1) Processing 32/39: [dune-configurator: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/dune-configurator.3.11.1) -> compiled dune-configurator.3.11.1 -> installed dune-configurator.3.11.1 Processing 34/39: [ctypes: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "ctypes" "-j" "39" "--promote-install-files=false" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ctypes.0.21.1) Processing 34/39: [ctypes: dune install] + /usr/home/opam/.opam/5.1.0/bin/dune "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ctypes.0.21.1) -> compiled ctypes.0.21.1 -> installed ctypes.0.21.1 Processing 36/39: [ctypes-foreign: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "ctypes-foreign" "-j" "39" "--promote-install-files=false" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ctypes-foreign.0.21.1) Processing 36/39: [ctypes-foreign: dune install] + /usr/home/opam/.opam/5.1.0/bin/dune "install" "-p" "ctypes-foreign" "--create-install-files" "ctypes-foreign" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ctypes-foreign.0.21.1) -> compiled ctypes-foreign.0.21.1 -> installed ctypes-foreign.0.21.1 Processing 38/39: [hdr_histogram: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "hdr_histogram" "-j" "39" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3) - (cd _build/default/lib/libhdr_histogram/_build && /usr/local/bin/cmake ..) - -- The C compiler identification is Clang 14.0.5 - -- Detecting C compiler ABI info - -- Detecting C compiler ABI info - done - -- Check for working C compiler: /usr/bin/cc - skipped - -- Detecting C compile features - -- Detecting C compile features - done - -- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") - -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed - -- Looking for pthread_create in pthreads - -- Looking for pthread_create in pthreads - not found - -- Looking for pthread_create in pthread - -- Looking for pthread_create in pthread - found - -- Found Threads: TRUE - -- Looking for ceil in m - -- Looking for ceil in m - found - -- Looking for clock_gettime in rt - -- Looking for clock_gettime in rt - found - -- Configuring done (0.9s) - -- Generating done (0.1s) - -- Build files have been written to: /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/_build - File "lib/dune", line 29, characters 0-562: - 29 | (rule - 30 | (deps - 31 | (source_tree libhdr_histogram)) - .... - 49 | libhdr_histogram/_build/src/libhdr_histogram.so - 50 | dllhdr_histogram.so) - 51 | (copy libhdr_histogram/include/hdr/hdr_histogram.h hdr_histogram.h))))) - (cd _build/default/lib/libhdr_histogram/_build && /usr/bin/make) - [ 2%] Building C object src/CMakeFiles/hdr_histogram.dir/hdr_encoding.c.o - [ 5%] Building C object src/CMakeFiles/hdr_histogram.dir/hdr_histogram.c.o - [ 8%] Building C object src/CMakeFiles/hdr_histogram.dir/hdr_histogram_log.c.o - [ 11%] Building C object src/CMakeFiles/hdr_histogram.dir/hdr_interval_recorder.c.o - [ 13%] Building C object src/CMakeFiles/hdr_histogram.dir/hdr_thread.c.o - [ 16%] Building C object src/CMakeFiles/hdr_histogram.dir/hdr_time.c.o - [ 19%] Building C object src/CMakeFiles/hdr_histogram.dir/hdr_writer_reader_phaser.c.o - [ 22%] Linking C shared library libhdr_histogram.so - [ 22%] Built target hdr_histogram - [ 25%] Building C object src/CMakeFiles/hdr_histogram_static.dir/hdr_encoding.c.o - [ 27%] Building C object src/CMakeFiles/hdr_histogram_static.dir/hdr_histogram.c.o - [ 30%] Building C object src/CMakeFiles/hdr_histogram_static.dir/hdr_histogram_log.c.o - [ 33%] Building C object src/CMakeFiles/hdr_histogram_static.dir/hdr_interval_recorder.c.o - [ 36%] Building C object src/CMakeFiles/hdr_histogram_static.dir/hdr_thread.c.o - [ 38%] Building C object src/CMakeFiles/hdr_histogram_static.dir/hdr_time.c.o - [ 41%] Building C object src/CMakeFiles/hdr_histogram_static.dir/hdr_writer_reader_phaser.c.o - [ 44%] Linking C static library libhdr_histogram_static.a - [ 44%] Built target hdr_histogram_static - [ 47%] Building C object test/CMakeFiles/hdr_histogram_test.dir/hdr_histogram_test.c.o - [ 50%] Building C object test/CMakeFiles/hdr_histogram_test.dir/minunit.c.o - [ 52%] Linking C executable hdr_histogram_test - [ 52%] Built target hdr_histogram_test - [ 55%] Building C object test/CMakeFiles/hdr_histogram_atomic_test.dir/hdr_histogram_atomic_test.c.o - [ 58%] Building C object test/CMakeFiles/hdr_histogram_atomic_test.dir/minunit.c.o - [ 61%] Linking C executable hdr_histogram_atomic_test - [ 61%] Built target hdr_histogram_atomic_test - [ 63%] Building C object test/CMakeFiles/hdr_histogram_log_test.dir/hdr_histogram_log_test.c.o - [ 66%] Building C object test/CMakeFiles/hdr_histogram_log_test.dir/minunit.c.o - [ 69%] Linking C executable hdr_histogram_log_test - *** Error code 1 - - Stop. - make[2]: stopped in /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/_build - *** Error code 1 - - Stop. - make[1]: stopped in /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/_build - *** Error code 1 - - Stop. - make: stopped in /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/_build - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:51:10: warning: 'be16toh' macro redefined [-Wmacro-redefined] - # define be16toh(x) betoh16(x) - ^ - /usr/include/sys/_endian.h:111:9: note: previous definition is here - #define be16toh(x) __bswap16((x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:52:10: warning: 'le16toh' macro redefined [-Wmacro-redefined] - # define le16toh(x) letoh16(x) - ^ - /usr/include/sys/_endian.h:114:9: note: previous definition is here - #define le16toh(x) ((uint16_t)(x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:10: warning: 'be32toh' macro redefined [-Wmacro-redefined] - # define be32toh(x) betoh32(x) - ^ - /usr/include/sys/_endian.h:112:9: note: previous definition is here - #define be32toh(x) __bswap32((x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:55:10: warning: 'le32toh' macro redefined [-Wmacro-redefined] - # define le32toh(x) letoh32(x) - ^ - /usr/include/sys/_endian.h:115:9: note: previous definition is here - #define le32toh(x) ((uint32_t)(x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:10: warning: 'be64toh' macro redefined [-Wmacro-redefined] - # define be64toh(x) betoh64(x) - ^ - /usr/include/sys/_endian.h:113:9: note: previous definition is here - #define be64toh(x) __bswap64((x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:58:10: warning: 'le64toh' macro redefined [-Wmacro-redefined] - # define le64toh(x) letoh64(x) - ^ - /usr/include/sys/_endian.h:116:9: note: previous definition is here - #define le64toh(x) ((uint64_t)(x)) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:273:24: warning: implicit declaration of function 'betoh16' is invalid in C99 [-Wimplicit-function-declaration] - h->counts[i] = be16toh(counts_data[i]); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:51:21: note: expanded from macro 'be16toh' - # define be16toh(x) betoh16(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:282:24: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - h->counts[i] = be32toh(counts_data[i]); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:291:24: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - h->counts[i] = be64toh(counts_data[i]); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:380:22: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compressed_len = be32toh(compression_flyweight->length); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:404:32: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - lowest_discernible_value = be64toh(encoding_flyweight.lowest_discernible_value); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:478:25: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compressed_length = be32toh(compression_flyweight->length); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:503:32: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - lowest_discernible_value = be64toh(encoding_flyweight.lowest_discernible_value); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:580:25: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compressed_length = be32toh(compression_flyweight->length); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:604:32: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - lowest_discernible_value = be64toh(encoding_flyweight.lowest_discernible_value); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:674:42: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compression_cookie = get_cookie_base(be32toh(compression_flyweight->cookie)); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - 16 warnings generated. - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_time.c:80:2: warning: #warning is a language extension [-Wpedantic] - #warning "Platform not supported\n" - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_time.c:80:2: warning: "Platform not supported\n" [-W#warnings] - 2 warnings generated. - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:51:10: warning: 'be16toh' macro redefined [-Wmacro-redefined] - # define be16toh(x) betoh16(x) - ^ - /usr/include/sys/_endian.h:111:9: note: previous definition is here - #define be16toh(x) __bswap16((x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:52:10: warning: 'le16toh' macro redefined [-Wmacro-redefined] - # define le16toh(x) letoh16(x) - ^ - /usr/include/sys/_endian.h:114:9: note: previous definition is here - #define le16toh(x) ((uint16_t)(x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:10: warning: 'be32toh' macro redefined [-Wmacro-redefined] - # define be32toh(x) betoh32(x) - ^ - /usr/include/sys/_endian.h:112:9: note: previous definition is here - #define be32toh(x) __bswap32((x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:55:10: warning: 'le32toh' macro redefined [-Wmacro-redefined] - # define le32toh(x) letoh32(x) - ^ - /usr/include/sys/_endian.h:115:9: note: previous definition is here - #define le32toh(x) ((uint32_t)(x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:10: warning: 'be64toh' macro redefined [-Wmacro-redefined] - # define be64toh(x) betoh64(x) - ^ - /usr/include/sys/_endian.h:113:9: note: previous definition is here - #define be64toh(x) __bswap64((x)) - ^ - In file included from /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:33: - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:58:10: warning: 'le64toh' macro redefined [-Wmacro-redefined] - # define le64toh(x) letoh64(x) - ^ - /usr/include/sys/_endian.h:116:9: note: previous definition is here - #define le64toh(x) ((uint64_t)(x)) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:273:24: warning: implicit declaration of function 'betoh16' is invalid in C99 [-Wimplicit-function-declaration] - h->counts[i] = be16toh(counts_data[i]); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:51:21: note: expanded from macro 'be16toh' - # define be16toh(x) betoh16(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:282:24: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - h->counts[i] = be32toh(counts_data[i]); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:291:24: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - h->counts[i] = be64toh(counts_data[i]); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:380:22: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compressed_len = be32toh(compression_flyweight->length); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:404:32: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - lowest_discernible_value = be64toh(encoding_flyweight.lowest_discernible_value); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:478:25: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compressed_length = be32toh(compression_flyweight->length); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:503:32: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - lowest_discernible_value = be64toh(encoding_flyweight.lowest_discernible_value); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:580:25: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compressed_length = be32toh(compression_flyweight->length); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:604:32: warning: implicit declaration of function 'betoh64' is invalid in C99 [-Wimplicit-function-declaration] - lowest_discernible_value = be64toh(encoding_flyweight.lowest_discernible_value); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:57:21: note: expanded from macro 'be64toh' - # define be64toh(x) betoh64(x) - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_histogram_log.c:674:42: warning: implicit declaration of function 'betoh32' is invalid in C99 [-Wimplicit-function-declaration] - compression_cookie = get_cookie_base(be32toh(compression_flyweight->cookie)); - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_endian.h:54:21: note: expanded from macro 'be32toh' - # define be32toh(x) betoh32(x) - ^ - 16 warnings generated. - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_time.c:80:2: warning: #warning is a language extension [-Wpedantic] - #warning "Platform not supported\n" - ^ - /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3/_build/default/lib/libhdr_histogram/src/hdr_time.c:80:2: warning: "Platform not supported\n" [-W#warnings] - 2 warnings generated. - ld: error: undefined symbol: hdr_gettime - >>> referenced by hdr_histogram_log_test.c - >>> CMakeFiles/hdr_histogram_log_test.dir/hdr_histogram_log_test.c.o:(writes_and_reads_log) - >>> referenced by hdr_histogram_log_test.c - >>> CMakeFiles/hdr_histogram_log_test.dir/hdr_histogram_log_test.c.o:(log_reader_aggregates_into_single_histogram) - - ld: error: undefined symbol: betoh32 - >>> referenced by hdr_histogram_log.c - >>> hdr_histogram_log.c.o:(hdr_decode_compressed) in archive ../src/libhdr_histogram_static.a - >>> referenced by hdr_histogram_log.c - >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v0) in archive ../src/libhdr_histogram_static.a - >>> referenced by hdr_histogram_log.c - >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v0) in archive ../src/libhdr_histogram_static.a - >>> referenced 14 more times - - ld: error: undefined symbol: betoh64 - >>> referenced by hdr_histogram_log.c - >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v0) in archive ../src/libhdr_histogram_static.a - >>> referenced by hdr_histogram_log.c - >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v0) in archive ../src/libhdr_histogram_static.a - >>> referenced by hdr_histogram_log.c - >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v1) in archive ../src/libhdr_histogram_static.a - >>> referenced 6 more times - - ld: error: undefined symbol: betoh16 - >>> referenced by hdr_histogram_log.c - >>> hdr_histogram_log.c.o:(apply_to_counts_16) in archive ../src/libhdr_histogram_static.a - cc: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] The compilation of hdr_histogram.0.0.3 failed at "dune build -p hdr_histogram -j 39 @install". #=== ERROR while compiling hdr_histogram.0.0.3 ================================# # context 2.1.5 | freebsd/x86_64 | ocaml-base-compiler.5.1.0 | file:///usr/home/opam/opam-repository # path /usr/home/opam/.opam/5.1.0/.opam-switch/build/hdr_histogram.0.0.3 # command /usr/home/opam/.opam/5.1.0/bin/dune build -p hdr_histogram -j 39 @install # exit-code 1 # env-file /usr/home/opam/.opam/log/hdr_histogram-12189-e0bcf9.env # output-file /usr/home/opam/.opam/log/hdr_histogram-12189-e0bcf9.out ### output ### # [...] # >>> referenced by hdr_histogram_log.c # >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v0) in archive ../src/libhdr_histogram_static.a # >>> referenced by hdr_histogram_log.c # >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v0) in archive ../src/libhdr_histogram_static.a # >>> referenced by hdr_histogram_log.c # >>> hdr_histogram_log.c.o:(hdr_decode_compressed_v1) in archive ../src/libhdr_histogram_static.a # >>> referenced 6 more times # # ld: error: undefined symbol: betoh16 # >>> referenced by hdr_histogram_log.c # >>> hdr_histogram_log.c.o:(apply_to_counts_16) in archive ../src/libhdr_histogram_static.a # cc: error: linker command failed with exit code 1 (use -v to see invocation) <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build hdr_histogram 0.0.3 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install conf-cmake 1 | - install conf-libffi 2.0.0 | - install conf-pkg-config 3 | - install conf-zlib 1 | - install csexp 1.5.2 | - install ctypes 0.21.1 | - install ctypes-foreign 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/5.1.0/.opam-switch/backup/state-20231101040614.export" 'opam install -vy hdr_histogram.0.0.3' 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 "hdr_histogram.0.0.3" opam install -vy "hdr_histogram.0.0.3" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "hdr_histogram.0.0.3" | 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_35198_6696" "mount.fstab=/tmp/obuilder-jail-6204d9/fstab" "mount.devfs" "path=/obuilder/result/40484c3cac533cff9d3cd3d37cbbe55b63714a5ec6139133ee21ac35b0d274e5/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 "hdr_histogram.0.0.3" opam install -vy "hdr_histogram.0.0.3" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "hdr_histogram.0.0.3" | 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