Processing: [default: loading data] [mpg123.0.3: dl] [mpg123.0.3: extract] -> retrieved mpg123.0.3 (https://opam.ocaml.org/cache) [mpg123: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "mpg123" "-j" "32" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/mpg123.0.3) - File "c/dune", line 66, characters 11-32: - 66 | (names c_generated_functions) - ^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -I/usr/include/x86_64-linux-gnu -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/stdlib-shims -I . -o c_generated_functions.o -c c_generated_functions.c) - c_generated_functions.c: In function 'mpg123_stub_8_mpg123_decoders': - c_generated_functions.c:77:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] - 77 | char** x46 = mpg123_decoders(); - | ^~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'mpg123_stub_9_mpg123_supported_decoders': - c_generated_functions.c:86:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] - 86 | char** x51 = mpg123_supported_decoders(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'mpg123_stub_14_mpg123_read': - c_generated_functions.c:141:41: error: passing argument 4 of 'mpg123_read' from incompatible pointer type [-Wincompatible-pointer-types] - 141 | int x93 = mpg123_read(x87, x88, x89, x92); - | ^~~ - | | - | int * - In file included from c_generated_functions.c:1: - /usr/include/x86_64-linux-gnu/mpg123.h:828:53: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' - 828 | , void *outmemory, size_t outmemsize, size_t *done ); - | ~~~~~~~~^~~~ - c_generated_functions.c: In function 'mpg123_stub_20_mpg123_getformat': - c_generated_functions.c:207:38: error: passing argument 2 of 'mpg123_getformat' from incompatible pointer type [-Wincompatible-pointer-types] - 207 | int x139 = mpg123_getformat(x135, x136, x137, x138); - | ^~~~ - | | - | int * - /usr/include/x86_64-linux-gnu/mpg123.h:692:15: note: expected 'long int *' but argument is of type 'int *' - 692 | , long *rate, int *channels, int *encoding ); - | ~~~~~~^~~~ [ERROR] The compilation of mpg123.0.3 failed at "dune build -p mpg123 -j 32 @install". #=== ERROR while compiling mpg123.0.3 =========================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1+letrec | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/mpg123.0.3 # command ~/.opam/default/bin/dune build -p mpg123 -j 32 @install # exit-code 1 # env-file /tmp/opam-root-7/mpg123-7-7c19db.env # output-file /tmp/opam-root-7/mpg123-7-7c19db.out ### output ### # File "c/dune", line 66, characters 11-32: # 66 | (names c_generated_functions) # ^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -I/usr/include/x86_64-linux-gnu -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/stdlib-shims -I . -o c_generated_functions.o -c c_generated_functions.c) # c_generated_functions.c: In function 'mpg123_stub_8_mpg123_decoders': # c_generated_functions.c:77:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] # 77 | char** x46 = mpg123_decoders(); # | ^~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'mpg123_stub_9_mpg123_supported_decoders': # c_generated_functions.c:86:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] # 86 | char** x51 = mpg123_supported_decoders(); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'mpg123_stub_14_mpg123_read': # c_generated_functions.c:141:41: error: passing argument 4 of 'mpg123_read' from incompatible pointer type [-Wincompatible-pointer-types] # 141 | int x93 = mpg123_read(x87, x88, x89, x92); # | ^~~ # | | # | int * # In file included from c_generated_functions.c:1: # /usr/include/x86_64-linux-gnu/mpg123.h:828:53: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' # 828 | , void *outmemory, size_t outmemsize, size_t *done ); # | ~~~~~~~~^~~~ # c_generated_functions.c: In function 'mpg123_stub_20_mpg123_getformat': # c_generated_functions.c:207:38: error: passing argument 2 of 'mpg123_getformat' from incompatible pointer type [-Wincompatible-pointer-types] # 207 | int x139 = mpg123_getformat(x135, x136, x137, x138); # | ^~~~ # | | # | int * # /usr/include/x86_64-linux-gnu/mpg123.h:692:15: note: expected 'long int *' but argument is of type 'int *' # 692 | , long *rate, int *channels, int *encoding ); # | ~~~~~~^~~~