Build:
- 0
2026-06-19 18:36.03: New job: build ocaml-canvas.1.0.0 (6d117ef9df66)
2026-06-19 18:36.03: Waiting for resource in pool day11-builds
2026-06-19 19:34.54: Got resource from pool day11-builds
2026-06-19 19:34.54: [profile full] build ocaml-canvas.1.0.0
2026-06-19 19:34.54: build ocaml-canvas.1.0.0 (6d117ef9df66)
=== DEPENDENCIES (21 transitive) ===
base-threads.base b7164ff76afe
base-unix.base 839dc585f12d
conf-freetype.1 e3d0de400bcd
conf-libfontconfig.1 a15a8149bc16
conf-libxcb.1 26445f4a51be
conf-libxcb-image.1 fcae35a3512b
conf-libxcb-keysyms.1 4a26466d4876
conf-libxcb-shm.1 b4a604f9cc34
conf-libxcb-xkb.1 32f71bc85236
conf-pkg-config.5 64c6b37d622b
conf-xkbcommon.1 b64fac0bbd0e
csexp.1.5.2 6a11fd34e537
dune.3.23.1 b9e31df96092
dune-configurator.3.23.1 cdae849f232e
ocaml.5.5.0 7bdffd2f55d9
ocaml-base-compiler.5.5.0 88ac983b1a28
ocaml-compiler.5.5.0 8d77bbea3746
ocamlbuild.0.16.1 b61d8be21b8c
ocamlfind.1.9.8 1872268d1aec
react.1.2.2 31e731549fe8
topkg.1.1.1 ecfbf436618b
=== STDOUT ===
Processing: [default: loading data]
[ocaml-canvas.1.0.0: dl]
[ocaml-canvas.1.0.0: extract]
-> retrieved ocaml-canvas.1.0.0 (https://opam.ocaml.org/cache)
[ocaml-canvas: sh dune build -p ocaml-canvas @configure --auto-promote || true]
+ /usr/bin/sh "-c" "dune build -p ocaml-canvas @configure --auto-promote || true" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-canvas.1.0.0)
- (cd _build/default/src && /home/opam/.opam/default/bin/ocaml unix.cma configure.ml) > _build/default/src/dune.inc.gen
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include:
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
-
- File "./configure.ml", line 1:
- Alert ocaml_deprecated_auto_include:
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
- File "src/dune.inc", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/src/dune.inc _build/default/src/dune.inc.gen
- diff --git a/_build/default/src/dune.inc b/_build/default/src/dune.inc.gen
- index c176955..2664fdc 100644
- --- a/_build/default/src/dune.inc
- +++ b/_build/default/src/dune.inc.gen
- @@ -21,8 +21,5 @@
- state canvas backend
- ml_convert ml_canvas)
- (flags (:standard) (:include ccopt.sexp)))
- - (c_library_flags (:standard) (:include cclib.sexp))
- - (js_of_ocaml
- - (javascript_files implem/event.js implem/translate.js
- - stubs/ml_tags.js stubs/ml_convert.js stubs/ml_canvas.js)))
- + (c_library_flags (:standard) (:include cclib.sexp)))
-
- (cd _build/default/examples && /home/opam/.opam/default/bin/ocaml unix.cma configure.ml) > _build/default/examples/dune.inc.gen
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include:
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
-
- File "./configure.ml", line 1:
- Alert ocaml_deprecated_auto_include:
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
- File "examples/dune.inc", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/examples/dune.inc _build/default/examples/dune.inc.gen
- diff --git a/_build/default/examples/dune.inc b/_build/default/examples/dune.inc.gen
- index 2914ac2..e3a5b9b 100644
- --- a/_build/default/examples/dune.inc
- +++ b/_build/default/examples/dune.inc.gen
- @@ -1,29 +1,16 @@
-
- -(rule
- - (target index.html)
- - (deps (glob_files *.js))
- - (action (run ./make_index/make_index.exe %{target})))
- -
- -
- (executable
- (name hello)
- (public_name ocaml-canvas-hello)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules hello)
- - (libraries ocaml-canvas react)
- - (js_of_ocaml
- - (javascript_files hello-extfs.js)))
- -
- -(rule
- - (target hello-extfs.js)
- - (action (run js_of_ocaml build-fs -o %{target} -I ../assets
- - frog.png:/static/assets/)))
- + (libraries ocaml-canvas react))
-
-
- (executable
- (name ppm_dump)
- (public_name ocaml-canvas-ppm_dump)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules ppm_dump)
- (libraries ocaml-canvas react))
-
- @@ -31,7 +18,7 @@
- (executable
- (name arcs)
- (public_name ocaml-canvas-arcs)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules arcs)
- (libraries ocaml-canvas react))
-
- @@ -39,7 +26,7 @@
- (executable
- (name gradients)
- (public_name ocaml-canvas-gradients)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules gradients)
- (libraries ocaml-canvas react))
-
- @@ -47,7 +34,7 @@
- (executable
- (name snake)
- (public_name ocaml-canvas-snake)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules snake)
- (libraries ocaml-canvas react))
-
- @@ -55,7 +42,7 @@
- (executable
- (name thicklines)
- (public_name ocaml-canvas-thicklines)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules thicklines)
- (libraries ocaml-canvas react))
-
- @@ -63,7 +50,7 @@
- (executable
- (name dashing_line)
- (public_name ocaml-canvas-dashing_line)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules dashing_line)
- (libraries ocaml-canvas react))
-
- @@ -71,23 +58,15 @@
- (executable
- (name compositions)
- (public_name ocaml-canvas-compositions)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules compositions)
- - (libraries ocaml-canvas react)
- - (js_of_ocaml
- - (javascript_files compositions-extfs.js)))
- -
- -(rule
- - (target compositions-extfs.js)
- - (action (run js_of_ocaml build-fs -o %{target} -I ../assets
- - fabric.png:/static/assets/
- - dragon.png:/static/assets/)))
- + (libraries ocaml-canvas react))
-
-
- (executable
- (name aim_with_mouse)
- (public_name ocaml-canvas-aim_with_mouse)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules aim_with_mouse)
- (libraries ocaml-canvas react))
-
- @@ -95,82 +74,47 @@
- (executable
- (name clipping)
- (public_name ocaml-canvas-clipping)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules clipping)
- - (libraries ocaml-canvas react)
- - (js_of_ocaml
- - (javascript_files clipping-extfs.js)))
- -
- -(rule
- - (target clipping-extfs.js)
- - (action (run js_of_ocaml build-fs -o %{target} -I ../assets
- - dragon.png:/static/assets/)))
- + (libraries ocaml-canvas react))
-
-
- (executable
- (name hexagon_grid)
- (public_name ocaml-canvas-hexagon_grid)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules hexagon_grid)
- - (libraries ocaml-canvas react)
- - (js_of_ocaml
- - (javascript_files hexagon_grid-extfs.js)))
- -
- -(rule
- - (target hexagon_grid-extfs.js)
- - (action (run js_of_ocaml build-fs -o %{target} -I ../assets
- - hexagon.png:/static/assets/)))
- + (libraries ocaml-canvas react))
-
-
- (executable
- (name ball)
- (public_name ocaml-canvas-ball)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules ball)
- - (libraries ocaml-canvas react)
- - (js_of_ocaml
- - (javascript_files ball-extfs.js)))
- -
- -(rule
- - (target ball-extfs.js)
- - (action (run js_of_ocaml build-fs -o %{target} -I ../assets
- - dragon.png:/static/assets/)))
- + (libraries ocaml-canvas react))
-
-
- (executable
- (name spritesheet)
- (public_name ocaml-canvas-spritesheet)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules spritesheet)
- - (libraries ocaml-canvas react)
- - (js_of_ocaml
- - (javascript_files spritesheet-extfs.js)))
- -
- -(rule
- - (target spritesheet-extfs.js)
- - (action (run js_of_ocaml build-fs -o %{target} -I ../assets
- - spritesheet.png:/static/assets/)))
- + (libraries ocaml-canvas react))
-
-
- (executable
- (name draw)
- (public_name ocaml-canvas-draw)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules draw)
- - (libraries ocaml-canvas react)
- - (js_of_ocaml
- - (javascript_files draw-extfs.js)))
- -
- -(rule
- - (target draw-extfs.js)
- - (action (run js_of_ocaml build-fs -o %{target} -I ../assets
- - colors.png:/static/assets/)))
- + (libraries ocaml-canvas react))
-
-
- (executable
- (name window_with_textbox)
- (public_name ocaml-canvas-window_with_textbox)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules window_with_textbox)
- (libraries ocaml-canvas react))
-
- @@ -178,7 +122,7 @@
- (executable
- (name demo1)
- (public_name ocaml-canvas-demo1)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules demo1)
- (libraries ocaml-canvas react))
-
- @@ -186,7 +130,7 @@
- (executable
- (name demo2)
- (public_name ocaml-canvas-demo2)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules demo2)
- (libraries ocaml-canvas react))
-
- @@ -194,7 +138,7 @@
- (executable
- (name demo3)
- (public_name ocaml-canvas-demo3)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules demo3)
- (libraries ocaml-canvas react))
-
- @@ -202,7 +146,7 @@
- (executable
- (name demo4)
- (public_name ocaml-canvas-demo4)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules demo4)
- (libraries ocaml-canvas react))
-
- @@ -210,7 +154,7 @@
- (executable
- (name demo5)
- (public_name ocaml-canvas-demo5)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules demo5)
- (libraries ocaml-canvas react))
-
- @@ -218,7 +162,7 @@
- (executable
- (name demo6)
- (public_name ocaml-canvas-demo6)
- - (modes byte_complete native js)
- + (modes byte_complete native)
- (modules demo6)
- (libraries ocaml-canvas react))
-
- Promoting _build/default/examples/dune.inc.gen to examples/dune.inc.
- Promoting _build/default/src/dune.inc.gen to src/dune.inc.
[ocaml-canvas: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "ocaml-canvas" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-canvas.1.0.0)
- File "src/dune", lines 9-11, characters 0-79:
- 9 | (rule
- 10 | (targets ccopt.sexp cclib.sexp)
- 11 | (action (run ./discover/discover.exe)))
- (cd _build/default/src && discover/discover.exe)
- compiling c program:
- |
- | #include <stdio.h>
- | int main()
- | {
- | printf("Hello\n");
- | return 0;
- | }
- run: gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -march=native -I /home/opam/.opam/default/lib/ocaml -o /tmp/build_bb9011_dune/ocaml-configurator2d026b/c-test-0/test.exe /tmp/build_bb9011_dune/ocaml-configurator2d026b/c-test-0/test.c -lm -lpthread
- -> process exited with code 0
- -> stdout:
- -> stderr:
- compiling c program:
- |
- | #include <windows.h>
- | int main()
- | {
- | GetModuleHandle(NULL);
- | GdiFlush();
- | return 0;
- | }
- run: gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -DHAS_GDI -DUNICODE -D_UNICODE -I /home/opam/.opam/default/lib/ocaml -o /tmp/build_bb9011_dune/ocaml-configurator2d026b/c-test-2/test.exe /tmp/build_bb9011_dune/ocaml-configurator2d026b/c-test-2/test.c -lm -lpthread -lkernel32 -lgdi32 -lgdiplus
- -> process exited with code 1
- -> stdout:
- -> stderr:
- | /tmp/build_bb9011_dune/ocaml-configurator2d026b/c-test-2/test.c:2:10: fatal error: windows.h: No such file or directory
- | 2 | #include <windows.h>
- | | ^~~~~~~~~~~
- | compilation terminated.
- compiling c program:
- |
- | #import <Foundation/Foundation.h>
- | int main () {
- | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- | [pool drain];
- | return 0;
- | }
- run: gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -DHAS_QUARTZ -Qunused-arguments -Wno-missing-braces -Wno-deprecated-declarations -framework Cocoa -x objective-c -I /home/opam/.opam/default/lib/ocaml -o /tmp/build_bb9011_dune/ocaml-configurator2d026b/c-test-4/test.exe /tmp/build_bb9011_dune/ocaml-configurator2d026b/c-test-4/test.c -lm -lpthread -framework Cocoa -framework Carbon
- -> process exited with code 1
- -> stdout:
- -> stderr:
- | gcc: error: unrecognized command-line option '-Qunused-arguments'
- | gcc: error: unrecognized command-line option '-framework'
- | gcc: error: unrecognized command-line option '-framework'
- | gcc: error: unrecognized command-line option '-framework'
- which: pkgconf
- -> found: /usr/bin/pkgconf
- run: /usr/bin/pkgconf --personality x86_64-pc-linux-gnu --print-errors 'xcb xcb-image xcb-shm xcb-xkb xcb-keysyms'
- -> process exited with code 0
- -> stdout:
- -> stderr:
- run: /usr/bin/pkgconf --personality x86_64-pc-linux-gnu --cflags 'xcb xcb-image xcb-shm xcb-xkb xcb-keysyms'
- -> process exited with code 1
- -> stdout:
- |
- -> stderr:
- | Package xproto was not found in the pkg-config search path.
- | Perhaps you should add the directory containing `xproto.pc'
- | to the PKG_CONFIG_PATH environment variable
- | Package 'xproto', required by 'xau', not found
- | Package 'xproto', required by 'xdmcp', not found
- | Package 'xproto', required by 'xau', not found
- | Package 'xproto', required by 'xdmcp', not found
- | Package 'xproto', required by 'xau', not found
- | Package 'xproto', required by 'xdmcp', not found
- | Package 'xproto', required by 'xau', not found
- | Package 'xproto', required by 'xdmcp', not found
- | Package 'xproto', required by 'xau', not found
- | Package 'xproto', required by 'xdmcp', not found
- | Package 'xproto', required by 'xau', not found
- | Package 'xproto', required by 'xdmcp', not found
- Error: command exited with code 1: /usr/bin/pkgconf --personality x86_64-pc-linux-gnu --cflags 'xcb xcb-image xcb-shm xcb-xkb xcb-keysyms'
[ERROR] The compilation of ocaml-canvas.1.0.0 failed at "dune build -p ocaml-canvas -j 39 @install".
build failed...
=== STDERR ===
2026-06-19 19:35.13: FAILED: build ocaml-canvas.1.0.0
2026-06-19 19:35.13: Job failed: build failed: ocaml-canvas.1.0.0