+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-newt.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Hokkoa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-newt-0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocaml-newt-0.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-newt-0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nyJgxf + umask 022 + cd /builddir/build/BUILD + cd ocaml-newt-0.9 + unset MAKEFLAGS + ./configure --libdir=/usr/lib64 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for function prototypes... yes checking whether gcc and cc understand -c and -o together... yes checking for newtInit in -lnewt... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 newt.h usability... yes checking newt.h presence... yes checking for newt.h... yes checking for newtComponentDestroy... yes checking for newtComponentAddDestroyCallback... yes checking for ocamlc... ocamlc OCaml version is 4.06.0 OCaml library path is /usr/lib64/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamlfind... ocamlfind checking for camlidl... camlidl configure: creating ./config.status config.status: creating Makefile config.status: creating META config.status: creating config.h + make newt_int.mli rm -f .depend ocamlfind ocamldep \ newt.mli newt.ml examples/12_enable.ml examples/04_form.ml examples/03_window.ml examples/10_message.ml examples/01_open.ml examples/07_checkbox.ml examples/05_listbox.ml examples/11_chooser.ml examples/06_gc.ml examples/02_simple.ml > .depend gcc -g -O2 -I/usr/lib64/ocaml -fPIC -MM newt_int_stubs_by_hand.c config.h >> .depend camlidl -no-include newt_int.idl newt_int.idl:18:12: warning: missing terminating " character quote(mli, " ^ newt_int.idl:22:3: warning: missing terminating " character *)") ^ newt_int.idl:105:10: warning: missing terminating " character quote(c, " ^ newt_int.idl:121:1: warning: missing terminating " character ") ^ newt_int.idl:390:11: warning: missing terminating " character quote(ml, " ^ newt_int.idl:391:91: warning: missing terminating " character external newtCheckbox : int -> int -> string -> char -> string option -> newtComponent = \"newt_stubs_newtCheckbox\" ^ newt_int.idl:393:101: warning: missing terminating " character external newtRadiobutton : int -> int -> string -> bool -> newtComponent option -> newtComponent = \"newt_stubs_newtRadiobutton\" ^ newt_int.idl:395:65: warning: missing terminating " character external newtListboxGetCurrent : newtComponent -> int option = \"newt_stubs_newtListboxGetCurrent\" ^ newt_int.idl:396:71: warning: missing terminating " character external newtListboxSetCurrentByKey : newtComponent -> int -> unit = \"newt_stubs_newtListboxSetCurrentByKey\" ^ newt_int.idl:397:70: warning: missing terminating " character external newtListboxSetData : newtComponent -> int -> int -> unit = \"newt_stubs_newtListboxSetData\" ^ newt_int.idl:398:76: warning: missing terminating " character external newtListboxAppendEntry : newtComponent -> string -> int -> int = \"newt_stubs_newtListboxAppendEntry\" ^ newt_int.idl:399:90: warning: missing terminating " character external newtListboxInsertEntry : newtComponent -> string -> int -> int option -> int = \"newt_stubs_newtListboxInsertEntry\" ^ newt_int.idl:400:66: warning: missing terminating " character external newtListboxDeleteEntry : newtComponent -> int -> int = \"newt_stubs_newtListboxDeleteEntry\" ^ newt_int.idl:401:72: warning: missing terminating " character external newtListboxGetEntry : newtComponent -> int -> string * int = \"newt_stubs_newtListboxGetEntry\" ^ newt_int.idl:402:66: warning: missing terminating " character external newtListboxGetSelection : newtComponent -> int array = \"newt_stubs_newtListboxGetSelection\" ^ newt_int.idl:403:84: warning: missing terminating " character external newtListboxSelectItem : newtComponent -> int -> newtFlagsSense -> unit = \"newt_stubs_newtListboxSelectItem\" ^ newt_int.idl:405:86: warning: missing terminating " character external newtForm : newtComponent option -> string option -> int -> newtComponent = \"newt_stubs_newtForm\" ^ newt_int.idl:406:65: warning: missing terminating " character external newtRunForm : newtComponent -> newtComponent option = \"newt_stubs_newtRunForm\" ^ newt_int.idl:408:80: warning: missing terminating " character external newtComponentAddCallback : newtComponent -> (unit -> unit) -> unit = \"newt_stubs_newtComponentAddCallback\" ^ newt_int.idl:410:59: warning: missing terminating " character external newtComponentAddress : newtComponent -> int64 = \"newt_stubs_newtComponentAddress\" ^ newt_int.idl:411:1: warning: missing terminating " character "); ^ newt_int.idl:413:12: warning: missing terminating " character quote(mli, " ^ newt_int.idl:434:1: warning: missing terminating " character "); ^ File newt_int.idl, line 233, column 58: Warning: attribute `out' unknown, malformed or not applicable here, ignored. + rm -f .depend + make depend rm -f .depend ocamlfind ocamldep \ newt_int.mli newt.mli newt_int.ml newt.ml examples/12_enable.ml examples/04_form.ml examples/03_window.ml examples/10_message.ml examples/01_open.ml examples/07_checkbox.ml examples/05_listbox.ml examples/11_chooser.ml examples/06_gc.ml examples/02_simple.ml > .depend gcc -g -O2 -I/usr/lib64/ocaml -fPIC -MM newt_int_stubs.c newt_int_stubs_by_hand.c config.h >> .depend + make all gcc -g -O2 -I/usr/lib64/ocaml -fPIC -c -o newt_int_stubs.o newt_int_stubs.c newt_int_stubs.c: In function 'camlidl_newt_int_newtEntry': newt_int_stubs.c:1393:52: warning: passing argument 5 of 'newtEntry' from incompatible pointer type [-Wincompatible-pointer-types] _res = newtEntry(left, top, initialValue, width, pass_null, flags); ^~~~~~~~~ In file included from newt_int_stubs.c:19:0: /usr/include/newt.h:249:15: note: expected 'const char **' but argument is of type 'char **' newtComponent newtEntry(int left, int top, const char * initialValue, int width, ^~~~~~~~~ In file included from newt_int_stubs.c:1757:0: newt_int_stubs_by_hand.c: At top level: newt_int_stubs_by_hand.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] newt_stubs_newtComponentAddCallback (value cov, value fv) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newt_int_stubs_by_hand.c:407:1: warning: return type defaults to 'int' [-Wimplicit-int] newt_stubs_newtComponentAddress (value cov) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ocamlfind ocamlc -I . -c newt_int.mli File "newt_int.mli", line 84, characters 2-26: Warning 30: the constructor NEWT_EXIT_TIMER is defined in both types newtExitStructReason and union_6. File "newt_int.mli", line 85, characters 2-27: Warning 30: the constructor NEWT_EXIT_HOTKEY is defined in both types newtExitStructReason and union_6. File "newt_int.mli", line 86, characters 2-40: Warning 30: the constructor NEWT_EXIT_COMPONENT is defined in both types newtExitStructReason and union_6. ocamlfind ocamlc -I . -c newt_int.ml File "newt_int.ml", line 84, characters 2-26: Warning 30: the constructor NEWT_EXIT_TIMER is defined in both types newtExitStructReason and union_6. File "newt_int.ml", line 85, characters 2-27: Warning 30: the constructor NEWT_EXIT_HOTKEY is defined in both types newtExitStructReason and union_6. File "newt_int.ml", line 86, characters 2-40: Warning 30: the constructor NEWT_EXIT_COMPONENT is defined in both types newtExitStructReason and union_6. ocamlfind ocamlc -I . -c newt.mli ocamlfind ocamlc -I . -c newt.ml ocamlmklib -o mlnewt newt_int_stubs.o newt_int.cmo newt.cmo -L/usr/lib64/ocaml -lcamlidl -lnewt ocamlfind ocamlc -I . -c examples/12_enable.ml File "examples/12_enable.ml", line 1: Warning 24: bad source file name: "12_enable" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/12_enable.cmo -o examples/12_enable ocamlfind ocamlc -I . -c examples/04_form.ml File "examples/04_form.ml", line 1: Warning 24: bad source file name: "04_form" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/04_form.cmo -o examples/04_form ocamlfind ocamlc -I . -c examples/03_window.ml File "examples/03_window.ml", line 1: Warning 24: bad source file name: "03_window" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/03_window.cmo -o examples/03_window ocamlfind ocamlc -I . -c examples/10_message.ml File "examples/10_message.ml", line 1: Warning 24: bad source file name: "10_message" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/10_message.cmo -o examples/10_message ocamlfind ocamlc -I . -c examples/01_open.ml File "examples/01_open.ml", line 1: Warning 24: bad source file name: "01_open" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/01_open.cmo -o examples/01_open ocamlfind ocamlc -I . -c examples/07_checkbox.ml File "examples/07_checkbox.ml", line 1: Warning 24: bad source file name: "07_checkbox" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/07_checkbox.cmo -o examples/07_checkbox ocamlfind ocamlc -I . -c examples/05_listbox.ml File "examples/05_listbox.ml", line 1: Warning 24: bad source file name: "05_listbox" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/05_listbox.cmo -o examples/05_listbox ocamlfind ocamlc -I . -c examples/11_chooser.ml File "examples/11_chooser.ml", line 1: Warning 24: bad source file name: "11_chooser" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/11_chooser.cmo -o examples/11_chooser ocamlfind ocamlc -I . -c examples/06_gc.ml File "examples/06_gc.ml", line 1: Warning 24: bad source file name: "06_gc" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/06_gc.cmo -o examples/06_gc ocamlfind ocamlc -I . -c examples/02_simple.ml File "examples/02_simple.ml", line 1: Warning 24: bad source file name: "02_simple" is not a valid module name. ocamlfind ocamlc -I . \ mlnewt.cma examples/02_simple.cmo -o examples/02_simple + make opt ocamlfind ocamlopt -I . -c newt_int.ml File "newt_int.ml", line 84, characters 2-26: Warning 30: the constructor NEWT_EXIT_TIMER is defined in both types newtExitStructReason and union_6. File "newt_int.ml", line 85, characters 2-27: Warning 30: the constructor NEWT_EXIT_HOTKEY is defined in both types newtExitStructReason and union_6. File "newt_int.ml", line 86, characters 2-40: Warning 30: the constructor NEWT_EXIT_COMPONENT is defined in both types newtExitStructReason and union_6. ocamlfind ocamlopt -I . -c newt.ml ocamlmklib -o mlnewt newt_int_stubs.o newt_int.cmx newt.cmx -L/usr/lib64/ocaml -lcamlidl -lnewt + make doc rm -rf html mkdir html ocamldoc -html -sort -d html newt.mli newt.ml newt_int.mli File "newt_int.mli", line 84, characters 2-26: Warning 30: the constructor NEWT_EXIT_TIMER is defined in both types newtExitStructReason and union_6. File "newt_int.mli", line 85, characters 2-27: Warning 30: the constructor NEWT_EXIT_HOTKEY is defined in both types newtExitStructReason and union_6. File "newt_int.mli", line 86, characters 2-40: Warning 30: the constructor NEWT_EXIT_COMPONENT is defined in both types newtExitStructReason and union_6. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jq0fHY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 + cd ocaml-newt-0.9 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/stublibs + make install ocamlfind install newt META *.cmi *.so *.a *.cmx *.cma *.cmxa *.mli Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/newt_int.mli Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/newt.mli Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/mlnewt.cmxa Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/mlnewt.cma Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/newt_int.cmx Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/newt.cmx Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/mlnewt.a Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/libmlnewt.a Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/newt_int.cmi Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/newt.cmi Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/stublibs/dllmlnewt.so Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/stublibs/dllmlnewt.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/newt/META + chrpath --delete /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/lib64/ocaml/stublibs/dllmlnewt.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ocaml-newt-0.9-37.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CxCNio + umask 022 + cd /builddir/build/BUILD + cd ocaml-newt-0.9 + DOCDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt + cp -pr COPYING.LIB /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt + exit 0 Provides: ocaml(Newt) = f9a320c8c24ed4d82aa561068df8cb27 ocaml(Newt_int) = 5ff19d267cb904f92853372e3f4ecccf ocaml-newt = 0.9-37.fc28 ocaml-newt(riscv-64) = 0.9-37.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libnewt.so.0.52()(64bit) libnewt.so.0.52(NEWT_0.52)(64bit) libnewt.so.0.52(NEWT_0.52.6)(64bit) libnewt.so.0.52(NEWT_0.52.9)(64bit) ocaml(Array) = 0fba23558da789bd0ef7ad786bdc90e6 ocaml(Buffer) = 9c9b3639d23d7746c571cdf04646eb29 ocaml(CamlinternalBigarray) = 4ff98b0650eef9c38ee9c9930e0c3e9b ocaml(CamlinternalFormatBasics) = 79ae8c0eb753af6b441fe05456c7970b ocaml(Complex) = cd4856c93f21942683ce190142e88396 ocaml(Gc) = 710a8e8b6b15999f36e8242e2a0ef75d ocaml(Int32) = dbc028028ad4d59759d36dd6c0796919 ocaml(List) = 7a6b1f92720df765cf38d67f920844fe ocaml(Newt_int) = 5ff19d267cb904f92853372e3f4ecccf ocaml(Obj) = 8a1a1ebb4979c1cf4966cc2e706bd0f9 ocaml(Pervasives) = 9b04ecdc97e5102c1d342892ef7ad9a2 ocaml(Printf) = e5dfd0ca6436c8abad976fc9e914999a ocaml(Uchar) = 596c497318b5c3057b47b9d6747ef5d1 ocaml(Unix) = 053326e853ce10e1fadf8d891f08f891 ocaml(runtime) = 4.06.0 rtld(GNU_HASH) Processing files: ocaml-newt-devel-0.9-37.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pGsy3w + umask 022 + cd /builddir/build/BUILD + cd ocaml-newt-0.9 + DOCDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt-devel + cp -pr COPYING.LIB /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt-devel + cp -pr README /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt-devel + cp -pr examples/01_open.ml examples/02_simple.ml examples/03_window.ml examples/04_form.ml examples/05_listbox.ml examples/06_gc.ml examples/07_checkbox.ml examples/10_message.ml examples/11_chooser.ml examples/12_enable.ml /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt-devel + cp -pr html /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64/usr/share/doc/ocaml-newt-devel + exit 0 Provides: ocaml-newt-devel = 0.9-37.fc28 ocaml-newt-devel(riscv-64) = 0.9-37.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 Wrote: /builddir/build/SRPMS/ocaml-newt-0.9-37.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-newt-0.9-37.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-newt-devel-0.9-37.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vFmnWY + umask 022 + cd /builddir/build/BUILD + cd ocaml-newt-0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-newt-0.9-37.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff