262, characters 0-70: BUILDSTDERR: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" BUILDSTDERR: File "NBDKit.ml", line 290, characters 0-65: BUILDSTDERR: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" ocamlopt.opt -c example.ml -o example.cmx libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/lib64/ocaml -I../../include -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ocaml.c -fPIC -DPIC -o .libs/libnbdkitocaml_la-ocaml.o BUILDSTDERR: Use of uninitialized value in bitwise and (&) at /usr/share/perl5/vendor_perl/Pod/Man.pm line 802. BUILDSTDERR: Wide character in print at /builddir/build/BUILD/nbdkit-1.16.0/podwrapper.pl line 463. /bin/sh ../../libtool --tag=CC --mode=link gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libnbdkitocaml.la -rpath /usr/lib64 libnbdkitocaml_la-ocaml.lo libtool: link: gcc -shared -fPIC -DPIC .libs/libnbdkitocaml_la-ocaml.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libnbdkitocaml.so.0 -o .libs/libnbdkitocaml.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libnbdkitocaml.so.0" && ln -s "libnbdkitocaml.so.0.0.0" "libnbdkitocaml.so.0") libtool: link: (cd ".libs" && rm -f "libnbdkitocaml.so" && ln -s "libnbdkitocaml.so.0.0.0" "libnbdkitocaml.so") libtool: link: ( cd ".libs" && rm -f "libnbdkitocaml.la" && ln -s "../libnbdkitocaml.la" "libnbdkitocaml.la" ) ocamlopt.opt \ -output-obj -runtime-variant _pic -o nbdkit-ocamlexample-plugin.so \ NBDKit.cmx example.cmx \ -cclib -L.libs -cclib -lnbdkitocaml BUILDSTDERR: /usr/bin/ld: example.o(.text+0x58): unresolvable R_RISCV_PCREL_HI20 relocation against symbol `ocaml_nbdkit_parse_size' BUILDSTDERR: /usr/bin/ld: final link failed: bad value BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: File "caml_startup", line 1: BUILDSTDERR: Error: Error during linking make[3]: Leaving directory '/builddir/build/BUILD/nbdkit-1.16.0/plugins/ocaml' BUILDSTDERR: make[3]: *** [Makefile:935: nbdkit-ocamlexample-plugin.so] Error 2 BUILDSTDERR: make[2]: *** [Makefile:504: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/nbdkit-1.16.0/plugins' make[1]: Leaving directory '/builddir/build/BUILD/nbdkit-1.16.0' BUILDSTDERR: make[1]: *** [Makefile:693: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:559: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.PoaaLs (%build) BUILDSTDERR: bogus date in %changelog: Fri Oct 24 2019 Richard W.M. Jones - 1.15.6-1 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.PoaaLs (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nbdkit.spec