The following actions will be performed: - install portaudio 0.2.0 =-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [portaudio: http] Command started [portaudio: http] Command started [portaudio.0.2.0] http://downloads.sourceforge.net/project/savonet/ocaml-portaudio/0.2.0/ocaml-portaudio-0.2.0.tar.gz downloaded =-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= [portaudio: ./configure] Command started + ./configure "--prefix" "/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051" (CWD=/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0) - configuring ocaml-portaudio 0.2.0 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking for ocamlc... ocamlc - OCaml version is 4.07.1+dev0-2018-07-10 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... camlp4 - versions differs from ocamlc - checking for camlp4boot... camlp4boot - checking for camlp4o... camlp4o - checking for camlp4of... camlp4of - checking for camlp4oof... camlp4oof - checking for camlp4orf... camlp4orf - checking for camlp4prof... camlp4prof - checking for camlp4r... camlp4r - checking for camlp4rf... camlp4rf - checking for ocamlfind... ocamlfind - checking for caml/threads.h... yes - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for pkg-config... /usr/bin/pkg-config - checking pkg-config is at least version 0.9.0... yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/META - config.status: creating src/Makefile - configuring ocaml-portaudio 0.2.0 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking for ocamlc... ocamlc - OCaml version is 4.07.1+dev0-2018-07-10 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... camlp4 - versions differs from ocamlc - checking for camlp4boot... camlp4boot - checking for camlp4o... camlp4o - checking for camlp4of... camlp4of - checking for camlp4oof... camlp4oof - checking for camlp4orf... camlp4orf - checking for camlp4prof... camlp4prof - checking for camlp4r... camlp4r - checking for camlp4rf... camlp4rf - checking for ocamlfind... ocamlfind - checking for caml/threads.h... yes - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for pkg-config... /usr/bin/pkg-config - checking pkg-config is at least version 0.9.0... yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/META - config.status: creating src/Makefile [portaudio: make] Command started + make (CWD=/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0) - configuring ocaml-portaudio 0.2.0 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking for ocamlc... ocamlc - OCaml version is 4.07.1+dev0-2018-07-10 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... camlp4 - versions differs from ocamlc - checking for camlp4boot... camlp4boot - checking for camlp4o... camlp4o - checking for camlp4of... camlp4of - checking for camlp4oof... camlp4oof - checking for camlp4orf... camlp4orf - checking for camlp4prof... camlp4prof - checking for camlp4r... camlp4r - checking for camlp4rf... camlp4rf - checking for ocamlfind... ocamlfind - checking for caml/threads.h... yes - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for pkg-config... /usr/bin/pkg-config - checking pkg-config is at least version 0.9.0... yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/META - config.status: creating src/Makefile - make -C src all - make[1]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - make[2]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - ocamldep portaudio.mli > ._bcdi/portaudio.di - ocamldep portaudio.ml > ._d/portaudio.d - ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include -DCAML_THREADS -pthread -Wall -DCAML_NAME_SPACE \ - -DPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include \ - -o portaudio_stubs.o " portaudio_stubs.c - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:523:27: error: unknown type name 'int32' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:37: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: error: 'int32' undeclared (first use in this function) - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: note: each undeclared identifier is reported only once for each function it appears in - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:501:78: error: expected expression before ')' token - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:13: note: in expansion of macro 'GET_BUFFER_NI' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:493:40: error: 'bufi' undeclared (first use in this function) - #define GET_BUFFER(type, elem) { type *bufi = malloc(chans * len * sizeof(type)); \ - ^ - portaudio_stubs.c:525:13: note: in expansion of macro 'GET_BUFFER' - GET_BUFFER(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c: In function 'get_read_buffer': - portaudio_stubs.c:554:23: error: 'int32' undeclared (first use in this function) - size = sizeof(int32); - ^ - portaudio_stubs.c: In function 'ocaml_portaudio_copy_buffer': - portaudio_stubs.c:595:21: error: unknown type name 'int32' - COPY_BUFFER(int32, Store_field, caml_copy_int32) - ^ - portaudio_stubs.c:579:40: note: in definition of macro 'COPY_BUFFER' - #define COPY_BUFFER(type, store, elem) type *buf = inbuf; \ - ^ - portaudio_stubs.c: In function 'get_buffer_ba': - portaudio_stubs.c:665:9: error: unknown type name 'int32' - int32 *bufi = Caml_ba_data_val(buf); - ^ - portaudio_stubs.c:656:9: warning: variable 'dim' set but not used [-Wunused-but-set-variable] - int dim; - ^ - portaudio_stubs.c: In function 'get_buffer_ba_ni': - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:682:29: note: in definition of macro 'GET_BUFFER_BA' - #define GET_BUFFER_BA(type) type *bufi = Caml_ba_data_val(buf); \ - ^ - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:9: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:23: error: 'int32' undeclared (first use in this function) - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:45: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:683:50: error: expected expression before ')' token - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:9: note: in expansion of macro 'GET_BUFFER_BA' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ - OCamlMakefile:1029: recipe for target 'portaudio_stubs.o' failed - make[2]: *** [portaudio_stubs.o] Error 2 - make[2]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - OCamlMakefile:736: recipe for target 'byte-code-library' failed - make[1]: *** [byte-code-library] Error 2 - make[1]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - Makefile:12: recipe for target 'all' failed - make: *** [all] Error 2 - configuring ocaml-portaudio 0.2.0 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking for ocamlc... ocamlc - OCaml version is 4.07.1+dev0-2018-07-10 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... camlp4 - versions differs from ocamlc - checking for camlp4boot... camlp4boot - checking for camlp4o... camlp4o - checking for camlp4of... camlp4of - checking for camlp4oof... camlp4oof - checking for camlp4orf... camlp4orf - checking for camlp4prof... camlp4prof - checking for camlp4r... camlp4r - checking for camlp4rf... camlp4rf - checking for ocamlfind... ocamlfind - checking for caml/threads.h... yes - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for pkg-config... /usr/bin/pkg-config - checking pkg-config is at least version 0.9.0... yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/META - config.status: creating src/Makefile - make -C src all - make[1]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - make[2]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - ocamldep portaudio.mli > ._bcdi/portaudio.di - ocamldep portaudio.ml > ._d/portaudio.d - ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include -DCAML_THREADS -pthread -Wall -DCAML_NAME_SPACE \ - -DPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include \ - -o portaudio_stubs.o " portaudio_stubs.c - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:523:27: error: unknown type name 'int32' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:37: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: error: 'int32' undeclared (first use in this function) - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: note: each undeclared identifier is reported only once for each function it appears in - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:501:78: error: expected expression before ')' token - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:13: note: in expansion of macro 'GET_BUFFER_NI' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:493:40: error: 'bufi' undeclared (first use in this function) - #define GET_BUFFER(type, elem) { type *bufi = malloc(chans * len * sizeof(type)); \ - ^ - portaudio_stubs.c:525:13: note: in expansion of macro 'GET_BUFFER' - GET_BUFFER(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c: In function 'get_read_buffer': - portaudio_stubs.c:554:23: error: 'int32' undeclared (first use in this function) - size = sizeof(int32); - ^ - portaudio_stubs.c: In function 'ocaml_portaudio_copy_buffer': - portaudio_stubs.c:595:21: error: unknown type name 'int32' - COPY_BUFFER(int32, Store_field, caml_copy_int32) - ^ - portaudio_stubs.c:579:40: note: in definition of macro 'COPY_BUFFER' - #define COPY_BUFFER(type, store, elem) type *buf = inbuf; \ - ^ - portaudio_stubs.c: In function 'get_buffer_ba': - portaudio_stubs.c:665:9: error: unknown type name 'int32' - int32 *bufi = Caml_ba_data_val(buf); - ^ - portaudio_stubs.c:656:9: warning: variable 'dim' set but not used [-Wunused-but-set-variable] - int dim; - ^ - portaudio_stubs.c: In function 'get_buffer_ba_ni': - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:682:29: note: in definition of macro 'GET_BUFFER_BA' - #define GET_BUFFER_BA(type) type *bufi = Caml_ba_data_val(buf); \ - ^ - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:9: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:23: error: 'int32' undeclared (first use in this function) - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:45: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:683:50: error: expected expression before ')' token - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:9: note: in expansion of macro 'GET_BUFFER_BA' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ - OCamlMakefile:1029: recipe for target 'portaudio_stubs.o' failed - make[2]: *** [portaudio_stubs.o] Error 2 - make[2]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - OCamlMakefile:736: recipe for target 'byte-code-library' failed - make[1]: *** [byte-code-library] Error 2 - make[1]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - Makefile:12: recipe for target 'all' failed - make: *** [all] Error 2 [ERROR] The compilation of portaudio failed at "make". [portaudio: ocamlfind remove] Command started + ocamlfind "remove" "portaudio" (CWD=/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0) - configuring ocaml-portaudio 0.2.0 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking for ocamlc... ocamlc - OCaml version is 4.07.1+dev0-2018-07-10 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... camlp4 - versions differs from ocamlc - checking for camlp4boot... camlp4boot - checking for camlp4o... camlp4o - checking for camlp4of... camlp4of - checking for camlp4oof... camlp4oof - checking for camlp4orf... camlp4orf - checking for camlp4prof... camlp4prof - checking for camlp4r... camlp4r - checking for camlp4rf... camlp4rf - checking for ocamlfind... ocamlfind - checking for caml/threads.h... yes - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for pkg-config... /usr/bin/pkg-config - checking pkg-config is at least version 0.9.0... yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/META - config.status: creating src/Makefile - make -C src all - make[1]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - make[2]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - ocamldep portaudio.mli > ._bcdi/portaudio.di - ocamldep portaudio.ml > ._d/portaudio.d - ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include -DCAML_THREADS -pthread -Wall -DCAML_NAME_SPACE \ - -DPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include \ - -o portaudio_stubs.o " portaudio_stubs.c - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:523:27: error: unknown type name 'int32' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:37: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: error: 'int32' undeclared (first use in this function) - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: note: each undeclared identifier is reported only once for each function it appears in - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:501:78: error: expected expression before ')' token - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:13: note: in expansion of macro 'GET_BUFFER_NI' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:493:40: error: 'bufi' undeclared (first use in this function) - #define GET_BUFFER(type, elem) { type *bufi = malloc(chans * len * sizeof(type)); \ - ^ - portaudio_stubs.c:525:13: note: in expansion of macro 'GET_BUFFER' - GET_BUFFER(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c: In function 'get_read_buffer': - portaudio_stubs.c:554:23: error: 'int32' undeclared (first use in this function) - size = sizeof(int32); - ^ - portaudio_stubs.c: In function 'ocaml_portaudio_copy_buffer': - portaudio_stubs.c:595:21: error: unknown type name 'int32' - COPY_BUFFER(int32, Store_field, caml_copy_int32) - ^ - portaudio_stubs.c:579:40: note: in definition of macro 'COPY_BUFFER' - #define COPY_BUFFER(type, store, elem) type *buf = inbuf; \ - ^ - portaudio_stubs.c: In function 'get_buffer_ba': - portaudio_stubs.c:665:9: error: unknown type name 'int32' - int32 *bufi = Caml_ba_data_val(buf); - ^ - portaudio_stubs.c:656:9: warning: variable 'dim' set but not used [-Wunused-but-set-variable] - int dim; - ^ - portaudio_stubs.c: In function 'get_buffer_ba_ni': - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:682:29: note: in definition of macro 'GET_BUFFER_BA' - #define GET_BUFFER_BA(type) type *bufi = Caml_ba_data_val(buf); \ - ^ - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:9: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:23: error: 'int32' undeclared (first use in this function) - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:45: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:683:50: error: expected expression before ')' token - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:9: note: in expansion of macro 'GET_BUFFER_BA' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ - OCamlMakefile:1029: recipe for target 'portaudio_stubs.o' failed - make[2]: *** [portaudio_stubs.o] Error 2 - make[2]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - OCamlMakefile:736: recipe for target 'byte-code-library' failed - make[1]: *** [byte-code-library] Error 2 - make[1]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - Makefile:12: recipe for target 'all' failed - make: *** [all] Error 2 - ocamlfind: [WARNING] No such file: /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/portaudio/META - configuring ocaml-portaudio 0.2.0 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking for ocamlc... ocamlc - OCaml version is 4.07.1+dev0-2018-07-10 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... camlp4 - versions differs from ocamlc - checking for camlp4boot... camlp4boot - checking for camlp4o... camlp4o - checking for camlp4of... camlp4of - checking for camlp4oof... camlp4oof - checking for camlp4orf... camlp4orf - checking for camlp4prof... camlp4prof - checking for camlp4r... camlp4r - checking for camlp4rf... camlp4rf - checking for ocamlfind... ocamlfind - checking for caml/threads.h... yes - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for pkg-config... /usr/bin/pkg-config - checking pkg-config is at least version 0.9.0... yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/META - config.status: creating src/Makefile - make -C src all - make[1]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - make[2]: Entering directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - ocamldep portaudio.mli > ._bcdi/portaudio.di - ocamldep portaudio.ml > ._d/portaudio.d - ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include -DCAML_THREADS -pthread -Wall -DCAML_NAME_SPACE \ - -DPIC -I/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/include \ - -o portaudio_stubs.o " portaudio_stubs.c - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:523:27: error: unknown type name 'int32' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:37: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: error: 'int32' undeclared (first use in this function) - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:27: note: each undeclared identifier is reported only once for each function it appears in - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:501:73: note: in definition of macro 'GET_BUFFER_NI' - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:501:78: error: expected expression before ')' token - #define GET_BUFFER_NI(type, elem) { type **bufi = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:523:13: note: in expansion of macro 'GET_BUFFER_NI' - GET_BUFFER_NI(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c:493:40: error: 'bufi' undeclared (first use in this function) - #define GET_BUFFER(type, elem) { type *bufi = malloc(chans * len * sizeof(type)); \ - ^ - portaudio_stubs.c:525:13: note: in expansion of macro 'GET_BUFFER' - GET_BUFFER(int32, Int32_val(Field(bufc, ofs + i))) - ^ - portaudio_stubs.c: In function 'get_read_buffer': - portaudio_stubs.c:554:23: error: 'int32' undeclared (first use in this function) - size = sizeof(int32); - ^ - portaudio_stubs.c: In function 'ocaml_portaudio_copy_buffer': - portaudio_stubs.c:595:21: error: unknown type name 'int32' - COPY_BUFFER(int32, Store_field, caml_copy_int32) - ^ - portaudio_stubs.c:579:40: note: in definition of macro 'COPY_BUFFER' - #define COPY_BUFFER(type, store, elem) type *buf = inbuf; \ - ^ - portaudio_stubs.c: In function 'get_buffer_ba': - portaudio_stubs.c:665:9: error: unknown type name 'int32' - int32 *bufi = Caml_ba_data_val(buf); - ^ - portaudio_stubs.c:656:9: warning: variable 'dim' set but not used [-Wunused-but-set-variable] - int dim; - ^ - portaudio_stubs.c: In function 'get_buffer_ba_ni': - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:682:29: note: in definition of macro 'GET_BUFFER_BA' - #define GET_BUFFER_BA(type) type *bufi = Caml_ba_data_val(buf); \ - ^ - portaudio_stubs.c:703:23: error: unknown type name 'int32' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:9: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:23: error: 'int32' undeclared (first use in this function) - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c:683:45: note: in definition of macro 'GET_BUFFER_BA' - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:683:50: error: expected expression before ')' token - type **bufo = malloc(chans * sizeof(type*)); \ - ^ - portaudio_stubs.c:703:9: note: in expansion of macro 'GET_BUFFER_BA' - GET_BUFFER_BA(int32) - ^ - portaudio_stubs.c: In function 'get_buffer': - portaudio_stubs.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] - } - ^ - OCamlMakefile:1029: recipe for target 'portaudio_stubs.o' failed - make[2]: *** [portaudio_stubs.o] Error 2 - make[2]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - OCamlMakefile:736: recipe for target 'byte-code-library' failed - make[1]: *** [byte-code-library] Error 2 - make[1]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' - Makefile:12: recipe for target 'all' failed - make: *** [all] Error 2 - ocamlfind: [WARNING] No such file: /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/lib/portaudio/META #=== ERROR while installing portaudio.0.2.0 ===================================# # opam-version 1.2.2+dd (3852ba0a7708d4dc37f64dd4cd00f873bf317ac0) # os linux # command make # path /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0 # compiler 4.07.0+pr2051 # exit-code 2 # env-file /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/portaudio-32240.env # stdout-file /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/portaudio-32240.out # stderr-file /home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/portaudio-32240.out ### stdout ### # portaudio_stubs.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] # [...] # ^ # OCamlMakefile:1029: recipe for target 'portaudio_stubs.o' failed # make[2]: *** [portaudio_stubs.o] Error 2 # make[2]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' # OCamlMakefile:736: recipe for target 'byte-code-library' failed # make[1]: *** [byte-code-library] Error 2 # make[1]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' # Makefile:12: recipe for target 'all' failed # make: *** [all] Error 2 ### stderr ### # portaudio_stubs.c:543:1: warning: control reaches end of non-void function [-Wreturn-type] # [...] # ^ # OCamlMakefile:1029: recipe for target 'portaudio_stubs.o' failed # make[2]: *** [portaudio_stubs.o] Error 2 # make[2]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' # OCamlMakefile:736: recipe for target 'byte-code-library' failed # make[1]: *** [byte-code-library] Error 2 # make[1]: Leaving directory '/home/doligez/opamcheck/sandbox2/opamstate/4.07.0+pr2051/dotopam/4.07.0+pr2051/build/portaudio.0.2.0/src' # Makefile:12: recipe for target 'all' failed # make: *** [all] Error 2 =-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The following actions failed - install portaudio 0.2.0 No changes have been performed =-=- portaudio.0.2.0 troobleshooting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= => This package relies on external (system) dependencies that may be missing. `opam depext portaudio.0.2.0' may help you find the correct installation for your system. 'opam install portaudio.0.2.0' failed.