Build:
- 0
2026-10-07 21:45.49: New job: build portaudio_c_bindings.19.6.0 (04f966d76d27)
2026-10-07 21:45.49: Waiting for resource in pool day11-builds
2026-10-07 21:51.50: Got resource from pool day11-builds
2026-10-07 21:51.50: [profile oxcaml-odoc-master] build portaudio_c_bindings.19.6.0
2026-10-07 21:51.50: build portaudio_c_bindings.19.6.0 (04f966d76d27)
=== DEPENDENCIES (18 transitive) ===
base-threads.base 464810371b96
base-unix.base 4596d20d2cf7
conf-autoconf.1 8ee1e3913008
conf-libffi.2.0.0 3b04165a8510
conf-pkg-config.5 e39f7209b38f
conf-portaudio.1 c11ef2429a0b
conf-which.1 65c43ca119c3
csexp.1.5.2 4dac08a488e7
ctypes.0.24.0+ox 5b7e8d079159
ctypes-foreign.0.24.0+ox e9b014f659e6
dune.3.22.2+ox a601158acc62
dune-configurator.3.22.2+ox cc2e07190f84
integers.0.8.0 0dc28eefa67d
ocaml.5.2.0 b8c350f4f1ad
ocaml-config.3 2c72b422dfc3
ocaml-variants.5.2.0+ox 60cb73ac7801
oxcaml-compiler.5.2.0minus39 c47b62237187
stdlib-shims.0.3.0 d2e8875350ba
=== STDOUT ===
Processing: [default: loading data]
[portaudio_c_bindings.19.6.0: dl]
[portaudio_c_bindings.19.6.0: extract]
-> retrieved portaudio_c_bindings.19.6.0 (https://opam.ocaml.org/cache)
[portaudio_c_bindings: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "portaudio_c_bindings" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/portaudio_c_bindings.19.6.0)
- (cd _build/default/bindings/types && /usr/bin/bash -e -u -o pipefail -c 'gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread stub_types_gen.c -I `dirname /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h` -I /home/opam/.opam/default/lib/ocaml -o stub_types_gen.exe')
- In file included from /home/opam/.opam/default/lib/ctypes/ctypes_primitives.h:16,
- from /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h:13,
- from stub_types_gen.c:6:
- /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:37:9: warning: "Int8_val" redefined
- 37 | #define Int8_val(V) ((int8_t)(Int_val(V)))
- | ^~~~~~~~
- In file included from /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:11:
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:154:9: note: this is the location of the previous definition
- 154 | #define Int8_val(x) ((int8_t) Long_val(x))
- | ^~~~~~~~
- /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:38:9: warning: "Int16_val" redefined
- 38 | #define Int16_val(V) ((int16_t)(Int_val(V)))
- | ^~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:153:9: note: this is the location of the previous definition
- 153 | #define Int16_val(x) ((int16_t) Long_val(x))
- | ^~~~~~~~~
- File "bindings/ffi/dune", line 26, characters 36-43:
- 26 | (foreign_stubs (language c) (names c_stubs))
- ^^^^^^^
- (cd _build/default/bindings/ffi && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -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/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -I . -I ../types -o c_stubs.o -c c_stubs.c)
- In file included from /home/opam/.opam/default/lib/ctypes/ctypes_primitives.h:16,
- from /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h:13,
- from c_stubs.c:4:
- /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:37:9: warning: "Int8_val" redefined
- 37 | #define Int8_val(V) ((int8_t)(Int_val(V)))
- | ^~~~~~~~
- In file included from /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:11:
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:154:9: note: this is the location of the previous definition
- 154 | #define Int8_val(x) ((int8_t) Long_val(x))
- | ^~~~~~~~
- /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:38:9: warning: "Int16_val" redefined
- 38 | #define Int16_val(V) ((int16_t)(Int_val(V)))
- | ^~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:153:9: note: this is the location of the previous definition
- 153 | #define Int16_val(x) ((int16_t) Long_val(x))
- | ^~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_3_Pa_GetVersionInfo':
- c_stubs.c:28:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 28 | struct PaVersionInfo* x12 = Pa_GetVersionInfo();
- | ^~~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_9_Pa_GetHostApiInfo':
- c_stubs.c:84:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 84 | struct PaHostApiInfo* x48 = Pa_GetHostApiInfo(x45);
- | ^~~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_11_Pa_GetLastHostErrorInfo':
- c_stubs.c:103:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 103 | struct PaHostErrorInfo* x61 = Pa_GetLastHostErrorInfo();
- | ^~~~~~~~~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_15_Pa_GetDeviceInfo':
- c_stubs.c:140:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 140 | struct PaDeviceInfo* x84 = Pa_GetDeviceInfo(x81);
- | ^~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_17_Pa_OpenStream':
- c_stubs.c:174:61: error: passing argument 7 of 'Pa_OpenStream' from incompatible pointer type [-Wincompatible-pointer-types]
- 174 | Pa_OpenStream(x108, x109, x110, (float)x111, x114, x117, x120, x121);
- | ^~~~
- | |
- | PaStreamCallbackResult (*)(void *, void *, long unsigned int, struct PaStreamCallbackTimeInfo *, long unsigned int, void *)
- In file included from c_stubs.c:2:
- /usr/include/portaudio.h:898:42: note: expected 'int (*)(const void *, void *, long unsigned int, const PaStreamCallbackTimeInfo *, PaStreamCallbackFlags, void *)' {aka 'int (*)(const void *, void *, long unsigned int, const PaStreamCallbackTimeInfo *, long unsigned int, void *)'} but argument is of type 'PaStreamCallbackResult (*)(void *, void *, long unsigned int, struct PaStreamCallbackTimeInfo *, long unsigned int, void *)'
- 898 | PaStreamCallback *streamCallback,
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_18_Pa_OpenDefaultStream':
- c_stubs.c:211:68: error: passing argument 7 of 'Pa_OpenDefaultStream' from incompatible pointer type [-Wincompatible-pointer-types]
- 211 | Pa_OpenDefaultStream(x142, x143, x146, x149, (float)x152, x155, x158,
- | ^~~~
- | |
- | PaStreamCallbackResult (*)(void *, void *, long unsigned int, struct PaStreamCallbackTimeInfo *, long unsigned int, void *)
- /usr/include/portaudio.h:938:49: note: expected 'int (*)(const void *, void *, long unsigned int, const PaStreamCallbackTimeInfo *, PaStreamCallbackFlags, void *)' {aka 'int (*)(const void *, void *, long unsigned int, const PaStreamCallbackTimeInfo *, long unsigned int, void *)'} but argument is of type 'PaStreamCallbackResult (*)(void *, void *, long unsigned int, struct PaStreamCallbackTimeInfo *, long unsigned int, void *)'
- 938 | PaStreamCallback *streamCallback,
- | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_26_Pa_GetStreamInfo':
- c_stubs.c:307:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 307 | struct PaStreamInfo* x218 = Pa_GetStreamInfo(x217);
- | ^~~~~~~~~~~~~~~~
[ERROR] The compilation of portaudio_c_bindings.19.6.0 failed at "dune build -p portaudio_c_bindings -j 39 @install".
build failed...
=== STDERR ===
2026-10-07 21:52.07: FAILED: build portaudio_c_bindings.19.6.0
2026-10-07 21:52.07: Job failed: build failed: portaudio_c_bindings.19.6.0