Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-perl4caml.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-152375-9862/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-perl4caml.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 sh: line 1: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/ocaml-perl4caml-0.9.5-95.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-perl4caml.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-152375-9862/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-perl4caml.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.i24GfC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf perl4caml-0.9.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/perl4caml-0.9.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd perl4caml-0.9.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl4caml-0.9.5-svtrv.patch):' Patch #0 (perl4caml-0.9.5-svtrv.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file perl_c.c Patch #1 (perl4caml-0.9.5-fix-use-of-camlparam-etc-macros.patch): + echo 'Patch #1 (perl4caml-0.9.5-fix-use-of-camlparam-etc-macros.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file perl_c.c + find -name .cvsignore -exec rm '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WEjiyF + 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 perl4caml-0.9.5 + unset MAKEFLAGS + make 'EXTRA_EXTRA_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' OCAMLC=ocamlc.opt 'OCAMLOPT=ocamlopt.opt -g' ocamldep -I wrappers *.mli *.ml examples/*.ml wrappers/*.ml \ > .depend ocamlc.opt -w s -g -I wrappers -c perl.mli ocamlc.opt -w s -g -I wrappers -c perl.ml gcc -fPIC -Wall -Wno-unused -I/usr/lib64/ocaml -I/usr/lib64/perl5/CORE -D_REENTRANT -D_GNU_SOURCE -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL4CAML_REFCOUNTING_EXPERIMENTAL=1 -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 -c -o perl_c.o perl_c.c In file included from /usr/lib64/perl5/CORE/perl.h:28, from perl_c.c:38: /usr/lib64/perl5/CORE/config.h:96: warning: "HAS_FCHMOD" redefined 96 | #define HAS_FCHMOD /**/ | In file included from /usr/lib64/ocaml/caml/config.h:42, from /usr/lib64/ocaml/caml/misc.h:24, from /usr/lib64/ocaml/caml/alloc.h:23, from perl_c.c:30: /usr/lib64/ocaml/caml/s.h:120: note: this is the location of the previous definition 120 | #define HAS_FCHMOD 1 | /usr/lib64/perl5/CORE/config.h:140: warning: "HAS_GETTIMEOFDAY" redefined 140 | #define HAS_GETTIMEOFDAY /**/ | /usr/lib64/ocaml/caml/s.h:180: note: this is the location of the previous definition 180 | #define HAS_GETTIMEOFDAY 1 | /usr/lib64/perl5/CORE/config.h:150: warning: "HAS_GETGROUPS" redefined 150 | #define HAS_GETGROUPS /**/ | /usr/lib64/ocaml/caml/s.h:151: note: this is the location of the previous definition 151 | #define HAS_GETGROUPS 1 | /usr/lib64/perl5/CORE/config.h:188: warning: "HAS_INET_ATON" redefined 188 | #define HAS_INET_ATON /**/ | /usr/lib64/ocaml/caml/s.h:77: note: this is the location of the previous definition 77 | #define HAS_INET_ATON 1 | /usr/lib64/perl5/CORE/config.h:213: warning: "HAS_LOCKF" redefined 213 | #define HAS_LOCKF /**/ | /usr/lib64/ocaml/caml/s.h:98: note: this is the location of the previous definition 98 | #define HAS_LOCKF 1 | /usr/lib64/perl5/CORE/config.h:252: warning: "HAS_MKFIFO" redefined 252 | #define HAS_MKFIFO /**/ | /usr/lib64/ocaml/caml/s.h:102: note: this is the location of the previous definition 102 | #define HAS_MKFIFO 1 | /usr/lib64/perl5/CORE/config.h:258: warning: "HAS_MKTIME" redefined 258 | #define HAS_MKTIME /**/ | /usr/lib64/ocaml/caml/s.h:184: note: this is the location of the previous definition 184 | #define HAS_MKTIME 1 | /usr/lib64/perl5/CORE/config.h:282: warning: "HAS_NICE" redefined 282 | #define HAS_NICE /**/ | /usr/lib64/ocaml/caml/s.h:239: note: this is the location of the previous definition 239 | #define HAS_NICE 1 | /usr/lib64/perl5/CORE/config.h:339: warning: "HAS_REWINDDIR" redefined 339 | #define HAS_REWINDDIR /**/ | /usr/lib64/ocaml/caml/s.h:94: note: this is the location of the previous definition 94 | #define HAS_REWINDDIR 1 | /usr/lib64/perl5/CORE/config.h:373: warning: "HAS_SELECT" redefined 373 | #define HAS_SELECT /**/ | /usr/lib64/ocaml/caml/s.h:129: note: this is the location of the previous definition 129 | #define HAS_SELECT 1 | /usr/lib64/perl5/CORE/config.h:398: warning: "HAS_SETGROUPS" redefined 398 | #define HAS_SETGROUPS /**/ | /usr/lib64/ocaml/caml/s.h:155: note: this is the location of the previous definition 155 | #define HAS_SETGROUPS 1 | /usr/lib64/perl5/CORE/config.h:467: warning: "HAS_SETSID" redefined 467 | #define HAS_SETSID /**/ | /usr/lib64/ocaml/caml/s.h:188: note: this is the location of the previous definition 188 | #define HAS_SETSID 1 | /usr/lib64/perl5/CORE/config.h:503: warning: "HAS_SYMLINK" redefined 503 | #define HAS_SYMLINK /**/ | /usr/lib64/ocaml/caml/s.h:141: note: this is the location of the previous definition 141 | #define HAS_SYMLINK 1 | /usr/lib64/perl5/CORE/config.h:521: warning: "HAS_SYSTEM" redefined 521 | #define HAS_SYSTEM /**/ | /usr/lib64/ocaml/caml/s.h:110: note: this is the location of the previous definition 110 | #define HAS_SYSTEM 1 | /usr/lib64/perl5/CORE/config.h:539: warning: "HAS_TRUNCATE" redefined 539 | #define HAS_TRUNCATE /**/ | /usr/lib64/ocaml/caml/s.h:124: note: this is the location of the previous definition 124 | #define HAS_TRUNCATE 1 | /usr/lib64/perl5/CORE/config.h:562: warning: "HAS_WAIT4" redefined 562 | #define HAS_WAIT4 /**/ | /usr/lib64/ocaml/caml/s.h:145: note: this is the location of the previous definition 145 | #define HAS_WAIT4 1 | /usr/lib64/perl5/CORE/config.h:568: warning: "HAS_WAITPID" redefined 568 | #define HAS_WAITPID /**/ | /usr/lib64/ocaml/caml/s.h:146: note: this is the location of the previous definition 146 | #define HAS_WAITPID 1 | /usr/lib64/perl5/CORE/config.h:1607: warning: "HAS_GETHOSTNAME" redefined 1607 | #define HAS_GETHOSTNAME /**/ | /usr/lib64/ocaml/caml/s.h:172: note: this is the location of the previous definition 172 | #define HAS_GETHOSTNAME 1 | /usr/lib64/perl5/CORE/config.h:1608: warning: "HAS_UNAME" redefined 1608 | #define HAS_UNAME /**/ | /usr/lib64/ocaml/caml/s.h:176: note: this is the location of the previous definition 176 | #define HAS_UNAME 1 | /usr/lib64/perl5/CORE/config.h:1808: warning: "HAS_MKSTEMP" redefined 1808 | #define HAS_MKSTEMP /**/ | /usr/lib64/ocaml/caml/s.h:237: note: this is the location of the previous definition 237 | #define HAS_MKSTEMP 1 | /usr/lib64/perl5/CORE/config.h:1819: warning: "HAS_MMAP" redefined 1819 | #define HAS_MMAP /**/ | /usr/lib64/ocaml/caml/s.h:214: note: this is the location of the previous definition 214 | #define HAS_MMAP 1 | /usr/lib64/perl5/CORE/config.h:2281: warning: "HAS_ACCEPT4" redefined 2281 | #define HAS_ACCEPT4 /**/ | /usr/lib64/ocaml/caml/s.h:247: note: this is the location of the previous definition 247 | #define HAS_ACCEPT4 1 | /usr/lib64/perl5/CORE/config.h:2425: warning: "HAS_DUP3" redefined 2425 | #define HAS_DUP3 /**/ | /usr/lib64/ocaml/caml/s.h:243: note: this is the location of the previous definition 243 | #define HAS_DUP3 1 | /usr/lib64/perl5/CORE/config.h:2500: warning: "HAS_FFS" redefined 2500 | #define HAS_FFS /**/ | /usr/lib64/ocaml/caml/s.h:259: note: this is the location of the previous definition 259 | #define HAS_FFS 1 | /usr/lib64/perl5/CORE/config.h:2722: warning: "HAS_GETCWD" redefined 2722 | #define HAS_GETCWD /**/ | /usr/lib64/ocaml/caml/s.h:106: note: this is the location of the previous definition 106 | #define HAS_GETCWD 1 | /usr/lib64/perl5/CORE/config.h:3079: warning: "HAS_NANOSLEEP" redefined 3079 | #define HAS_NANOSLEEP /**/ | /usr/lib64/ocaml/caml/s.h:138: note: this is the location of the previous definition 138 | #define HAS_NANOSLEEP 1 | /usr/lib64/perl5/CORE/config.h:3155: warning: "HAS_PIPE2" redefined 3155 | #define HAS_PIPE2 /**/ | /usr/lib64/ocaml/caml/s.h:245: note: this is the location of the previous definition 245 | #define HAS_PIPE2 1 | /usr/lib64/perl5/CORE/config.h:3266: warning: "HAS_SETITIMER" redefined 3266 | #define HAS_SETITIMER /**/ | /usr/lib64/ocaml/caml/s.h:168: note: this is the location of the previous definition 168 | #define HAS_SETITIMER 1 | /usr/lib64/perl5/CORE/config.h:4646: warning: "HAS_GETHOSTBYADDR_R" redefined 4646 | #define HAS_GETHOSTBYADDR_R /**/ | /usr/lib64/ocaml/caml/s.h:230: note: this is the location of the previous definition 230 | #define HAS_GETHOSTBYADDR_R 8 | /usr/lib64/perl5/CORE/config.h:4659: warning: "HAS_GETHOSTBYNAME_R" redefined 4659 | #define HAS_GETHOSTBYNAME_R /**/ | /usr/lib64/ocaml/caml/s.h:223: note: this is the location of the previous definition 223 | #define HAS_GETHOSTBYNAME_R 6 | /usr/lib64/perl5/CORE/config.h:5136: warning: "HAS_STRTOD_L" redefined 5136 | #define HAS_STRTOD_L /**/ | /usr/lib64/ocaml/caml/s.h:210: note: this is the location of the previous definition 210 | #define HAS_STRTOD_L 1 | /usr/lib64/perl5/CORE/config.h:5240: warning: "HAS_TIMES" redefined 5240 | #define HAS_TIMES /**/ | /usr/lib64/ocaml/caml/s.h:58: note: this is the location of the previous definition 58 | #define HAS_TIMES 1 | In file included from /usr/lib64/perl5/CORE/perl.h:3125: /usr/lib64/perl5/CORE/unixish.h:30: warning: "HAS_UTIME" redefined 30 | #define HAS_UTIME /**/ | /usr/lib64/ocaml/caml/s.h:114: note: this is the location of the previous definition 114 | #define HAS_UTIME 1 | perl_c.c: In function 'perl4caml_init': perl_c.c:97:25: warning: passing argument 2 of 'Perl_sys_init' from incompatible pointer type [-Wincompatible-pointer-types] 97 | PERL_SYS_INIT (&argc, &argv); | ^~~~~ | | | char * (*)[5] /usr/lib64/perl5/CORE/perl.h:3280:61: note: in definition of macro 'PERL_SYS_INIT' 3280 | #define PERL_SYS_INIT(argc, argv) Perl_sys_init(argc, argv) | ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5798: /usr/lib64/perl5/CORE/proto.h:3993:58: note: expected 'char ***' but argument is of type 'char * (*)[5]' 3993 | PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv); | ~~~~~~~~^~~~ In file included from /usr/lib64/ocaml/caml/alloc.h:24: perl_c.c: In function 'perl4caml_string_of_sv': /usr/lib64/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ perl_c.c:149:11: note: in expansion of macro 'String_val' 149 | memcpy (String_val (strv), str, len); | ^~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from perl_c.c:22: /usr/include/bits/string_fortified.h:26:1: note: expected 'void * restrict' but argument is of type 'const char *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ perl_c.c: In function 'perl4caml_hv_iterkey': /usr/lib64/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ perl_c.c:625:11: note: in expansion of macro 'String_val' 625 | memcpy (String_val (strv), str, len); | ^~~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: expected 'void * restrict' but argument is of type 'const char *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ perl_c.c: In function 'perl4caml_hv_iternextsv': /usr/lib64/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ perl_c.c:654:11: note: in expansion of macro 'String_val' 654 | memcpy (String_val (strv), str, len); | ^~~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: expected 'void * restrict' but argument is of type 'const char *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Data_Dumper.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Date_Calc.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Date_Format.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Date_Parse.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Net_Google_Cache.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Net_Google_Response.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Net_Google_Search.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Net_Google_Spelling.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Net_Google.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTML_Element.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTML_Parser.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTML_TreeBuilder.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_URI.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTTP_Cookies.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTTP_Headers.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTTP_Message.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTTP_Request.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTTP_Request_Common.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTTP_Response.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_HTML_Form.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_LWP_UserAgent.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_Template.ml ocamlc.opt -w s -g -I wrappers -c wrappers/pl_WWW_Mechanize.ml ocamlmklib -o perl4caml -Wl,--enable-new-dtags -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 -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 -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc perl.cmo perl_c.o wrappers/pl_Data_Dumper.cmo wrappers/pl_Date_Calc.cmo wrappers/pl_Date_Format.cmo wrappers/pl_Date_Parse.cmo wrappers/pl_Net_Google_Cache.cmo wrappers/pl_Net_Google_Response.cmo wrappers/pl_Net_Google_Search.cmo wrappers/pl_Net_Google_Spelling.cmo wrappers/pl_Net_Google.cmo wrappers/pl_HTML_Element.cmo wrappers/pl_HTML_Parser.cmo wrappers/pl_HTML_TreeBuilder.cmo wrappers/pl_URI.cmo wrappers/pl_HTTP_Cookies.cmo wrappers/pl_HTTP_Headers.cmo wrappers/pl_HTTP_Message.cmo wrappers/pl_HTTP_Request.cmo wrappers/pl_HTTP_Request_Common.cmo wrappers/pl_HTTP_Response.cmo wrappers/pl_HTML_Form.cmo wrappers/pl_LWP_UserAgent.cmo wrappers/pl_Template.cmo wrappers/pl_WWW_Mechanize.cmo Unknown option -Wl,--enable-new-dtags 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 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 Unknown option -fstack-protector-strong ocamlopt.opt -g -w s -I wrappers -c perl.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Data_Dumper.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Date_Calc.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Date_Format.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Date_Parse.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Net_Google_Cache.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Net_Google_Response.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Net_Google_Search.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Net_Google_Spelling.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Net_Google.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTML_Element.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTML_Parser.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTML_TreeBuilder.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_URI.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTTP_Cookies.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTTP_Headers.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTTP_Message.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTTP_Request.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTTP_Request_Common.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTTP_Response.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_HTML_Form.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_LWP_UserAgent.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_Template.ml ocamlopt.opt -g -w s -I wrappers -c wrappers/pl_WWW_Mechanize.ml ocamlmklib -o perl4caml -Wl,--enable-new-dtags -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 -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 -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc perl.cmx perl_c.o wrappers/pl_Data_Dumper.cmx wrappers/pl_Date_Calc.cmx wrappers/pl_Date_Format.cmx wrappers/pl_Date_Parse.cmx wrappers/pl_Net_Google_Cache.cmx wrappers/pl_Net_Google_Response.cmx wrappers/pl_Net_Google_Search.cmx wrappers/pl_Net_Google_Spelling.cmx wrappers/pl_Net_Google.cmx wrappers/pl_HTML_Element.cmx wrappers/pl_HTML_Parser.cmx wrappers/pl_HTML_TreeBuilder.cmx wrappers/pl_URI.cmx wrappers/pl_HTTP_Cookies.cmx wrappers/pl_HTTP_Headers.cmx wrappers/pl_HTTP_Message.cmx wrappers/pl_HTTP_Request.cmx wrappers/pl_HTTP_Request_Common.cmx wrappers/pl_HTTP_Response.cmx wrappers/pl_HTML_Form.cmx wrappers/pl_LWP_UserAgent.cmx wrappers/pl_Template.cmx wrappers/pl_WWW_Mechanize.cmx Unknown option -Wl,--enable-new-dtags 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 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 Unknown option -fstack-protector-strong sed -e 's/@PACKAGE@/perl4caml/' \ -e 's/@VERSION@/0.9.5/' \ < META.in > META ocamlc.opt -w s -g -I wrappers -c examples/test.ml ocamlc.opt -w s -g -I wrappers perl4caml.cma examples/test.cmo -o examples/test.bc ocamlc.opt -w s -g -I wrappers -c examples/loadpage.ml ocamlc.opt -w s -g -I wrappers perl4caml.cma examples/loadpage.cmo -o examples/loadpage.bc ocamlc.opt -w s -g -I wrappers -c examples/google.ml ocamlc.opt -w s -g -I wrappers perl4caml.cma examples/google.cmo -o examples/google.bc ocamlopt.opt -g -w s -I wrappers -c examples/test.ml ocamlopt.opt -g -w s -I wrappers -cclib -L. perl4caml.cmxa \ examples/test.cmx -o examples/test.opt /usr/bin/ld: cannot open linker script file /builddir/build/BUILD/ocaml-4.12.0/.package_note-ocaml-4.12.0-3.fc36.riscv64.ld: No such file or directory collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking (exit code 1) make: *** [Makefile:115: examples/test.opt] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.WEjiyF (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WEjiyF (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status 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/ocaml-perl4caml.spec