Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-newt.spec'], chrootPath='/var/lib/mock/f37-build-642936-72070/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-newt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/ocaml-newt-0.9-69.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-newt.spec'], chrootPath='/var/lib/mock/f37-build-642936-72070/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-newt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.132HAT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-newt-0.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ocaml-newt-0.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-newt-0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VJnRBF + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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.14.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/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 > .depend gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 18 | quote(mli, " | ^ newt_int.idl:22:3: warning: missing terminating " character 22 | *)") | ^ newt_int.idl:105:10: warning: missing terminating " character 105 | quote(c, " | ^ newt_int.idl:121:1: warning: missing terminating " character 121 | ") | ^ newt_int.idl:390:11: warning: missing terminating " character 390 | quote(ml, " | ^ newt_int.idl:391:91: warning: missing terminating " character 391 | external newtCheckbox : int -> int -> string -> char -> string option -> newtComponent = \"newt_stubs_newtCheckbox\" | ^ newt_int.idl:393:101: warning: missing terminating " character 393 | external newtRadiobutton : int -> int -> string -> bool -> newtComponent option -> newtComponent = \"newt_stubs_newtRadiobutton\" | ^ newt_int.idl:395:65: warning: missing terminating " character 395 | external newtListboxGetCurrent : newtComponent -> int option = \"newt_stubs_newtListboxGetCurrent\" | ^ newt_int.idl:396:71: warning: missing terminating " character 396 | external newtListboxSetCurrentByKey : newtComponent -> int -> unit = \"newt_stubs_newtListboxSetCurrentByKey\" | ^ newt_int.idl:397:70: warning: missing terminating " character 397 | external newtListboxSetData : newtComponent -> int -> int -> unit = \"newt_stubs_newtListboxSetData\" | ^ newt_int.idl:398:76: warning: missing terminating " character 398 | external newtListboxAppendEntry : newtComponent -> string -> int -> int = \"newt_stubs_newtListboxAppendEntry\" | ^ newt_int.idl:399:90: warning: missing terminating " character 399 | external newtListboxInsertEntry : newtComponent -> string -> int -> int option -> int = \"newt_stubs_newtListboxInsertEntry\" | ^ newt_int.idl:400:66: warning: missing terminating " character 400 | external newtListboxDeleteEntry : newtComponent -> int -> int = \"newt_stubs_newtListboxDeleteEntry\" | ^ newt_int.idl:401:72: warning: missing terminating " character 401 | external newtListboxGetEntry : newtComponent -> int -> string * int = \"newt_stubs_newtListboxGetEntry\" | ^ newt_int.idl:402:66: warning: missing terminating " character 402 | external newtListboxGetSelection : newtComponent -> int array = \"newt_stubs_newtListboxGetSelection\" | ^ newt_int.idl:403:84: warning: missing terminating " character 403 | external newtListboxSelectItem : newtComponent -> int -> newtFlagsSense -> unit = \"newt_stubs_newtListboxSelectItem\" | ^ newt_int.idl:405:86: warning: missing terminating " character 405 | external newtForm : newtComponent option -> string option -> int -> newtComponent = \"newt_stubs_newtForm\" | ^ newt_int.idl:406:65: warning: missing terminating " character 406 | external newtRunForm : newtComponent -> newtComponent option = \"newt_stubs_newtRunForm\" | ^ newt_int.idl:408:80: warning: missing terminating " character 408 | external newtComponentAddCallback : newtComponent -> (unit -> unit) -> unit = \"newt_stubs_newtComponentAddCallback\" | ^ newt_int.idl:410:59: warning: missing terminating " character 410 | external newtComponentAddress : newtComponent -> int64 = \"newt_stubs_newtComponentAddress\" | ^ newt_int.idl:411:1: warning: missing terminating " character 411 | "); | ^ newt_int.idl:413:12: warning: missing terminating " character 413 | quote(mli, " | ^ newt_int.idl:434:1: warning: missing terminating " character 434 | "); | ^ 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.mli newt_int.mli newt.ml newt_int.ml 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 > .depend gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -fPIC -MM newt_int_stubs.c newt_int_stubs_by_hand.c config.h >> .depend + make all gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -fPIC -c -o newt_int_stubs.o newt_int_stubs.c newt_int_stubs.c: In function 'camlidl_newt_int_newtOpenWindow': newt_int_stubs.c:401:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 401 | title = String_val(_v_title); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtCenteredWindow': newt_int_stubs.c:420:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 420 | title = String_val(_v_title); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtSetColor': newt_int_stubs.c:459:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 459 | fg = String_val(_v_fg); | ^ newt_int_stubs.c:460:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | bg = String_val(_v_bg); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtPushHelpLine': newt_int_stubs.c:491:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 491 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtDrawRootText': newt_int_stubs.c:518:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 518 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtCompactButton': newt_int_stubs.c:556:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 556 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtButton': newt_int_stubs.c:578:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 578 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtLabel': newt_int_stubs.c:687:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 687 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtLabelSetText': newt_int_stubs.c:703:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 703 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtListboxSetEntry': newt_int_stubs.c:807:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 807 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtCheckboxTreeMulti': newt_int_stubs.c:913:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 913 | seq = String_val(_v_seq); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtTextboxReflowed': newt_int_stubs.c:959:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 959 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtTextboxSetText': newt_int_stubs.c:1012:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1012 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtReflowText': newt_int_stubs.c:1067:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1067 | text = String_val(_v_text); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtEntry': newt_int_stubs.c:1377:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1377 | initialValue = String_val(_v_initialValue); | ^ newt_int_stubs.c:1393:52: warning: passing argument 5 of 'newtEntry' from incompatible pointer type [-Wincompatible-pointer-types] 1393 | _res = newtEntry(left, top, initialValue, width, pass_null, flags); | ^~~~~~~~~ | | | char ** In file included from newt_int_stubs.c:19: /usr/include/newt.h:250:39: note: expected 'const char **' but argument is of type 'char **' 250 | const char ** resultPtr, int flags); | ~~~~~~~~~~~~~~^~~~~~~~~ newt_int_stubs.c: In function 'camlidl_newt_int_newtEntrySet': newt_int_stubs.c:1415:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1415 | value = String_val(_v_value); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtGridWrappedWindow': newt_int_stubs.c:1712:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1712 | title = String_val(_v_title); | ^ newt_int_stubs.c: In function 'camlidl_newt_int_newtGridWrappedWindowAt': newt_int_stubs.c:1731:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1731 | title = String_val(_v_title); | ^ In file included from newt_int_stubs.c:1757: newt_int_stubs_by_hand.c: In function 'newt_stubs_newtCheckbox': newt_int_stubs_by_hand.c:128:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | seq = String_val (Field (seqoptv, 0)); | ^ In file included from newt_int_stubs.c:5: newt_int_stubs_by_hand.c: In function 'newt_stubs_newtListboxAppendEntry': /usr/lib64/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ newt_int_stubs_by_hand.c:213:15: note: in expansion of macro 'String_val' 213 | char *str = String_val (strv); | ^~~~~~~~~~ newt_int_stubs_by_hand.c: In function 'newt_stubs_newtListboxInsertEntry': /usr/lib64/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ^ newt_int_stubs_by_hand.c:229:15: note: in expansion of macro 'String_val' 229 | char *str = String_val (strv); | ^~~~~~~~~~ newt_int_stubs_by_hand.c: In function 'newt_stubs_newtListboxGetEntry': newt_int_stubs_by_hand.c:268:7: warning: unused variable 'r' [-Wunused-variable] 268 | int r; | ^ newt_int_stubs_by_hand.c: In function 'newt_stubs_newtForm': newt_int_stubs_by_hand.c:337:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 337 | str = String_val (Field (stroptv, 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] 387 | newt_stubs_newtComponentAddCallback (value cov, value fv) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newt_int_stubs_by_hand.c: In function 'newt_stubs_newtComponentAddCallback': newt_int_stubs_by_hand.c:392:13: warning: "callback" is deprecated: use "caml_callback" instead 392 | struct callback *cb; | ^~~~~~~~~~ newt_int_stubs_by_hand.c:392:20: warning: unused variable 'cb' [-Wunused-variable] 392 | struct callback *cb; | ^~ newt_int_stubs_by_hand.c: At top level: newt_int_stubs_by_hand.c:407:1: warning: return type defaults to 'int' [-Wimplicit-int] 407 | newt_stubs_newtComponentAddress (value cov) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ocamlfind ocamlc -I . -c newt_int.mli ocamlfind ocamlc -I . -c newt_int.ml ocamlfind ocamlc -I . -c newt.mli ocamlfind ocamlc -I . -c newt.ml ocamlmklib -o mlnewt newt_int_stubs.o newt_int.cmo newt.cmo -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/lib64/ocaml -lcamlidl -lnewt Unknown option -Wl,-z,relro Unknown option -Wl,--as-needed Unknown option -Wl,-z,now Unknown option -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Unknown option -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 Unknown option -Wl,--build-id=sha1 ocamlfind ocamlc -I . -c examples/01_open.ml File "examples/01_open.ml", line 1: Warning 24 [bad-module-name]: 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/02_simple.ml File "examples/02_simple.ml", line 1: Warning 24 [bad-module-name]: 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 ocamlfind ocamlc -I . -c examples/03_window.ml File "examples/03_window.ml", line 1: Warning 24 [bad-module-name]: 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/04_form.ml File "examples/04_form.ml", line 1: Warning 24 [bad-module-name]: 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/05_listbox.ml File "examples/05_listbox.ml", line 1: Warning 24 [bad-module-name]: 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/06_gc.ml File "examples/06_gc.ml", line 1: Warning 24 [bad-module-name]: 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/07_checkbox.ml File "examples/07_checkbox.ml", line 1: Warning 24 [bad-module-name]: 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/10_message.ml File "examples/10_message.ml", line 1: Warning 24 [bad-module-name]: 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/11_chooser.ml File "examples/11_chooser.ml", line 1: Warning 24 [bad-module-name]: 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/12_enable.ml File "examples/12_enable.ml", line 1: Warning 24 [bad-module-name]: 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 + make opt ocamlfind ocamlopt -I . -c newt_int.ml ocamlfind ocamlopt -I . -c newt.ml ocamlmklib -o mlnewt newt_int_stubs.o newt_int.cmx newt.cmx -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -L/usr/lib64/ocaml -lcamlidl -lnewt Unknown option -Wl,-z,relro Unknown option -Wl,--as-needed Unknown option -Wl,-z,now Unknown option -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Unknown option -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 Unknown option -Wl,--build-id=sha1 + make doc rm -rf html mkdir html ocamldoc -html -sort -d html newt.mli newt.ml newt_int.mli + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nbl5Bp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocaml-newt-0.9 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.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-69.fc37.riscv64/usr/lib64/ocaml/newt/newt_int.mli Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/newt.mli Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/mlnewt.cmxa Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/mlnewt.cma Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/newt_int.cmx Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/newt.cmx Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/mlnewt.a Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/libmlnewt.a Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/newt_int.cmi Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/newt.cmi Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/stublibs/dllmlnewt.so Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/stublibs/dllmlnewt.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/newt/META + chrpath --delete /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/stublibs/dllmlnewt.so + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.9-69.fc37 --unique-debug-suffix -0.9-69.fc37.riscv64 --unique-debug-src-base ocaml-newt-0.9-69.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-newt-0.9 extracting debug info from /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/lib64/ocaml/stublibs/dllmlnewt.so original debug info size: 344kB, size after compression: 340kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 106 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ocaml-newt-0.9-69.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RNlH6s + umask 022 + cd /builddir/build/BUILD + cd ocaml-newt-0.9 + DOCDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.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-69.fc37.riscv64/usr/share/doc/ocaml-newt + cp -pr COPYING.LIB /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/share/doc/ocaml-newt + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Newt) = 2893dd6a5380fceee4e73b54faad31ce ocaml(Newt_int) = 0600420e752e3a8e084d77e799c32df4 ocaml-newt = 0.9-69.fc37 ocaml-newt(riscv-64) = 0.9-69.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) 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(CamlinternalFormatBasics) = 8f8f634558798ee408df3c50a5539b15 ocaml(Newt_int) = 0600420e752e3a8e084d77e799c32df4 ocaml(Stdlib) = 79b0e9d3b6f7fed07eb3cc2abb961b91 ocaml(Stdlib__Array) = 622d88fad859d0d0f019e691fc4fa865 ocaml(Stdlib__Bigarray) = 994a14f10d5ae081663b52b790ee11d3 ocaml(Stdlib__Buffer) = 4b09c9a6d0622bbf5a3829234b481822 ocaml(Stdlib__Complex) = 4555217c759e89d65daa8f682eb09b35 ocaml(Stdlib__Either) = 26845df28d19584687a38a1ab814c3f9 ocaml(Stdlib__Gc) = c3ec15218bd26e175e6d959e216eb39a ocaml(Stdlib__Int32) = a71ea5238030770647165f659f80b1ab ocaml(Stdlib__List) = ee222542f6f8195441543b8b399b64b9 ocaml(Stdlib__Obj) = 25794d29f7f4018768ea900e331a2bf3 ocaml(Stdlib__Printexc) = ae914d0568e8b6e482a66bbd62a4432f ocaml(Stdlib__Printf) = bc8af6214197dc8f40eaa738a4cd6a28 ocaml(Stdlib__Seq) = b63511032211eae4b567ba313cd72962 ocaml(Stdlib__Uchar) = c0dde02a556a6d79e363ad365d165d57 ocaml(Unix) = 84bb8ec8ae50f70acba86f5b72088b1c rtld(GNU_HASH) Processing files: ocaml-newt-devel-0.9-69.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8vSH6d + umask 022 + cd /builddir/build/BUILD + cd ocaml-newt-0.9 + DOCDIR=/builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.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-69.fc37.riscv64/usr/share/doc/ocaml-newt-devel + cp -pr COPYING.LIB /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/share/doc/ocaml-newt-devel + cp -pr README /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.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-69.fc37.riscv64/usr/share/doc/ocaml-newt-devel + cp -pr html /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64/usr/share/doc/ocaml-newt-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Newt) = 2893dd6a5380fceee4e73b54faad31ce ocaml(Newt_int) = 0600420e752e3a8e084d77e799c32df4 ocaml-newt-devel = 0.9-69.fc37 ocaml-newt-devel(riscv-64) = 0.9-69.fc37 ocamlx(Newt) = cdbf2e8e39dc30555f5009b885ced201 ocamlx(Newt_int) = a89e676a6a6d4f5cd6bb49c84cbd6b72 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = 8f8f634558798ee408df3c50a5539b15 ocaml(Newt_int) = 0600420e752e3a8e084d77e799c32df4 ocaml(Stdlib) = 79b0e9d3b6f7fed07eb3cc2abb961b91 ocaml(Stdlib__Array) = 622d88fad859d0d0f019e691fc4fa865 ocaml(Stdlib__Bigarray) = 994a14f10d5ae081663b52b790ee11d3 ocaml(Stdlib__Buffer) = 4b09c9a6d0622bbf5a3829234b481822 ocaml(Stdlib__Complex) = 4555217c759e89d65daa8f682eb09b35 ocaml(Stdlib__Either) = 26845df28d19584687a38a1ab814c3f9 ocaml(Stdlib__Gc) = c3ec15218bd26e175e6d959e216eb39a ocaml(Stdlib__Int32) = a71ea5238030770647165f659f80b1ab ocaml(Stdlib__List) = ee222542f6f8195441543b8b399b64b9 ocaml(Stdlib__Obj) = 25794d29f7f4018768ea900e331a2bf3 ocaml(Stdlib__Printexc) = ae914d0568e8b6e482a66bbd62a4432f ocaml(Stdlib__Printf) = bc8af6214197dc8f40eaa738a4cd6a28 ocaml(Stdlib__Seq) = b63511032211eae4b567ba313cd72962 ocaml(Stdlib__Uchar) = c0dde02a556a6d79e363ad365d165d57 ocaml(Unix) = 84bb8ec8ae50f70acba86f5b72088b1c ocamlx(Newt_int) = a89e676a6a6d4f5cd6bb49c84cbd6b72 ocamlx(Stdlib) = 29fc6b4fd90dc91235156e20d0575996 ocamlx(Stdlib__Array) = bb1212fc50265efb994301edbd2f0ecc ocamlx(Stdlib__Gc) = 69b30dbb497b1693413644ac9604be89 ocamlx(Stdlib__List) = 75bce4c751643e407b6e75caf60b9db7 ocamlx(Stdlib__Printf) = 5637860688f82d7f837407cfaf0a6fae Processing files: ocaml-newt-debugsource-0.9-69.fc37.riscv64 Provides: ocaml-newt-debugsource = 0.9-69.fc37 ocaml-newt-debugsource(riscv-64) = 0.9-69.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-newt-debuginfo-0.9-69.fc37.riscv64 Provides: debuginfo(build-id) = cdf2d0c06941fc980b7125088af266ed23ccdae7 ocaml-newt-debuginfo = 0.9-69.fc37 ocaml-newt-debuginfo(riscv-64) = 0.9-69.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-newt-debugsource(riscv-64) = 0.9-69.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 Wrote: /builddir/build/RPMS/ocaml-newt-debugsource-0.9-69.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-newt-0.9-69.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-newt-debuginfo-0.9-69.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-newt-devel-0.9-69.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lFV92A + umask 022 + cd /builddir/build/BUILD + cd ocaml-newt-0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-newt-0.9-69.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.LRMQwt + umask 022 + cd /builddir/build/BUILD + rm -rf ocaml-newt-0.9 ocaml-newt-0.9.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0