* Package: sci-calculators/orpie-1.5.2-r1 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking orpie-1.5.2.tar.gz to /var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work >>> Source unpacked in /var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work >>> Preparing source in /var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work/orpie-1.5.2 ... * Applying orpie-1.5.1-ocaml311.patch ... [ ok ] * Applying orpie-1.5.2-nogsl.patch ... [ ok ] * Applying orpie-1.5.1-orpierc.patch ... [ ok ] * Applying orpie-1.5.1-tinfo.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work/orpie-1.5.2' ... * Running autoconf --force ... [ ok ] * Running elibtoolize in: orpie-1.5.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work/orpie-1.5.2 ... * econf: updating orpie-1.5.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating orpie-1.5.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/orpie-1.5.2-r1 --htmldir=/usr/share/doc/orpie-1.5.2-r1/html --libdir=/usr/lib64 checking for ocamlc... ocamlc ocaml version is 4.11.1 ocaml library path is /usr/lib64/ocaml checking for ocamlopt... ocamlopt checking ocamlopt version... ok checking for ocamlc.opt... ocamlc.opt checking ocamlc.opt version... ok checking for ocamlopt.opt... ocamlopt.opt checking ocamlc.opt version... ok checking for ocamldep... ocamldep checking for ocamllex... ocamllex checking for ocamllex.opt... ocamllex.opt checking for ocamlyacc... ocamlyacc checking platform... not Win32 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for working curses... yes checking for library containing stdscr... -ltinfo checking for gsl-config... /usr/bin/gsl-config checking for GNU Scientific Library... yes configure: creating ./config.status config.status: creating Makefile config.status: creating install.ml >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work/orpie-1.5.2 ... make -j1 -j1 ocamlc.opt -c -g -I ./curses -thread curses/curses.mli ocamlopt.opt -c -I ./curses -thread curses/curses.ml cd curses && ocamlc.opt -ccopt "-Wall -fPIC -DPIC -O2 -pipe -march=native -fno-diagnostics-color " -c ml_curses.c In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_getstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:137:6: note: in expansion of macro ‘r_err’ 137 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:137:20: note: in expansion of macro ‘a_string’ 137 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_wgetstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:139:6: note: in expansion of macro ‘r_err’ 139 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:139:34: note: in expansion of macro ‘a_string’ 139 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvgetstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:141:6: note: in expansion of macro ‘r_err’ 141 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:141:42: note: in expansion of macro ‘a_string’ 141 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvwgetstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:143:6: note: in expansion of macro ‘r_err’ 143 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:143:56: note: in expansion of macro ‘a_string’ 143 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_getnstr’: functions.c:146:32: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:146:6: note: in expansion of macro ‘r_err’ 146 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_wgetnstr’: functions.c:148:46: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:148:6: note: in expansion of macro ‘r_err’ 148 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvgetnstr’: functions.c:150:54: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:150:6: note: in expansion of macro ‘r_err’ 150 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvwgetnstr_native’: functions.c:153:68: warning: passing argument 2 of ‘wgetnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:153:6: note: in expansion of macro ‘r_err’ 153 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:855:47: note: expected ‘char *’ but argument is of type ‘const char *’ 855 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_instr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:251:6: note: in expansion of macro ‘r_err’ 251 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:251:19: note: in expansion of macro ‘a_string’ 251 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_winstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:253:6: note: in expansion of macro ‘r_err’ 253 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:253:33: note: in expansion of macro ‘a_string’ 253 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvinstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:255:6: note: in expansion of macro ‘r_err’ 255 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:255:41: note: in expansion of macro ‘a_string’ 255 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvwinstr’: /usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:257:6: note: in expansion of macro ‘r_err’ 257 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:61:21: note: in expansion of macro ‘String_val’ 61 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:258:3: note: in expansion of macro ‘a_string’ 258 | a_string(ad),string_length(ad))); END | ^~~~~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_innstr’: functions.c:260:31: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 260 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:260:6: note: in expansion of macro ‘r_err’ 260 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_winnstr’: functions.c:262:45: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:262:6: note: in expansion of macro ‘r_err’ 262 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvinnstr’: functions.c:264:53: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:264:6: note: in expansion of macro ‘r_err’ 264 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:3: functions.c: In function ‘mlcurses_mvwinnstr_native’: functions.c:267:15: warning: passing argument 2 of ‘winnstr’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | a_string(ad)+a_int(ae),a_int(af))); END | ^ /usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro ‘CAMLreturnT’ 476 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:30:18: note: in expansion of macro ‘CAMLreturn’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro ‘Val_long’ 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:362:21: note: in expansion of macro ‘Val_int’ 362 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:30:29: note: in expansion of macro ‘Val_bool’ 30 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:266:6: note: in expansion of macro ‘r_err’ 266 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ In file included from ml_curses.c:15: /usr/include/curses.h:861:47: note: expected ‘char *’ but argument is of type ‘const char *’ 861 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_unctrl’: functions.c:407:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 407 | ML1(unctrl,string,chtype) | ^~~~~~ ml_curses.c:50:15: note: in definition of macro ‘r_string’ 50 | { char *ret=f; \ | ^ functions.c:407:1: note: in expansion of macro ‘ML1’ 407 | ML1(unctrl,string,chtype) | ^~~ functions.c: In function ‘mlcurses_keyname’: functions.c:408:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 408 | ML1(keyname,string,int) | ^~~~~~~ ml_curses.c:50:15: note: in definition of macro ‘r_string’ 50 | { char *ret=f; \ | ^ functions.c:408:1: note: in expansion of macro ‘ML1’ 408 | ML1(keyname,string,int) | ^~~ In file included from ml_curses.c:1: functions.c: In function ‘mlcurses_getsyx’: /usr/lib64/ocaml/caml/mlvalues.h:75:37: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ In file included from ml_curses.c:176: functions.c:295:10: note: ‘x’ was declared here 295 | BEG0 int x,y; getsyx(y,x); r_int_int(x,y); END | ^ In file included from ml_curses.c:1: /usr/lib64/ocaml/caml/mlvalues.h:75:37: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ^ In file included from ml_curses.c:176: functions.c:295:12: note: ‘y’ was declared here 295 | BEG0 int x,y; getsyx(y,x); r_int_int(x,y); END | ^ make: *** No rule to make target '/usr/lib/ocaml/gsl/gsl.cmxa', needed by 'orpie.opt'. Stop. * ERROR: sci-calculators/orpie-1.5.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-calculators/orpie-1.5.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-calculators/orpie-1.5.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sci-calculators:orpie-1.5.2-r1:20201211-174101.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-calculators/orpie-1.5.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-calculators/orpie-1.5.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work/orpie-1.5.2' * S: '/var/tmp/portage/sci-calculators/orpie-1.5.2-r1/work/orpie-1.5.2'