Building on summer (from freebsd-ocaml-5.0) 2023-10-19 07:18.03 ---> 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-19 07:18.04 ---> 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-19 07:18.04 ---> 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-19 07:18.04 ---> using "76fe4e508bf18ac6169aa42d066ca9a1236d6528de4350d6a7fa0ee89b29da2f" 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-10-19 07:18.04 ---> using "45001699be8995f4b15be626c3924c9cad054345a4e372d9e7d67e717e7c9603" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2023-10-19 07:18.04 ---> using "46c9f3ab7d5746063c1ef6a70a58a8d70b9b45d47abb0a64ca248a2dcd32acaa" from cache /: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"raygui.0.6.0\"\ \nopam install -vy \"raygui.0.6.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"raygui.0.6.0\" | 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] raygui.0.6.0 is not installed. Nothing to do. The following actions will be performed: - install dune 3.11.1 [required by raygui] - install conf-pkg-config 3 [required by conf-libxrandr, conf-libxi, conf-libxcursor, etc.] - 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-mesa 1 [required by raylib] - install conf-libxrandr 1 [required by raylib] - install conf-libxinerama 1 [required by raylib] - install conf-libxi 1 [required by raylib] - install conf-libxcursor 1 [required by raylib] - install integers 0.7.0 [required by ctypes, raylib] - install dune-configurator 3.11.1 [required by raygui] - install ctypes 0.21.1 [required by raygui] - install raylib 1.1.0 [required by raygui] - install raygui 0.6.0 ===== 15 to install ===== The following system packages will first need to be installed: libXcursor libXi libXinerama libXrandr mesa-libs <><> 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" "libXcursor" "libXi" "libXinerama" "libXrandr" "mesa-libs" - Updating FreeBSD repository catalogue... - [summer] 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. - [summer] [1/1] Fetching pkg-1.20.8.pkg: ....... - ... done - Checking integrity... done (0 conflicting) - [summer] [1/1] Upgrading pkg from 1.19.2 to 1.20.8... - [summer] [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 23 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - libX11: 1.8.7,1 - libXau: 1.0.9 - libXcursor: 1.2.0_1 - libXdamage: 1.1.6 - libXdmcp: 1.1.3 - libXext: 1.3.4,1 - libXfixes: 6.0.0 - libXi: 1.8,1 - libXinerama: 1.1.4_2,1 - libXrandr: 1.5.2 - libXrender: 0.9.10_2 - libXxf86vm: 1.1.4_3 - libdrm: 2.4.116,1 - libepoll-shim: 0.0.20230411 - libglvnd: 1.6.0_2 - libpciaccess: 0.17 - libunwind: 20211201_2 - libxcb: 1.15_1 - libxml2: 2.10.4_1 - libxshmfence: 1.3.2 - mesa-libs: 22.3.7_2 - wayland: 1.22.0 - xorgproto: 2022.1_1 - - Number of packages to be installed: 23 - - The process will require 28 MiB more space. - 5 MiB to be downloaded. - [summer] [1/23] Fetching libxcb-1.15_1.pkg: .......... done - [summer] [2/23] Fetching libXcursor-1.2.0_1.pkg: .... done - [summer] [3/23] Fetching libglvnd-1.6.0_2.pkg: .......... done - [summer] [4/23] Fetching libXrandr-1.5.2.pkg: .... done - [summer] [5/23] Fetching libunwind-20211201_2.pkg: ......... done - [summer] [6/23] Fetching libXext-1.3.4,1.pkg: ........ done - [summer] [7/23] Fetching libXxf86vm-1.1.4_3.pkg: .. done - [summer] [8/23] Fetching libXdamage-1.1.6.pkg: . done - [summer] [9/23] Fetching libdrm-2.4.116,1.pkg: .......... done - [summer] [10/23] Fetching libXfixes-6.0.0.pkg: ... done - [summer] [11/23] Fetching libXinerama-1.1.4_2,1.pkg: ... done - [summer] [12/23] Fetching libXau-1.0.9.pkg: .. done - [summer] [13/23] Fetching wayland-1.22.0.pkg: .......... done - [summer] [14/23] Fetching libxml2-2.10.4_1.pkg: .......... done - [summer] [15/23] Fetching libxshmfence-1.3.2.pkg: .. done - [summer] [16/23] Fetching libepoll-shim-0.0.20230411.pkg: .... done - [summer] [17/23] Fetching libX11-1.8.7,1.pkg: .......... done - [summer] [18/23] Fetching libXrender-0.9.10_2.pkg: .... done - [summer] [19/23] Fetching xorgproto-2022.1_1.pkg: .......... done - [summer] [20/23] Fetching libXi-1.8,1.pkg: ......... done - [summer] [21/23] Fetching libXdmcp-1.1.3.pkg: ... done - [summer] [22/23] Fetching mesa-libs-22.3.7_2.pkg: .......... done - [summer] [23/23] Fetching libpciaccess-0.17.pkg: ... done - Checking integrity... done (0 conflicting) - [summer] [1/23] Installing xorgproto-2022.1_1... - [summer] [1/23] Extracting xorgproto-2022.1_1: .......... done - [summer] [2/23] Installing libXau-1.0.9... - [summer] [2/23] Extracting libXau-1.0.9: .......... done - [summer] [3/23] Installing libXdmcp-1.1.3... - [summer] [3/23] Extracting libXdmcp-1.1.3: ......... done - [summer] [4/23] Installing libxcb-1.15_1... - [summer] [4/23] Extracting libxcb-1.15_1: .. - ........ done - [summer] [5/23] Installing libX11-1.8.7,1... - [summer] [5/23] Extracting libX11-1.8.7,1: .......... done - [summer] [6/23] Installing libXext-1.3.4,1... - [summer] [6/23] Extracting libXext-1.3.4,1: .......... done - [summer] [7/23] Installing libXfixes-6.0.0... - [summer] [7/23] Extracting libXfixes-6.0.0: .......... done - [summer] [8/23] Installing libxml2-2.10.4_1... - [summer] [8/23] Extracting libxml2-2.10.4_1: .. - ........ done - [summer] [9/23] Installing libepoll-shim-0.0.20230411... - [summer] [9/23] Extracting libepoll-shim-0.0.20230411: .......... done - [summer] [10/23] Installing libXrender-0.9.10_2... - [summer] [10/23] Extracting libXrender-0.9.10_2: .......... done - [summer] [11/23] Installing libpciaccess-0.17... - [summer] [11/23] Extracting libpciaccess-0.17: ........ done - [summer] [12/23] Installing libglvnd-1.6.0_2... - [summer] [12/23] Extracting libglvnd-1.6.0_2: .......... done - [summer] [13/23] Installing libXrandr-1.5.2... - [summer] [13/23] Extracting libXrandr-1.5.2: .......... done - [summer] [14/23] Installing libunwind-20211201_2... - [summer] [14/23] Extracting libunwind-20211201_2: .......... done - [summer] [15/23] Installing libXxf86vm-1.1.4_3... - [summer] [15/23] Extracting libXxf86vm-1.1.4_3: .......... done - [summer] [16/23] Installing libXdamage-1.1.6... - [summer] [16/23] Extracting libXdamage-1.1.6: ......... done - [summer] [17/23] Installing libdrm-2.4.116,1... - [summer] [17/23] Extracting libdrm-2.4.116,1: .......... done - [summer] [18/23] Installing wayland-1.22.0... - [summer] [18/23] Extracting wayland-1.22.0: .......... done - [summer] [19/23] Installing libxshmfence-1.3.2... - [summer] [19/23] Extracting libxshmfence-1.3.2: ......... done - [summer] [20/23] Installing libXcursor-1.2.0_1... - [summer] [20/23] Extracting libXcursor-1.2.0_1: .......... done - [summer] [21/23] Installing libXinerama-1.1.4_2,1... - [summer] [21/23] Extracting libXinerama-1.1.4_2,1: .......... done - [summer] [22/23] Installing libXi-1.8,1... - [summer] [22/23] Extracting libXi-1.8,1: .......... done - [summer] [23/23] Installing mesa-libs-22.3.7_2... - [summer] [23/23] Extracting mesa-libs-22.3.7_2: .......... done - ===== - Message from wayland-1.22.0: - - -- - Wayland requires XDG_RUNTIME_DIR to be defined to a path that will - contain "wayland-%d" unix(4) sockets. This is usually handled by - consolekit2 (via ck-launch-session) or pam_xdg (via login). <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/45: Processing 2/45: Processing 3/45: Processing 4/45: Processing 5/45: Processing 6/45: Processing 7/45: Processing 8/45: Processing 9/45: Processing 10/45: [conf-pkg-config: pkg-config] -> retrieved ctypes.0.21.1 (cached) Processing 11/45: [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 - --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 - - 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 11/45: -> installed conf-pkg-config.3 Processing 12/45: Processing 13/45: [conf-libxcursor: pkg-config xcursor] Processing 14/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] Processing 15/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] [conf-libxinerama: pkg-config xinerama] Processing 16/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] [conf-libxinerama: pkg-config xinerama] [conf-libxrandr: pkg-config xrandr] Processing 17/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] [conf-libxinerama: pkg-config xinerama] [conf-libxrandr: pkg-config xrandr] [conf-mesa: pkg-config gl] -> compiled conf-libxrandr.1 Processing 17/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] [conf-libxinerama: pkg-config xinerama] [conf-mesa: pkg-config gl] -> installed conf-libxrandr.1 Processing 18/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] [conf-libxinerama: pkg-config xinerama] [conf-mesa: pkg-config gl] -> compiled conf-mesa.1 Processing 18/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] [conf-libxinerama: pkg-config xinerama] -> installed conf-mesa.1 Processing 19/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] [conf-libxinerama: pkg-config xinerama] -> compiled conf-libxinerama.1 Processing 19/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] -> installed conf-libxinerama.1 Processing 20/45: [conf-libxcursor: pkg-config xcursor] [conf-libxi: pkg-config xi] -> compiled conf-libxi.1 Processing 20/45: [conf-libxcursor: pkg-config xcursor] -> installed conf-libxi.1 Processing 21/45: [conf-libxcursor: pkg-config xcursor] -> compiled conf-libxcursor.1 Processing 21/45: -> installed conf-libxcursor.1 Processing 22/45: -> retrieved csexp.1.5.2 (cached) Processing 23/45: -> retrieved bigarray-compat.1.1.0 (cached) Processing 24/45: -> retrieved integers.0.7.0 (cached) Processing 25/45: [raygui.0.6.0: http] Processing 25/45: -> retrieved dune.3.11.1 (cached) Processing 26/45: [raylib.1.1.0: http] Processing 27/45: [raylib.1.1.0: http] [dune: ocaml 15] Processing 27/45: [dune: ocaml 15] -> retrieved raygui.0.6.0 (https://github.com/tjammer/raylib-ocaml/releases/download/0.6.0/raylib-0.6.0.tbz) Processing 28/45: [dune: ocaml 15] -> retrieved dune-configurator.3.11.1 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved raylib.1.1.0 (https://github.com/tjammer/raylib-ocaml/releases/download/1.1.0/raylib-1.1.0.tbz) + /usr/home/opam/.opam/5.1.0/bin/ocaml "boot/bootstrap.ml" "-j" "15" (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 15 - Processing 28/45: [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" "15" (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 30/45: [bigarray-compat: dune build] Processing 31/45: [bigarray-compat: dune build] [csexp: dune build] Processing 32/45: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build] -> compiled stdlib-shims.0.3.0 Processing 32/45: [bigarray-compat: dune build] [csexp: dune build] -> installed stdlib-shims.0.3.0 Processing 33/45: [bigarray-compat: dune build] [csexp: dune build] Processing 34/45: [bigarray-compat: dune build] [csexp: dune build] [integers: dune build] -> compiled csexp.1.5.2 Processing 34/45: [bigarray-compat: dune build] [integers: dune build] -> installed csexp.1.5.2 Processing 35/45: [bigarray-compat: dune build] [integers: dune build] Processing 36/45: [bigarray-compat: dune build] [dune-configurator: rm] [integers: dune build] -> compiled bigarray-compat.1.1.0 Processing 36/45: [dune-configurator: rm] [integers: dune build] -> installed bigarray-compat.1.1.0 Processing 37/45: [dune-configurator: rm] [integers: dune build] Processing 37/45: [dune-configurator: dune build] [integers: dune build] -> compiled integers.0.7.0 Processing 37/45: [dune-configurator: dune build] -> installed integers.0.7.0 Processing 38/45: [dune-configurator: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "dune-configurator" "-j" "15" "@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 40/45: [ctypes: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "ctypes" "-j" "15" "--promote-install-files=false" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/ctypes.0.21.1) Processing 40/45: [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 42/45: [raylib: dune build] + /usr/home/opam/.opam/5.1.0/bin/dune "build" "-p" "raylib" "-j" "15" "@install" (CWD=/usr/home/opam/.opam/5.1.0/.opam-switch/build/raylib.1.1.0) - File "src/c/dune", line 131, characters 0-687: - 131 | (rule - 132 | (alias build-raylib) - 133 | (targets libraylib.a dllraylib.so) - ..... - 153 | (run gmake -C vendor/raylib/src clean) - 154 | (run gmake -C vendor/raylib/src RAYLIB_LIBTYPE=SHARED -j 8) - 155 | (copy vendor/raylib/src/libraylib.4.5.0.so dllraylib.so))))) - (cd _build/default/src/c && /usr/local/bin/gmake -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8) - gmake: Entering directory '/usr/home/opam/.opam/5.1.0/.opam-switch/build/raylib.1.1.0/_build/default/src/c/vendor/raylib/src' - gcc -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -I/usr/local/include - gmake: Leaving directory '/usr/home/opam/.opam/5.1.0/.opam-switch/build/raylib.1.1.0/_build/default/src/c/vendor/raylib/src' - gmake: gcc: No such file or directory - gmake: *** [Makefile:673: rcore.o] Error 127 - (cd _build/default/src/c && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /usr/home/opam/.opam/5.1.0/lib/ocaml -I /usr/home/opam/.opam/5.1.0/lib/bigarray-compat -I /usr/home/opam/.opam/5.1.0/lib/ctypes -I /usr/home/opam/.opam/5.1.0/lib/ctypes/stubs -I /usr/home/opam/.opam/5.1.0/lib/integers -I /usr/home/opam/.opam/5.1.0/lib/ocaml/str -I /usr/home/opam/.opam/5.1.0/lib/stdlib-shims -I functions -I types -I vendor/raylib/src -o c_generated_rlgl.o -c c_generated_rlgl.c) - c_generated_rlgl.c:693:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x712 = rlGetPixelFormatName(x709); - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1 warning generated. - (cd _build/default/src/c && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /usr/home/opam/.opam/5.1.0/lib/ocaml -I /usr/home/opam/.opam/5.1.0/lib/bigarray-compat -I /usr/home/opam/.opam/5.1.0/lib/ctypes -I /usr/home/opam/.opam/5.1.0/lib/ctypes/stubs -I /usr/home/opam/.opam/5.1.0/lib/integers -I /usr/home/opam/.opam/5.1.0/lib/ocaml/str -I /usr/home/opam/.opam/5.1.0/lib/stdlib-shims -I functions -I types -I vendor/raylib/src -o c_generated_functions.o -c c_generated_functions.c) - c_generated_functions.c:231:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x157 = GetMonitorName(x154); - ^ ~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:242:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x162 = GetClipboardText(); - ^ ~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:662:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - UnloadFileData(x494); - ^~~~ - vendor/raylib/src/raylib.h:1064:42: note: passing argument to parameter 'data' here - RLAPI void UnloadFileData(unsigned char *data); // Unload file data allocated by LoadFileData() - ^ - c_generated_functions.c:678:34: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - _Bool x513 = ExportDataAsCode(x508, x509, x512); - ^~~~ - vendor/raylib/src/raylib.h:1066:50: note: passing argument to parameter 'data' here - RLAPI bool ExportDataAsCode(const unsigned char *data, unsigned int size, const char *fileName); // Export data to code (.h), returns true on success - ^ - c_generated_functions.c:728:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x541 = GetFileExtension(x540); - ^ ~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:734:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x544 = GetFileName(x543); - ^ ~~~~~~~~~~~~~~~~~ - c_generated_functions.c:740:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x547 = GetFileNameWithoutExt(x546); - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:746:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x550 = GetDirectoryPath(x549); - ^ ~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:752:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x553 = GetPrevDirectoryPath(x552); - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:757:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x555 = GetWorkingDirectory(); - ^ ~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:762:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x557 = GetApplicationDirectory(); - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:887:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x649 = GetGamepadName(x646); - ^ ~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:1835:52: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - struct Image x1748 = LoadImageFromMemory(x1743, x1744, x1745); - ^~~~~ - vendor/raylib/src/raylib.h:1231:76: note: passing argument to parameter 'fileData' here - RLAPI Image LoadImageFromMemory(const char *fileType, const unsigned char *fileData, int dataSize); // Load image from memory buffer, fileType refers to extension: i.e. '.png' - ^ - c_generated_functions.c:2879:30: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - LoadFontFromMemory(x2876, x2877, x2878, x2881, x2884, x2885); - ^~~~~ - vendor/raylib/src/raylib.h:1356:74: note: passing argument to parameter 'fileData' here - RLAPI Font LoadFontFromMemory(const char *fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int glyphCount); // Load font from memory buffer, fileType refers to extension: i.e. '.ttf' - ^ - c_generated_functions.c:2911:17: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - LoadFontData(x2906, x2907, x2910, x2913, x2914, x2917); - ^~~~~ - vendor/raylib/src/raylib.h:1358:52: note: passing argument to parameter 'fileData' here - RLAPI GlyphInfo *LoadFontData(const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int glyphCount, int type); // Load font data for further use - ^ - c_generated_functions.c:3199:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x3215 = CodepointToUTF8(x3211, x3214); - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:3227:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x3239 = TextSubtext(x3232, x3233, x3236); - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:3264:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x3270 = TextToUpper(x3269); - ^ ~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:3270:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x3273 = TextToLower(x3272); - ^ ~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:3276:10: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - char* x3276 = TextToPascal(x3275); - ^ ~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c:4044:62: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] - struct ModelAnimation* x4177 = LoadModelAnimations(x4175, x4176); - ^~~~~ - vendor/raylib/src/raylib.h:1488:79: note: passing argument to parameter 'animCount' here - RLAPI ModelAnimation *LoadModelAnimations(const char *fileName, unsigned int *animCount); // Load model animations from file - ^ - c_generated_functions.c:4213:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - struct Wave x4346 = LoadWaveFromMemory(x4341, x4342, x4343); - ^~~~~ - vendor/raylib/src/raylib.h:1517:74: note: passing argument to parameter 'fileData' here - RLAPI Wave LoadWaveFromMemory(const char *fileType, const unsigned char *fileData, int dataSize); // Load wave from memory buffer, fileType refers to extension: i.e. '.wav' - ^ - c_generated_functions.c:4391:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] - struct Music x4502 = LoadMusicStreamFromMemory(x4497, x4498, x4499); - ^~~~~ - vendor/raylib/src/raylib.h:1545:82: note: passing argument to parameter 'data' here - RLAPI Music LoadMusicStreamFromMemory(const char *fileType, const unsigned char *data, int dataSize); // Load music stream from data - ^ - 23 warnings generated. [ERROR] The compilation of raylib.1.1.0 failed at "dune build -p raylib -j 15 @install". #=== ERROR while compiling raylib.1.1.0 =======================================# # 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/raylib.1.1.0 # command /usr/home/opam/.opam/5.1.0/bin/dune build -p raylib -j 15 @install # exit-code 1 # env-file /usr/home/opam/.opam/log/raylib-24766-8cd342.env # output-file /usr/home/opam/.opam/log/raylib-24766-8cd342.out ### output ### # c_generated_functions.c:4213:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] # [...] # ^~~~~ # vendor/raylib/src/raylib.h:1517:74: note: passing argument to parameter 'fileData' here # RLAPI Wave LoadWaveFromMemory(const char *fileType, const unsigned char *fileData, int dataSize); // Load wave from memory buffer, fileType refers to extension: i.e. '.wav' # ^ # c_generated_functions.c:4391:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] # struct Music x4502 = LoadMusicStreamFromMemory(x4497, x4498, x4499); # ^~~~~ # vendor/raylib/src/raylib.h:1545:82: note: passing argument to parameter 'data' here # RLAPI Music LoadMusicStreamFromMemory(const char *fileType, const unsigned char *data, int dataSize); // Load music stream from data # ^ # 23 warnings generated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install raygui 0.6.0 +- +- The following actions failed | - build raylib 1.1.0 +- +- The following changes have been performed (the rest was aborted) | - install bigarray-compat 1.1.0 | - install conf-libxcursor 1 | - install conf-libxi 1 | - install conf-libxinerama 1 | - install conf-libxrandr 1 | - install conf-mesa 1 | - install conf-pkg-config 3 | - 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/5.1.0/.opam-switch/backup/state-20231019071818.export" 'opam install -vy raygui.0.6.0' 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 "raygui.0.6.0" opam install -vy "raygui.0.6.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "raygui.0.6.0" | 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_90869_40" "mount.fstab=/tmp/obuilder-jail-616b58/fstab" "mount.devfs" "path=/obuilder/result/3307bea68b24c9bbae1ba69a4e117b19ced724237fc3bb73da5b657fe714dad0/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 "raygui.0.6.0" opam install -vy "raygui.0.6.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "raygui.0.6.0" | 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