<86>Sep 14 10:47:16 userdel[1498001]: delete user 'rooter' <86>Sep 14 10:47:16 userdel[1498001]: removed group 'rooter' owned by 'rooter' <86>Sep 14 10:47:16 userdel[1498001]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 14 10:47:16 groupadd[1498014]: group added to /etc/group: name=rooter, GID=639 <86>Sep 14 10:47:16 groupadd[1498014]: group added to /etc/gshadow: name=rooter <86>Sep 14 10:47:16 groupadd[1498014]: new group: name=rooter, GID=639 <86>Sep 14 10:47:16 useradd[1498029]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Sep 14 10:47:16 userdel[1498042]: delete user 'builder' <86>Sep 14 10:47:16 userdel[1498042]: removed group 'builder' owned by 'builder' <86>Sep 14 10:47:16 userdel[1498042]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 10:47:16 groupadd[1498059]: group added to /etc/group: name=builder, GID=640 <86>Sep 14 10:47:16 groupadd[1498059]: group added to /etc/gshadow: name=builder <86>Sep 14 10:47:16 groupadd[1498059]: new group: name=builder, GID=640 <86>Sep 14 10:47:16 useradd[1498071]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Sep 14 10:47:18 rpmi: ocaml-runtime-4.12.0-alt1 sisyphus+279404.100.2.2 1626535407 installed <13>Sep 14 10:47:18 rpmi: rpm-build-ocaml-1.4.2-alt1 sisyphus+268936.100.1.1 1617543918 installed <13>Sep 14 10:47:29 rpmi: ocaml-4.12.0-alt1 sisyphus+279404.100.2.2 1626535407 installed <13>Sep 14 10:47:29 rpmi: libncurses-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022624 installed <13>Sep 14 10:47:29 rpmi: libtinfo-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022624 installed <13>Sep 14 10:47:29 rpmi: libncurses-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022624 installed <13>Sep 14 10:47:29 rpmi: ocaml-findlib-1.9.1-alt2 sisyphus+279404.500.2.2 1626535786 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ocaml-curses-1.0.6-alt1.nosrc.rpm (w1.gzdio) Installing ocaml-curses-1.0.6-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.63726 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ocaml-curses-1.0.6 + echo 'Source #0 (ocaml-curses-1.0.6.tar):' Source #0 (ocaml-curses-1.0.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ocaml-curses-1.0.6.tar + cd ocaml-curses-1.0.6 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.63726 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ocaml-curses-1.0.6 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: configure.ac: not using Automake autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + readlink -e -- ./configure + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-widec configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc and cc understand -c and -o together... yes checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for working ncurses library... found in -lncurses checking for term.h... found in checking for wide character support in ncurses library... no checking for resizeterm... yes checking for resize_term... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.ml config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext + make all opt make: Entering directory '/usr/src/RPM/BUILD/ocaml-curses-1.0.6' make[1]: Entering directory '/usr/src/RPM/BUILD/ocaml-curses-1.0.6' ocamldep curses.mli > ._bcdi/curses.di ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d ocamldep keys.ml > ._d/keys.d ocamlc -c -cc "i586-alt-linux-gcc" -ccopt "-fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -DHAVE_CONFIG_H \ -DPIC \ -o ml_curses.o " ml_curses.c In file included from ml_curses.c:216: functions.c: In function 'mlcurses_color_content': functions.c:161:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 161 | BEG1 short x,y,z; if(color_content(Int_val(aa),&x,&y,&z)==ERR) | ^~ ml_curses.c:70:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 70 | { CAMLlocal1(ret); AWB(ret); \ | ^ functions.c:162:13: note: in expansion of macro 'r_int_int_int' 162 | x=y=z=-1; r_int_int_int(x,y,z); END | ^~~~~~~~~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_getstr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:195:6: note: in expansion of macro 'r_err' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:195:20: note: in expansion of macro 'a_string' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_wgetstr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:197:6: note: in expansion of macro 'r_err' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:197:34: note: in expansion of macro 'a_string' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvgetstr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:199:6: note: in expansion of macro 'r_err' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:199:42: note: in expansion of macro 'a_string' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvwgetstr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:201:6: note: in expansion of macro 'r_err' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:201:56: note: in expansion of macro 'a_string' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_getnstr': functions.c:204:32: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:204:6: note: in expansion of macro 'r_err' 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_wgetnstr': functions.c:206:46: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:206:6: note: in expansion of macro 'r_err' 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvgetnstr': functions.c:208:54: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:208:6: note: in expansion of macro 'r_err' 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvwgetnstr_native': functions.c:211:68: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:211:6: note: in expansion of macro 'r_err' 211 | 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:22: /usr/include/ncurses/curses.h:806:47: note: expected 'char *' but argument is of type 'const char *' 806 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_instr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:337:6: note: in expansion of macro 'r_err' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:337:19: note: in expansion of macro 'a_string' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_winstr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:339:6: note: in expansion of macro 'r_err' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:339:33: note: in expansion of macro 'a_string' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvinstr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:341:6: note: in expansion of macro 'r_err' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:341:41: note: in expansion of macro 'a_string' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvwinstr': /usr/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:343:6: note: in expansion of macro 'r_err' 343 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:344:3: note: in expansion of macro 'a_string' 344 | a_string(ad),string_length(ad))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_innstr': functions.c:346:31: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:346:6: note: in expansion of macro 'r_err' 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_winnstr': functions.c:348:45: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:348:6: note: in expansion of macro 'r_err' 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvinnstr': functions.c:350:53: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:350:6: note: in expansion of macro 'r_err' 350 | 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:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_mvwinnstr_native': functions.c:353:15: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 353 | a_string(ad)+a_int(ae),a_int(af))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:352:6: note: in expansion of macro 'r_err' 352 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ In file included from ml_curses.c:22: /usr/include/ncurses/curses.h:812:47: note: expected 'char *' but argument is of type 'const char *' 812 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_unctrl': functions.c:597:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 597 | ML1(unctrl,string,chtype) | ^~~~~~ ml_curses.c:77:15: note: in definition of macro 'r_string' 77 | { char *ret=f; \ | ^ functions.c:597:1: note: in expansion of macro 'ML1' 597 | ML1(unctrl,string,chtype) | ^~~ functions.c: In function 'mlcurses_keyname': functions.c:598:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 598 | ML1(keyname,string,int) | ^~~~~~~ ml_curses.c:77:15: note: in definition of macro 'r_string' 77 | { char *ret=f; \ | ^ functions.c:598:1: note: in expansion of macro 'ML1' 598 | ML1(keyname,string,int) | ^~~ ar rcs libcurses_stubs.a ml_curses.o ocamlc -c -g keys.ml ocamlc -c -g curses.mli ocamlc -c -pp "gcc -x c -E " -g curses.ml ocamlmklib \ -o curses_stubs ml_curses.o -lncurses \ ocamlc -a -dllib dllcurses_stubs.so -custom -g -cclib -lcurses_stubs -cclib -lncurses -o curses.cma keys.cmo curses.cmo make[1]: Leaving directory '/usr/src/RPM/BUILD/ocaml-curses-1.0.6' sed \ -e 's/@PACKAGE@/curses/' \ -e 's/@VERSION@/1.0.4/' \ -e 's/@CURSES@/ncurses/' \ < META.in > META ranlib *.a make[1]: Entering directory '/usr/src/RPM/BUILD/ocaml-curses-1.0.6' ocamldep -native curses.mli > ._ncdi/curses.di make[1]: 'libcurses_stubs.a' is up to date. ocamlopt -c -g keys.ml ocamlopt -c -pp "gcc -x c -E " -g curses.ml ocamlopt -a -g -cclib -lcurses_stubs -cclib -lncurses -o curses.cmxa keys.cmx curses.cmx make[1]: Leaving directory '/usr/src/RPM/BUILD/ocaml-curses-1.0.6' ranlib *.a make: Leaving directory '/usr/src/RPM/BUILD/ocaml-curses-1.0.6' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.61205 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ocaml-curses-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ocaml-curses-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd ocaml-curses-1.0.6 + export DESTDIR=/usr/src/tmp/ocaml-curses-buildroot + DESTDIR=/usr/src/tmp/ocaml-curses-buildroot + export OCAMLFIND_DESTDIR=/usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml + OCAMLFIND_DESTDIR=/usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml + mkdir -p /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/stublibs + ocamlfind install curses META curses.cmi keys.cmi curses.cmx keys.cmx curses.cma curses.cmxa curses.a libcurses_stubs.a dllcurses_stubs.so curses.mli Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/curses.mli Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/libcurses_stubs.a Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/curses.a Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/curses.cmxa Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/curses.cma Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/keys.cmx Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/curses.cmx Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/keys.cmi Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/curses.cmi Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/stublibs/dllcurses_stubs.so Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/stublibs/dllcurses_stubs.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/stublibs is not mentioned in ld.conf Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib/ocaml/curses/META + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ocaml-curses-buildroot (auto) mode of './usr/lib/ocaml/stublibs/dllcurses_stubs.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/ocaml-curses-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/ocaml-curses-buildroot/ (default) Compressing files in /usr/src/tmp/ocaml-curses-buildroot (auto) Adjusting library links in /usr/src/tmp/ocaml-curses-buildroot ./usr/lib: (from :0) /usr/bin/strip: ./usr/lib/ocaml/curses/stlOQDGV/ml_curses.o: plugin needed to handle lto object process-lto: ERROR: ./usr/lib/ocaml/curses/libcurses_stubs.a: contains __gnu_lto_slim only. 061-brp-strip-lto.brp: Most likely this file contains GIMPLE bytecode that should NOT be packaged 061-brp-strip-lto.brp: since its format can change between GCC versions. 061-brp-strip-lto.brp: Use -ffat-lto-objects option to package machine code in static libraries, e.g. 061-brp-strip-lto.brp: %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects} 061-brp-strip-lto.brp: Alternatively, you might want to stop packaging static libraries 061-brp-strip-lto.brp: or disable link-time optimization for this package. error: Bad exit status from /usr/src/tmp/rpm-tmp.61205 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.61205 (%install) Command exited with non-zero status 1 4.69user 0.87system 0:06.41elapsed 86%CPU (0avgtext+0avgdata 36648maxresident)k 0inputs+0outputs (0major+357465minor)pagefaults 0swaps hsh-rebuild: rebuild of `ocaml-curses-1.0.6-alt1.src.rpm' failed. Command exited with non-zero status 1 18.64user 3.32system 0:22.56elapsed 97%CPU (0avgtext+0avgdata 101240maxresident)k 0inputs+0outputs (0major+574444minor)pagefaults 0swaps