Build:
- 0
2026-07-23 18:54.13: New job: build raylib.0.4.0 (d9f8a48ad258) 2026-07-23 18:54.13: Waiting for resource in pool day11-builds 2026-07-23 19:34.36: Got resource from pool day11-builds 2026-07-23 19:34.36: [profile full] build raylib.0.4.0 2026-07-23 19:34.36: build raylib.0.4.0 (d9f8a48ad258) === 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 ad4ef446ee2b ppx_cstubs.0.7.0 6f119875308a 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.4.0: dl] [raylib.0.4.0: extract] -> retrieved raylib.0.4.0 (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.4.0) - (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 46 (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.4.0/_build/default/src/c/vendor/raylib/src' - gcc -c core.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 shapes.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 textures.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 text.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 models.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.4.0/_build/default/src/c/vendor/raylib/libraylib.a core.o shapes.o textures.o text.o utils.o rglfw.o models.o raudio.o - raylib static library generated (libraylib.a) in /home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib! - make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib/src' - In file included from textures.c:121: - external/stb_image.h: In function 'stbi__load_gif_main': - external/stb_image.h:6779:11: warning: variable 'delays_size' set but not used [-Wunused-but-set-variable] - 6779 | int delays_size = 0; - | ^~~~~~~~~~~ - external/stb_image.h:6778:11: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] - 6778 | int out_size = 0; - | ^~~~~~~~ - In file included from rglfw.c:90: - 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:54: - /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 text.c:70: - external/stb_truetype.h:4902:15: warning: 'stbtt_CompareUTF8toUTF16_bigendian' defined but not used [-Wunused-function] - 4902 | STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4897:15: warning: 'stbtt_FindMatchingFont' defined but not used [-Wunused-function] - 4897 | STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4887:15: warning: 'stbtt_GetNumberOfFonts' defined but not used [-Wunused-function] - 4887 | STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4875:15: warning: 'stbtt_BakeFontBitmap' defined but not used [-Wunused-function] - 4875 | STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, - | ^~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4762:23: warning: 'stbtt_GetFontNameString' defined but not used [-Wunused-function] - 4762 | STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID) - | ^~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4705:16: warning: 'stbtt_FreeSDF' defined but not used [-Wunused-function] - 4705 | STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:4306:16: warning: 'stbtt_GetPackedQuad' defined but not used [-Wunused-function] - 4306 | 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:4293:16: warning: 'stbtt_GetScaledFontVMetrics' defined but not used [-Wunused-function] - 4293 | STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4281:15: warning: 'stbtt_PackFontRange' defined but not used [-Wunused-function] - 4281 | STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, - | ^~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3948:16: warning: 'stbtt_PackSetSkipMissingCodepoints' defined but not used [-Wunused-function] - 3948 | STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3938:16: warning: 'stbtt_PackSetOversampling' defined but not used [-Wunused-function] - 3938 | STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3932:16: warning: 'stbtt_PackEnd' defined but not used [-Wunused-function] - 3932 | STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:3900:15: warning: 'stbtt_PackBegin' defined but not used [-Wunused-function] - 3900 | 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:3802:16: warning: 'stbtt_GetBakedQuad' defined but not used [-Wunused-function] - 3802 | 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:3745:16: warning: 'stbtt_MakeCodepointBitmap' defined but not used [-Wunused-function] - 3745 | 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:3730:16: warning: 'stbtt_MakeCodepointBitmapSubpixelPrefilter' defined but not used [-Wunused-function] - 3730 | 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:3696:26: warning: 'stbtt_GetGlyphBitmap' defined but not used [-Wunused-function] - 3696 | 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:3651:16: warning: 'stbtt_FreeBitmap' defined but not used [-Wunused-function] - 3651 | STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~~~~ - external/stb_truetype.h:2762:16: warning: 'stbtt_GetCodepointBitmapBox' defined but not used [-Wunused-function] - 2762 | 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:2724:15: warning: 'stbtt_GetCodepointSVG' defined but not used [-Wunused-function] - 2724 | STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2685:16: warning: 'stbtt_FreeShape' defined but not used [-Wunused-function] - 2685 | STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) - | ^~~~~~~~~~~~~~~ - external/stb_truetype.h:2665:16: warning: 'stbtt_GetFontBoundingBox' defined but not used [-Wunused-function] - 2665 | STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2654:16: warning: 'stbtt_GetFontVMetricsOS2' defined but not used [-Wunused-function] - 2654 | STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2635:16: warning: 'stbtt_GetCodepointKernAdvance' defined but not used [-Wunused-function] - 2635 | STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2327:15: warning: 'stbtt_GetKerningTable' defined but not used [-Wunused-function] - 2327 | STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2312:16: warning: 'stbtt_GetKerningTableLength' defined but not used [-Wunused-function] - 2312 | STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1641:15: warning: 'stbtt_IsGlyphEmpty' defined but not used [-Wunused-function] - 1641 | STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) - | ^~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1636:15: warning: 'stbtt_GetCodepointBox' defined but not used [-Wunused-function] - 1636 | STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1584:15: warning: 'stbtt_GetCodepointShape' defined but not used [-Wunused-function] - 1584 | STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) - | ^~~~~~~~~~~~~~~~~~~~~~~ - In file included from models.c:39: - external/par_shapes.h: In function 'par_shapes_create_disk': - raylib.h:109:33: warning: argument 1 range [18446744069414584320, 18446744073709551610] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] - 109 | #define RL_MALLOC(sz) malloc(sz) - | ^~~~~~~~~~ - models.c:83:35: note: in expansion of macro 'RL_MALLOC' - 83 | #define PAR_MALLOC(T, N) ((T*)RL_MALLOC(N*sizeof(T))) - | ^~~~~~~~~ - external/par_shapes.h:684:23: note: in expansion of macro 'PAR_MALLOC' - 684 | mesh->triangles = PAR_MALLOC(PAR_SHAPES_T, 3 * mesh->ntriangles); - | ^~~~~~~~~~ - In file included from models.c:49: - /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__ - | ^~~~~~ - 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.4.0/_build/default/src/c/vendor/raylib/src' - rm -fv *.o /home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib/libraylib.a /home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib/libraylib.bc /home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib/libraylib.so* - removed 'core.o' - removed 'models.o' - removed 'raudio.o' - removed 'rglfw.o' - removed 'shapes.o' - removed 'text.o' - removed 'textures.o' - removed 'utils.o' - removed '/home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib/libraylib.a' - removed all generated files! - make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_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.4.0/_build/default/src/c/vendor/raylib/src' - gcc -c core.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 shapes.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 textures.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 text.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 models.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.4.0/_build/default/src/c/vendor/raylib/libraylib.so.3.7.0 core.o shapes.o textures.o text.o utils.o rglfw.o models.o raudio.o -Wl,-soname,libraylib.so.370 -lGL -lc -lm -lpthread -ldl -lrt -lX11 - raylib shared library generated (libraylib.so.3.7.0) in /home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib! - cd /home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib && ln -fsv libraylib.so.3.7.0 libraylib.so.370 - 'libraylib.so.370' -> 'libraylib.so.3.7.0' - cd /home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib && ln -fsv libraylib.so.370 libraylib.so - 'libraylib.so' -> 'libraylib.so.370' - make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/raylib.0.4.0/_build/default/src/c/vendor/raylib/src' - In file included from text.c:70: - external/stb_truetype.h:4902:15: warning: 'stbtt_CompareUTF8toUTF16_bigendian' defined but not used [-Wunused-function] - 4902 | STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4897:15: warning: 'stbtt_FindMatchingFont' defined but not used [-Wunused-function] - 4897 | STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4887:15: warning: 'stbtt_GetNumberOfFonts' defined but not used [-Wunused-function] - 4887 | STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data) - | ^~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4875:15: warning: 'stbtt_BakeFontBitmap' defined but not used [-Wunused-function] - 4875 | STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, - | ^~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4762:23: warning: 'stbtt_GetFontNameString' defined but not used [-Wunused-function] - 4762 | STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID) - | ^~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4705:16: warning: 'stbtt_FreeSDF' defined but not used [-Wunused-function] - 4705 | STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:4306:16: warning: 'stbtt_GetPackedQuad' defined but not used [-Wunused-function] - 4306 | 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:4293:16: warning: 'stbtt_GetScaledFontVMetrics' defined but not used [-Wunused-function] - 4293 | STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:4281:15: warning: 'stbtt_PackFontRange' defined but not used [-Wunused-function] - 4281 | STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, - | ^~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3948:16: warning: 'stbtt_PackSetSkipMissingCodepoints' defined but not used [-Wunused-function] - 3948 | STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3938:16: warning: 'stbtt_PackSetOversampling' defined but not used [-Wunused-function] - 3938 | STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:3932:16: warning: 'stbtt_PackEnd' defined but not used [-Wunused-function] - 3932 | STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc) - | ^~~~~~~~~~~~~ - external/stb_truetype.h:3900:15: warning: 'stbtt_PackBegin' defined but not used [-Wunused-function] - 3900 | 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:3802:16: warning: 'stbtt_GetBakedQuad' defined but not used [-Wunused-function] - 3802 | 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:3745:16: warning: 'stbtt_MakeCodepointBitmap' defined but not used [-Wunused-function] - 3745 | 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:3730:16: warning: 'stbtt_MakeCodepointBitmapSubpixelPrefilter' defined but not used [-Wunused-function] - 3730 | 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:3696:26: warning: 'stbtt_GetGlyphBitmap' defined but not used [-Wunused-function] - 3696 | 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:3651:16: warning: 'stbtt_FreeBitmap' defined but not used [-Wunused-function] - 3651 | STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata) - | ^~~~~~~~~~~~~~~~ - external/stb_truetype.h:2762:16: warning: 'stbtt_GetCodepointBitmapBox' defined but not used [-Wunused-function] - 2762 | 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:2724:15: warning: 'stbtt_GetCodepointSVG' defined but not used [-Wunused-function] - 2724 | STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2685:16: warning: 'stbtt_FreeShape' defined but not used [-Wunused-function] - 2685 | STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) - | ^~~~~~~~~~~~~~~ - external/stb_truetype.h:2665:16: warning: 'stbtt_GetFontBoundingBox' defined but not used [-Wunused-function] - 2665 | STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2654:16: warning: 'stbtt_GetFontVMetricsOS2' defined but not used [-Wunused-function] - 2654 | STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap) - | ^~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2635:16: warning: 'stbtt_GetCodepointKernAdvance' defined but not used [-Wunused-function] - 2635 | STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2327:15: warning: 'stbtt_GetKerningTable' defined but not used [-Wunused-function] - 2327 | STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:2312:16: warning: 'stbtt_GetKerningTableLength' defined but not used [-Wunused-function] - 2312 | STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1641:15: warning: 'stbtt_IsGlyphEmpty' defined but not used [-Wunused-function] - 1641 | STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) - | ^~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1636:15: warning: 'stbtt_GetCodepointBox' defined but not used [-Wunused-function] - 1636 | STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) - | ^~~~~~~~~~~~~~~~~~~~~ - external/stb_truetype.h:1584:15: warning: 'stbtt_GetCodepointShape' defined but not used [-Wunused-function] - 1584 | STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) - | ^~~~~~~~~~~~~~~~~~~~~~~ - In file included from rglfw.c:90: - 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:54: - /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 textures.c:121: - external/stb_image.h: In function 'stbi__load_gif_main': - external/stb_image.h:6779:11: warning: variable 'delays_size' set but not used [-Wunused-but-set-variable] - 6779 | int delays_size = 0; - | ^~~~~~~~~~~ - external/stb_image.h:6778:11: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] - 6778 | int out_size = 0; - | ^~~~~~~~ - 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 models.c:39: - external/par_shapes.h: In function 'par_shapes_create_disk': - raylib.h:109:33: warning: argument 1 range [18446744069414584320, 18446744073709551610] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] - 109 | #define RL_MALLOC(sz) malloc(sz) - | ^~~~~~~~~~ - models.c:83:35: note: in expansion of macro 'RL_MALLOC' - 83 | #define PAR_MALLOC(T, N) ((T*)RL_MALLOC(N*sizeof(T))) - | ^~~~~~~~~ - external/par_shapes.h:684:23: note: in expansion of macro 'PAR_MALLOC' - 684 | mesh->triangles = PAR_MALLOC(PAR_SHAPES_T, 3 * mesh->ntriangles); - | ^~~~~~~~~~ - In file included from models.c:49: - /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__ - | ^~~~~~ - 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; - | ^~~ - File "src/c/dune", line 8, characters 9-30: - 8 | (names c_generated_functions c_generated_math) - ^^^^^^^^^^^^^^^^^^^^^ - (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_94_UnloadFileData': - c_generated_functions.c:594:19: warning: passing argument 1 of 'UnloadFileData' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 594 | UnloadFileData(x452); - | ^~~~ - In file included from c_generated_functions.c:1: - vendor/raylib/src/raylib.h:1028:42: note: expected 'unsigned char *' but argument is of type 'const char *' - 1028 | RLAPI void UnloadFileData(unsigned char *data); // Unload file data allocated by LoadFileData() - | ~~~~~~~~~~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_97_UnloadFileText': - c_generated_functions.c:614:19: warning: passing argument 1 of 'UnloadFileText' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 614 | UnloadFileText(x467); - | ^~~~ - vendor/raylib/src/raylib.h:1031:42: note: expected 'unsigned char *' but argument is of type 'const char *' - 1031 | RLAPI void UnloadFileText(unsigned char *text); // Unload file text data allocated by LoadFileText() - | ~~~~~~~~~~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_98_SaveFileText': - c_generated_functions.c:621:36: warning: passing argument 2 of 'SaveFileText' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 621 | _Bool x473 = SaveFileText(x471, x472); - | ^~~~ - vendor/raylib/src/raylib.h:1032:53: note: expected 'char *' but argument is of type 'const char *' - 1032 | 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_108_GetDirectoryFiles': - c_generated_functions.c:682:24: error: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] - 682 | char const** x506 = GetDirectoryFiles(x504, x505); - | ^~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'raylib_stub_112_GetDroppedFiles': - c_generated_functions.c:704:24: error: initialization of 'const char **' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] - 704 | char const** x516 = GetDroppedFiles(x515); - | ^~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'raylib_stub_323_TextCopy': - c_generated_functions.c:2961:25: warning: passing argument 1 of 'TextCopy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2961 | int x3026 = TextCopy(x3024, x3025); - | ^~~~~ - vendor/raylib/src/raylib.h:1331:26: note: expected 'char *' but argument is of type 'const char *' - 1331 | RLAPI int TextCopy(char *dst, const char *src); // Copy one string to another, returns bytes copied - | ~~~~~~^~~ - c_generated_functions.c: In function 'raylib_stub_327_TextReplace': - c_generated_functions.c:2990:36: warning: passing argument 1 of 'TextReplace' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2990 | char const* x3052 = TextReplace(x3049, x3050, x3051); - | ^~~~~ - vendor/raylib/src/raylib.h:1336:31: note: expected 'char *' but argument is of type 'const char *' - 1336 | RLAPI char *TextReplace(char *text, const char *replace, const char *by); // Replace text string (memory must be freed!) - | ~~~~~~^~~~ - c_generated_functions.c: In function 'raylib_stub_329_TextAppend': - c_generated_functions.c:3006:15: warning: passing argument 1 of 'TextAppend' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3006 | TextAppend(x3065, x3066, x3067); - | ^~~~~ - vendor/raylib/src/raylib.h:1340:29: note: expected 'char *' but argument is of type 'const char *' - 1340 | RLAPI void TextAppend(char *text, const char *append, int *position); // Append text at specific position and move cursor! - | ~~~~~~^~~~ build failed... [ERROR] The compilation of raylib.0.4.0 failed at "dune build -p raylib -j 39 @install". === STDERR === 2026-07-23 19:35.54: FAILED: build raylib.0.4.0 2026-07-23 19:35.54: Job failed: build failed: raylib.0.4.0