<86>Sep 2 03:13:36 userdel[1190703]: delete user 'rooter' <86>Sep 2 03:13:36 userdel[1190703]: removed group 'rooter' owned by 'rooter' <86>Sep 2 03:13:36 userdel[1190703]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 2 03:13:36 groupadd[1190729]: group added to /etc/group: name=rooter, GID=627 <86>Sep 2 03:13:36 groupadd[1190729]: group added to /etc/gshadow: name=rooter <86>Sep 2 03:13:36 groupadd[1190729]: new group: name=rooter, GID=627 <86>Sep 2 03:13:36 useradd[1190751]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Sep 2 03:13:36 userdel[1190777]: delete user 'builder' <86>Sep 2 03:13:36 userdel[1190777]: removed group 'builder' owned by 'builder' <86>Sep 2 03:13:36 userdel[1190777]: removed shadow group 'builder' owned by 'builder' <86>Sep 2 03:13:36 groupadd[1190794]: group added to /etc/group: name=builder, GID=628 <86>Sep 2 03:13:36 groupadd[1190794]: group added to /etc/gshadow: name=builder <86>Sep 2 03:13:36 groupadd[1190794]: new group: name=builder, GID=628 <86>Sep 2 03:13:36 useradd[1190814]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Sep 2 03:13:39 rpmi: ocaml-runtime-4.12.0-alt1 sisyphus+279404.100.2.2 1626535812 installed <13>Sep 2 03:13:39 rpmi: rpm-build-ocaml-1.4.2-alt1 sisyphus+268936.100.1.1 1617543918 installed <13>Sep 2 03:13:54 rpmi: ocaml-4.12.0-alt1 sisyphus+279404.100.2.2 1626535812 installed <13>Sep 2 03:13:54 rpmi: libncurses-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Sep 2 03:13:54 rpmi: libtinfo-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Sep 2 03:13:54 rpmi: libncurses-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Sep 2 03:13:54 rpmi: ocaml-findlib-1.9.1-alt2 sisyphus+279404.500.2.2 1626536218 installed Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.50530 + 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.50530 + 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' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --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 x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc and cc understand -c and -o together... yes checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... x86_64-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 "x86_64-alt-linux-gcc" -ccopt "-fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DHAVE_CONFIG_H \ -DPIC \ -o ml_curses.o " ml_curses.c In file included from ml_curses.c:7: functions.c: In function 'mlcurses_getstr': /usr/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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:21: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:18: note: in expansion of macro 'CAMLreturn' 51 | #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:379:21: note: in expansion of macro 'Val_int' 379 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:29: 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.19180 + 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/lib64/ocaml + OCAMLFIND_DESTDIR=/usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml + mkdir -p /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/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/lib64/ocaml/curses/curses.mli Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/libcurses_stubs.a Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/curses.a Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/curses.cmxa Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/curses.cma Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/keys.cmx Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/curses.cmx Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/keys.cmi Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/curses.cmi Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/stublibs/dllcurses_stubs.so Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/stublibs/dllcurses_stubs.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /usr/src/tmp/ocaml-curses-buildroot/usr/lib64/ocaml/curses/META + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ocaml-curses-buildroot (auto) mode of './usr/lib64/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/lib64: (from :0) /usr/bin/strip: ./usr/lib64/ocaml/curses/st5YSjcw/ml_curses.o: plugin needed to handle lto object process-lto: ERROR: ./usr/lib64/ocaml/curses/libcurses_stubs.a: contains __gnu_lto_slim only. Perhaps, you need to %global optflags_lto %optflags_lto -ffat-lto-objects error: Bad exit status from /usr/src/tmp/rpm-tmp.19180 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.19180 (%install) Command exited with non-zero status 1 7.74user 2.50system 0:10.74elapsed 95%CPU (0avgtext+0avgdata 52476maxresident)k 0inputs+0outputs (0major+416431minor)pagefaults 0swaps hsh-rebuild: rebuild of `ocaml-curses-1.0.6-alt1.src.rpm' failed. Command exited with non-zero status 1 28.08user 8.37system 0:35.93elapsed 101%CPU (0avgtext+0avgdata 102104maxresident)k 0inputs+0outputs (0major+641096minor)pagefaults 0swaps