Build:
- 0
2026-07-26 10:55.32: New job: build raylib.0.5.1 (e558ec037d07) 2026-07-26 10:55.32: Waiting for resource in pool day11-builds 2026-07-26 11:29.37: Got resource from pool day11-builds 2026-07-26 11:29.37: [profile full] build raylib.0.5.1 2026-07-26 11:29.37: build raylib.0.5.1 (e558ec037d07) === DEPENDENCIES (30 transitive) === base-threads.base afe16a8e71c3 base-unix.base 73c0a5fdd34a bigarray-compat.1.1.0 8a9318fcf131 conf-libxcursor.1 c92e731fec24 conf-libxi.1 695b784e5160 conf-libxinerama.1 6844e08c15a4 conf-libxrandr.1 8060910cffaf conf-mesa.1 945c2e215d02 conf-pkg-config.5 2c611009363a containers.3.17 06fd9d2b00dc cppo.1.8.0 2edfdbc3081b csexp.1.5.2 165c62d800a3 ctypes.0.24.0 c9bd8284f2af dune.3.24.1 a564647bf5df dune-configurator.3.24.1 0de000ae1557 either.1.0.0 55b25785dd42 integers.0.8.0 d6fcd5ddcaa3 num.1.6 91ee11c59922 ocaml.5.0.0 d203337dd94a ocaml-base-compiler.5.0.0 64315d9ded63 ocaml-compiler-libs.v0.12.4 5dd8b612cc39 ocaml-config.3 f70c49e25855 ocamlfind.1.9.8 90aed7435920 ppx_cstubs.0.7.0 dac464f79c6e ppx_derivers.1.2.1 596f355a6f76 ppxlib.0.35.0 18e0766eb834 re.1.14.0 159883e89df0 result.1.5 d7d755897099 sexplib0.v0.17.0 a738d393f691 stdlib-shims.0.3.0 47fd8f80be4d === STDOUT === Processing: [default: loading data] [raylib.0.5.1: dl] [raylib.0.5.1: extract] -> retrieved raylib.0.5.1 (https://opam.ocaml.org/cache) [raylib: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "raylib" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1) - (cd _build/default/src/c && /usr/bin/patch --binary -p1) < _build/default/src/c/linux.patch - patching file vendor/raylib/src/config.h - Hunk #1 succeeded at 44 (offset -3 lines). - (cd _build/default/src/c && /usr/bin/make -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8) - make: Entering directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/src' - gcc -c rcore.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rshapes.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rtextures.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rtext.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c utils.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP - gcc -c rglfw.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rmodels.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c raudio.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP - ar rcs /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rglfw.o rmodels.o raudio.o - raylib static library generated (libraylib.a) in /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib! - make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/src' - In file included from rtext.c:71: - external/stb_truetype.h:4962:15: warning: 'stbtt_CompareUTF8toUTF16_bigendian' defined but not used [-Wunused-function] - 4962 | STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4957:15: warning: 'stbtt_FindMatchingFont' defined but not used [-Wunused-function] - 4957 | STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4947:15: warning: 'stbtt_GetNumberOfFonts' defined but not used [-Wunused-function] - 4947 | STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4935:15: warning: 'stbtt_BakeFontBitmap' defined but not used [-Wunused-function] - 4935 | STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, - | ^~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4822:23: warning: 'stbtt_GetFontNameString' defined but not used [-Wunused-function] - 4822 | STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID) - | ^~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4765:16: warning: 'stbtt_FreeSDF' defined but not used [-Wunused-function] - 4765 | STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:4363:16: warning: 'stbtt_GetPackedQuad' defined but not used [-Wunused-function] - 4363 | STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer) - | ^~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4350:16: warning: 'stbtt_GetScaledFontVMetrics' defined but not used [-Wunused-function] - 4350 | STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4338:15: warning: 'stbtt_PackFontRange' defined but not used [-Wunused-function] - 4338 | STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, - | ^~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4005:16: warning: 'stbtt_PackSetSkipMissingCodepoints' defined but not used [-Wunused-function] - 4005 | STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3995:16: warning: 'stbtt_PackSetOversampling' defined but not used [-Wunused-function] - 3995 | STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3989:16: warning: 'stbtt_PackEnd' defined but not used [-Wunused-function] - 3989 | STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:3957:15: warning: 'stbtt_PackBegin' defined but not used [-Wunused-function] - 3957 | STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding, void *alloc_context) - | ^~~~~~~~~~~~~~~ - external/stb_truetype.h:3859:16: warning: 'stbtt_GetBakedQuad' defined but not used [-Wunused-function] - 3859 | STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule) - | ^~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3802:16: warning: 'stbtt_MakeCodepointBitmap' defined but not used [-Wunused-function] - 3802 | STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3787:16: warning: 'stbtt_MakeCodepointBitmapSubpixelPrefilter' defined but not used [-Wunused-function] - 3787 | STBTT_DEF void stbtt_MakeCodepointBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int codepoint) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3753:26: warning: 'stbtt_GetGlyphBitmap' defined but not used [-Wunused-function] - 3753 | STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff) - | ^~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3708:16: warning: 'stbtt_FreeBitmap' defined but not used [-Wunused-function] - 3708 | STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~~~~ - In file included from raudio.c:199: - external/stb_vorbis.h: In function 'stbv_decode_residue': - external/stb_vorbis.h:900:46: warning: statement with no effect [-Wunused-value] - 900 | #define stbv_temp_free(f,p) 0 - | ^ - external/stb_vorbis.h:2275:4: note: in expansion of macro 'stbv_temp_free' - 2275 | stbv_temp_free(f,part_classdata); - | ^~~~~~~~~~~~~~ - external/stb_truetype.h:2749:16: warning: 'stbtt_GetCodepointBitmapBox' defined but not used [-Wunused-function] - 2749 | STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2711:15: warning: 'stbtt_GetCodepointSVG' defined but not used [-Wunused-function] - 2711 | STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2672:16: warning: 'stbtt_FreeShape' defined but not used [-Wunused-function] - 2672 | STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) - | ^~~~~~~~~~~~~~~ - external/stb_truetype.h:2652:16: warning: 'stbtt_GetFontBoundingBox' defined but not used [-Wunused-function] - 2652 | STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2641:16: warning: 'stbtt_GetFontVMetricsOS2' defined but not used [-Wunused-function] - 2641 | STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2622:16: warning: 'stbtt_GetCodepointKernAdvance' defined but not used [-Wunused-function] - 2622 | STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_vorbis.h: In function 'stbv_inverse_mdct': - external/stb_vorbis.h:900:46: warning: statement with no effect [-Wunused-value] - 900 | #define stbv_temp_free(f,p) 0 - | ^ - external/stb_vorbis.h:2924:4: note: in expansion of macro 'stbv_temp_free' - 2924 | stbv_temp_free(f,buf2); - | ^~~~~~~~~~~~~~ - external/stb_truetype.h:2332:15: warning: 'stbtt_GetKerningTable' defined but not used [-Wunused-function] - 2332 | STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2317:16: warning: 'stbtt_GetKerningTableLength' defined but not used [-Wunused-function] - 2317 | STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1646:15: warning: 'stbtt_IsGlyphEmpty' defined but not used [-Wunused-function] - 1646 | STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) - | ^~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1641:15: warning: 'stbtt_GetCodepointBox' defined but not used [-Wunused-function] - 1641 | STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1589:15: warning: 'stbtt_GetCodepointShape' defined but not used [-Wunused-function] - 1589 | STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) - | ^~~~~~~~~~~~~~~~~~~~~~~ - In file included from rglfw.c:97: - external/glfw/src/posix_time.c:30:9: warning: "_POSIX_C_SOURCE" redefined - 30 | #define _POSIX_C_SOURCE 199309L - | ^~~~~~~~~~~~~~~ - In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdint.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/14/include/stdint.h:9, - from external/glfw/src/../include/GLFW/glfw3.h:108, - from external/glfw/src/internal.h:49, - from external/glfw/src/context.c:30, - from rglfw.c:61: - /usr/include/features.h:313:10: note: this is the location of the previous definition - 313 | # define _POSIX_C_SOURCE 200809L - | ^~~~~~~~~~~~~~~ - In file included from rmodels.c:41: - external/par_shapes.h: In function 'par_shapes_create_disk': - raylib.h:114:33: warning: argument 1 range [18446744069414584320, 18446744073709551610] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] - 114 | #define RL_MALLOC(sz) malloc(sz) - | ^~~~~~~~~~ - rmodels.c:86:35: note: in expansion of macro 'RL_MALLOC' - 86 | #define PAR_MALLOC(T, N) ((T*)RL_MALLOC(N*sizeof(T))) - | ^~~~~~~~~ - external/par_shapes.h:741:23: note: in expansion of macro 'PAR_MALLOC' - 741 | mesh->triangles = PAR_MALLOC(PAR_SHAPES_T, 3 * mesh->ntriangles); - | ^~~~~~~~~~ - In file included from rmodels.c:53: - /usr/include/stdlib.h:672:14: note: in a call to allocation function 'malloc' declared here - 672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ - | ^~~~~~ - In file included from raudio.c:167: - external/miniaudio.h: In function 'ma_device_write__alsa': - external/miniaudio.h:21322:25: warning: 'resultALSA' may be used uninitialized [-Wmaybe-uninitialized] - 21322 | *pFramesWritten = resultALSA; - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ - external/miniaudio.h:21270:26: note: 'resultALSA' was declared here - 21270 | ma_snd_pcm_sframes_t resultALSA; - | ^~~~~~~~~~ - external/miniaudio.h: In function 'ma_device_read__alsa': - external/miniaudio.h:21262:22: warning: 'resultALSA' may be used uninitialized [-Wmaybe-uninitialized] - 21262 | *pFramesRead = resultALSA; - | ~~~~~~~~~~~~~^~~~~~~~~~~~ - external/miniaudio.h:21216:26: note: 'resultALSA' was declared here - 21216 | ma_snd_pcm_sframes_t resultALSA; - | ^~~~~~~~~~ - external/stb_vorbis.h: In function 'stbv_start_decoder': - external/stb_vorbis.h:3939:37: warning: 'hi' may be used uninitialized [-Wmaybe-uninitialized] - 3939 | g->stbv_neighbors[j][1] = hi; - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ - external/stb_vorbis.h:3936:21: note: 'hi' was declared here - 3936 | int low,hi; - | ^~ - external/stb_vorbis.h:3938:37: warning: 'low' may be used uninitialized [-Wmaybe-uninitialized] - 3938 | g->stbv_neighbors[j][0] = low; - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ - external/stb_vorbis.h:3936:17: note: 'low' was declared here - 3936 | int low,hi; - | ^~~ - (cd _build/default/src/c && /usr/bin/make -C vendor/raylib/src clean) - make: Entering directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/src' - rm -fv *.o /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/libraylib.a /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/libraylib.bc /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/libraylib.so* - removed 'raudio.o' - removed 'rcore.o' - removed 'rglfw.o' - removed 'rmodels.o' - removed 'rshapes.o' - removed 'rtext.o' - removed 'rtextures.o' - removed 'utils.o' - removed '/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/libraylib.a' - removed all generated files! - make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/src' - (cd _build/default/src/c && /usr/bin/make -C vendor/raylib/src RAYLIB_LIBTYPE=SHARED -j 8) - make: Entering directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/src' - gcc -c rcore.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rshapes.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rtextures.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rtext.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c utils.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP - gcc -c rglfw.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c rmodels.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 - gcc -c raudio.c -Wall -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -s -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -DPLATFORM_DESKTOP - gcc -shared -o /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/libraylib.so.4.0.0 rcore.o rshapes.o rtextures.o rtext.o utils.o rglfw.o rmodels.o raudio.o -Wl,-soname,libraylib.so.400 -lGL -lc -lm -lpthread -ldl -lrt -lX11 - raylib shared library generated (libraylib.so.4.0.0) in /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib! - cd /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib && ln -fsv libraylib.so.4.0.0 libraylib.so.400 - 'libraylib.so.400' -> 'libraylib.so.4.0.0' - cd /home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib && ln -fsv libraylib.so.400 libraylib.so - 'libraylib.so' -> 'libraylib.so.400' - make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.5.1/_build/default/src/c/vendor/raylib/src' - In file included from rtext.c:71: - external/stb_truetype.h:4962:15: warning: 'stbtt_CompareUTF8toUTF16_bigendian' defined but not used [-Wunused-function] - 4962 | STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4957:15: warning: 'stbtt_FindMatchingFont' defined but not used [-Wunused-function] - 4957 | STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4947:15: warning: 'stbtt_GetNumberOfFonts' defined but not used [-Wunused-function] - 4947 | STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4935:15: warning: 'stbtt_BakeFontBitmap' defined but not used [-Wunused-function] - 4935 | STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, - | ^~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4822:23: warning: 'stbtt_GetFontNameString' defined but not used [-Wunused-function] - 4822 | STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID) - | ^~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4765:16: warning: 'stbtt_FreeSDF' defined but not used [-Wunused-function] - 4765 | STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:4363:16: warning: 'stbtt_GetPackedQuad' defined but not used [-Wunused-function] - 4363 | STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer) - | ^~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4350:16: warning: 'stbtt_GetScaledFontVMetrics' defined but not used [-Wunused-function] - 4350 | STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4338:15: warning: 'stbtt_PackFontRange' defined but not used [-Wunused-function] - 4338 | STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, - | ^~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4005:16: warning: 'stbtt_PackSetSkipMissingCodepoints' defined but not used [-Wunused-function] - 4005 | STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3995:16: warning: 'stbtt_PackSetOversampling' defined but not used [-Wunused-function] - 3995 | STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3989:16: warning: 'stbtt_PackEnd' defined but not used [-Wunused-function] - 3989 | STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:3957:15: warning: 'stbtt_PackBegin' defined but not used [-Wunused-function] - 3957 | STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding, void *alloc_context) - | ^~~~~~~~~~~~~~~ - external/stb_truetype.h:3859:16: warning: 'stbtt_GetBakedQuad' defined but not used [-Wunused-function] - 3859 | STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule) - | ^~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3802:16: warning: 'stbtt_MakeCodepointBitmap' defined but not used [-Wunused-function] - 3802 | STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3787:16: warning: 'stbtt_MakeCodepointBitmapSubpixelPrefilter' defined but not used [-Wunused-function] - 3787 | STBTT_DEF void stbtt_MakeCodepointBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int codepoint) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3753:26: warning: 'stbtt_GetGlyphBitmap' defined but not used [-Wunused-function] - 3753 | STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff) - | ^~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3708:16: warning: 'stbtt_FreeBitmap' defined but not used [-Wunused-function] - 3708 | STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~~~~ - external/stb_truetype.h:2749:16: warning: 'stbtt_GetCodepointBitmapBox' defined but not used [-Wunused-function] - 2749 | STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2711:15: warning: 'stbtt_GetCodepointSVG' defined but not used [-Wunused-function] - 2711 | STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2672:16: warning: 'stbtt_FreeShape' defined but not used [-Wunused-function] - 2672 | STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) - | ^~~~~~~~~~~~~~~ - external/stb_truetype.h:2652:16: warning: 'stbtt_GetFontBoundingBox' defined but not used [-Wunused-function] - 2652 | STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2641:16: warning: 'stbtt_GetFontVMetricsOS2' defined but not used [-Wunused-function] - 2641 | STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2622:16: warning: 'stbtt_GetCodepointKernAdvance' defined but not used [-Wunused-function] - 2622 | STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2332:15: warning: 'stbtt_GetKerningTable' defined but not used [-Wunused-function] - 2332 | STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2317:16: warning: 'stbtt_GetKerningTableLength' defined but not used [-Wunused-function] - 2317 | STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1646:15: warning: 'stbtt_IsGlyphEmpty' defined but not used [-Wunused-function] - 1646 | STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) - | ^~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1641:15: warning: 'stbtt_GetCodepointBox' defined but not used [-Wunused-function] - 1641 | STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1589:15: warning: 'stbtt_GetCodepointShape' defined but not used [-Wunused-function] - 1589 | STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) - | ^~~~~~~~~~~~~~~~~~~~~~~ - In file included from rglfw.c:97: - external/glfw/src/posix_time.c:30:9: warning: "_POSIX_C_SOURCE" redefined - 30 | #define _POSIX_C_SOURCE 199309L - | ^~~~~~~~~~~~~~~ - In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdint.h:26, - from /usr/lib/gcc/x86_64-linux-gnu/14/include/stdint.h:9, - from external/glfw/src/../include/GLFW/glfw3.h:108, - from external/glfw/src/internal.h:49, - from external/glfw/src/context.c:30, - from rglfw.c:61: - /usr/include/features.h:313:10: note: this is the location of the previous definition - 313 | # define _POSIX_C_SOURCE 200809L - | ^~~~~~~~~~~~~~~ - In file included from raudio.c:199: - external/stb_vorbis.h: In function 'stbv_decode_residue': - external/stb_vorbis.h:900:46: warning: statement with no effect [-Wunused-value] - 900 | #define stbv_temp_free(f,p) 0 - | ^ - external/stb_vorbis.h:2275:4: note: in expansion of macro 'stbv_temp_free' - 2275 | stbv_temp_free(f,part_classdata); - | ^~~~~~~~~~~~~~ - external/stb_vorbis.h: In function 'stbv_inverse_mdct': - external/stb_vorbis.h:900:46: warning: statement with no effect [-Wunused-value] - 900 | #define stbv_temp_free(f,p) 0 - | ^ - external/stb_vorbis.h:2924:4: note: in expansion of macro 'stbv_temp_free' - 2924 | stbv_temp_free(f,buf2); - | ^~~~~~~~~~~~~~ - In file included from rmodels.c:41: - external/par_shapes.h: In function 'par_shapes_create_disk': - raylib.h:114:33: warning: argument 1 range [18446744069414584320, 18446744073709551610] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] - 114 | #define RL_MALLOC(sz) malloc(sz) - | ^~~~~~~~~~ - rmodels.c:86:35: note: in expansion of macro 'RL_MALLOC' - 86 | #define PAR_MALLOC(T, N) ((T*)RL_MALLOC(N*sizeof(T))) - | ^~~~~~~~~ - external/par_shapes.h:741:23: note: in expansion of macro 'PAR_MALLOC' - 741 | mesh->triangles = PAR_MALLOC(PAR_SHAPES_T, 3 * mesh->ntriangles); - | ^~~~~~~~~~ - In file included from rmodels.c:53: - /usr/include/stdlib.h:672:14: note: in a call to allocation function 'malloc' declared here - 672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ - | ^~~~~~ - In file included from raudio.c:167: - external/miniaudio.h: In function 'ma_device_write__alsa': - external/miniaudio.h:21322:25: warning: 'resultALSA' may be used uninitialized [-Wmaybe-uninitialized] - 21322 | *pFramesWritten = resultALSA; - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ - external/miniaudio.h:21270:26: note: 'resultALSA' was declared here - 21270 | ma_snd_pcm_sframes_t resultALSA; - | ^~~~~~~~~~ - external/miniaudio.h: In function 'ma_device_read__alsa': - external/miniaudio.h:21262:22: warning: 'resultALSA' may be used uninitialized [-Wmaybe-uninitialized] - 21262 | *pFramesRead = resultALSA; - | ~~~~~~~~~~~~~^~~~~~~~~~~~ - external/miniaudio.h:21216:26: note: 'resultALSA' was declared here - 21216 | ma_snd_pcm_sframes_t resultALSA; - | ^~~~~~~~~~ - external/stb_vorbis.h: In function 'stbv_start_decoder': - external/stb_vorbis.h:3939:37: warning: 'hi' may be used uninitialized [-Wmaybe-uninitialized] - 3939 | g->stbv_neighbors[j][1] = hi; - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ - external/stb_vorbis.h:3936:21: note: 'hi' was declared here - 3936 | int low,hi; - | ^~ - external/stb_vorbis.h:3938:37: warning: 'low' may be used uninitialized [-Wmaybe-uninitialized] - 3938 | g->stbv_neighbors[j][0] = low; - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ - external/stb_vorbis.h:3936:17: note: 'low' was declared here - 3936 | int low,hi; - | ^~~ - (cd _build/default && /home/opam/.opam/default/bin/ppx_cstubs src/c/types/raylib_types.ml -o src/c/types/raylib_generated_types.ml -I ./src/c/vendor/raylib/src) - /tmp/build_dabeab_dune/ppxc_extract_raylib_types_45174d.c: In function 'ppxc2_raylib_types_8e_af9_structMesh': - /tmp/build_dabeab_dune/ppxc_extract_raylib_types_45174d.c:4529:21: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] - 4529 | (void) (&ppx__var == &ppxc_raylib_types_8e_af9_boneIds); /* field boneIds in struct Mesh incompatible? */ - | ^~ - File "src/c/dune", line 11, characters 9-30: - 11 | (names c_generated_functions c_generated_math c_generated_rlgl) - ^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ppx_cstubs -I /home/opam/.opam/default/lib/stdlib-shims -I constants -I functions -I types -I vendor/raylib/src -o c_generated_functions.o -c c_generated_functions.c) - c_generated_functions.c: In function 'raylib_stub_39_GetClipboardText': - c_generated_functions.c:219:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 219 | char* x146 = GetClipboardText(); - | ^~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'raylib_stub_98_UnloadFileData': - c_generated_functions.c:616:19: warning: passing argument 1 of 'UnloadFileData' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 616 | UnloadFileData(x466); - | ^~~~ - In file included from c_generated_functions.c:1: - vendor/raylib/src/raylib.h:1033:42: note: expected 'unsigned char *' but argument is of type 'const char *' - 1033 | RLAPI void UnloadFileData(unsigned char *data); // Unload file data allocated by LoadFileData() - | ~~~~~~~~~~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_101_UnloadFileText': - c_generated_functions.c:636:19: warning: passing argument 1 of 'UnloadFileText' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 636 | UnloadFileText(x481); - | ^~~~ - vendor/raylib/src/raylib.h:1036:33: note: expected 'char *' but argument is of type 'const char *' - 1036 | RLAPI void UnloadFileText(char *text); // Unload file text data allocated by LoadFileText() - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_102_SaveFileText': - c_generated_functions.c:643:36: warning: passing argument 2 of 'SaveFileText' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 643 | _Bool x487 = SaveFileText(x485, x486); - | ^~~~ - vendor/raylib/src/raylib.h:1037:53: note: expected 'char *' but argument is of type 'const char *' - 1037 | RLAPI bool SaveFileText(const char *fileName, char *text); // Save text data to file (write), string must be '\0' terminated, returns true on success - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_112_GetDirectoryFiles': - c_generated_functions.c:704:24: error: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] - 704 | char const** x520 = GetDirectoryFiles(x518, x519); - | ^~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'raylib_stub_116_GetDroppedFiles': - c_generated_functions.c:726:24: error: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] - 726 | char const** x530 = GetDroppedFiles(x529); - | ^~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'raylib_stub_339_TextCopy': - c_generated_functions.c:3076:25: warning: passing argument 1 of 'TextCopy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3076 | int x3113 = TextCopy(x3111, x3112); - | ^~~~~ - vendor/raylib/src/raylib.h:1351:26: note: expected 'char *' but argument is of type 'const char *' - 1351 | RLAPI int TextCopy(char *dst, const char *src); // Copy one string to another, returns bytes copied - | ~~~~~~^~~ - c_generated_functions.c: In function 'raylib_stub_343_TextReplace': - c_generated_functions.c:3105:36: warning: passing argument 1 of 'TextReplace' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3105 | char const* x3139 = TextReplace(x3136, x3137, x3138); - | ^~~~~ - vendor/raylib/src/raylib.h:1356:31: note: expected 'char *' but argument is of type 'const char *' - 1356 | RLAPI char *TextReplace(char *text, const char *replace, const char *by); // Replace text string (WARNING: memory must be freed!) - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_345_TextAppend': - c_generated_functions.c:3121:15: warning: passing argument 1 of 'TextAppend' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3121 | TextAppend(x3152, x3153, x3154); - | ^~~~~ - vendor/raylib/src/raylib.h:1360:29: note: expected 'char *' but argument is of type 'const char *' - 1360 | RLAPI void TextAppend(char *text, const char *append, int *position); // Append text at specific position and move cursor! - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_453_LoadMusicStreamFromMemory': - c_generated_functions.c:4272:58: warning: passing argument 2 of 'LoadMusicStreamFromMemory' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4272 | struct Music x4397 = LoadMusicStreamFromMemory(x4392, x4393, x4394); - | ^~~~~ - vendor/raylib/src/raylib.h:1504:76: note: expected 'unsigned char *' but argument is of type 'const char *' - 1504 | RLAPI Music LoadMusicStreamFromMemory(const char *fileType, unsigned char *data, int dataSize); // Load music stream from data - | ~~~~~~~~~~~~~~~^~~~ [ERROR] The compilation of raylib.0.5.1 failed at "dune build -p raylib -j 39 @install". build failed... === STDERR === 2026-07-26 11:31.32: FAILED: build raylib.0.5.1 2026-07-26 11:31.32: Job failed: build failed: raylib.0.5.1