Build:
  1. 0
2026-07-26 10:52.59: New job: build ocamlsdl2.0.02 (6c06ed5406a3)
2026-07-26 10:52.59: Waiting for resource in pool day11-builds
2026-07-26 10:58.41: Got resource from pool day11-builds
2026-07-26 10:58.41: [profile full] build ocamlsdl2.0.02
2026-07-26 10:58.41: build ocamlsdl2.0.02 (6c06ed5406a3)
=== DEPENDENCIES (7 transitive) ===
  compiler-cloning.enabled                           22a431860256
  conf-pkg-config.5                                  2c611009363a
  conf-sdl2.1                                        1ffdfd2cfce2
  ocaml.5.5.0                                        af24caade1d3
  ocaml-base-compiler.5.5.0                          5f93989ce6d7
  ocaml-compiler.5.5.0                               15edcf5138e5
  ocamlfind.1.9.9~preview                            c75d6f48ab10
=== STDOUT ===
Processing: [default: loading data]
[ocamlsdl2.0.02: dl]
[ocamlsdl2.0.02: extract]
-> retrieved ocamlsdl2.0.02  (https://opam.ocaml.org/cache)
[ocamlsdl2: cp]
+ /usr/bin/cp "src/Makefile.config.unix" "src/Makefile.config" (CWD=/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02)
[ocamlsdl2: make src]
+ /usr/bin/make "-C" "src" "gen" (CWD=/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02)
- make: Entering directory '/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02/src'
- ocaml variant.ml sdl_scancode.var.list > sdl_scancode.gen.c
- ocaml variant.ml sdl_keycode.var.list > sdl_keycode.gen.c
- make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02/src'
[ocamlsdl2: make src]
+ /usr/bin/make "-C" "src" "dep" (CWD=/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02)
- make: Entering directory '/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02/src'
- ocamldep sdl.ml sdl.mli sdl*.ml sdl*.mli > ml_depend.mk
- gcc -MM -I /home/opam/.opam/default/lib/ocaml -I/usr/include/SDL2 -D_REENTRANT *_stub.[ch] > c_depend.mk
- make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02/src'
[ocamlsdl2: make src]
+ /usr/bin/make "-C" "src" "opt" (CWD=/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02)
- make: Entering directory '/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02/src'
- ocamlc -g sdlinit.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlinit.ml
- ocamlc -g sdlquit.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlquit.ml
- ocamlc -g sdlrect.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlrect.ml
- ocamlc -g sdlblendMode.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlblendMode.ml
- ocamlc -g sdlpixelFormat.mli
- ocamlc -g sdlsurface.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlpixelFormat.ml
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlsurface.ml
- ocamlc -g sdlwindow.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlwindow.ml
- ocamlc -g sdltype.mli
- ocamlc -g sdltexture.mli
- ocamlc -g sdlrender.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdltype.ml
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdltexture.ml
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlrender.ml
- ocamlc -g sdlpixel.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlpixel.ml
- ocamlc -g sdlscancode.mli
- ocamlc -g sdlkeymod.mli
- ocamlc -g sdlkeycode.mli
- ocamlc -g sdlhat.mli
- ocamlc -g sdlevent.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlscancode.ml
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlkeymod.ml
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlkeycode.ml
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlhat.ml
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlevent.ml
- ocamlc -g sdlkeyboard.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlkeyboard.ml
- ocamlc -g sdlmouse.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlmouse.ml
- ocamlc -g sdljoystick.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdljoystick.ml
- ocamlc -g sdlclipboard.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlclipboard.ml
- ocamlc -g sdltimer.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdltimer.ml
- ocamlc -g sdlaudio.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlaudio.ml
- ocamlc -g sdlfilesystem.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlfilesystem.ml
- ocamlc -g sdlversion.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlversion.ml
- ocamlc -g sdlcpuinfo.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlcpuinfo.ml
- ocamlc -g sdlpower.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlpower.ml
- ocamlc -g sdlrwops.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlrwops.ml
- ocamlc -g sdlerror.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlerror.ml
- ocamlc -g sdlgl.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdlgl.ml
- cat sdl_header > sdl.mli
- ocamlc -g -i sdl.ml >> sdl.mli
- ocamlc -g sdl.mli
- ocamlopt -g -cc "cc" -g -w A -warn-error A -ccopt "" -c sdl.ml
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlinit_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlquit_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlrect_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlblendMode_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlsurface_stub.c
- In file included from sdlsurface_stub.c:12:
- sdlsurface_stub.c: In function 'caml_SDL_Surface_get_pixels':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   366 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- sdlsurface_stub.c:288:12: note: in expansion of macro 'String_val'
-   288 |     memcpy(String_val(ml_pixels), surf->pixels, len);
-       |            ^~~~~~~~~~
- In file included from /usr/include/SDL2/SDL_stdinc.h:62,
-                  from /usr/include/SDL2/SDL_surface.h:31,
-                  from sdlsurface_stub.c:18:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlwindow_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlrender_stub.c
- sdlrender_stub.c:26:9: warning: "Some_val" redefined
-    26 | #define Some_val(v) Field(v,0)
-       |         ^~~~~~~~
- In file included from sdlrender_stub.c:12:
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:481:9: note: this is the location of the previous definition
-   481 | #define Some_val(v) Field(v, 0)
-       |         ^~~~~~~~
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdltexture_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlpixelFormat_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlpixel_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlevent_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlkeyboard_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlkeymod_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlmouse_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdljoystick_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlclipboard_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdltimer_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlgl_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlaudio_stub.c
- ocamlc -g -ccopt "-static -I/usr/include/SDL2 -D_REENTRANT -g -O " sdlfilesystem_stub.c
- sdlfilesystem_stub.c: In function 'caml_SDL_GetBasePath':
- sdlfilesystem_stub.c:22:23: error: implicit declaration of function 'SDL_GetBasePath'; did you mean 'caml_SDL_GetBasePath'? [-Wimplicit-function-declaration]
-    22 |     char *base_path = SDL_GetBasePath();
-       |                       ^~~~~~~~~~~~~~~
-       |                       caml_SDL_GetBasePath
- sdlfilesystem_stub.c:22:23: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- sdlfilesystem_stub.c:26:5: error: implicit declaration of function 'SDL_free' [-Wimplicit-function-declaration]
-    26 |     SDL_free(base_path);
-       |     ^~~~~~~~
- sdlfilesystem_stub.c: In function 'caml_SDL_GetPrefPath':
- sdlfilesystem_stub.c:35:23: error: implicit declaration of function 'SDL_GetPrefPath'; did you mean 'caml_SDL_GetPrefPath'? [-Wimplicit-function-declaration]
-    35 |     char *pref_path = SDL_GetPrefPath(String_val(org), String_val(app));
-       |                       ^~~~~~~~~~~~~~~
-       |                       caml_SDL_GetPrefPath
- sdlfilesystem_stub.c:35:23: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- make: *** [Makefile:193: sdlfilesystem_stub.o] Error 2
- make: Leaving directory '/home/opam/.opam/default/.opam-switch/build/ocamlsdl2.0.02/src'
[ERROR] The compilation of ocamlsdl2.0.02 failed at "make -C src opt".
build failed... 

=== STDERR ===

2026-07-26 10:59.12: FAILED: build ocamlsdl2.0.02
2026-07-26 10:59.12: Job failed: build failed: ocamlsdl2.0.02