Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ocaml-mysql.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672043477.633218/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91txvb2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91txvb2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3d3c2c2309cd4347b7c185a6f65a479d', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672043477.633218/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91txvb2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ocaml-mysql.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/ocaml-mysql-1.2.2-24.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/ocaml-mysql.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672043477.633218/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91txvb2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91txvb2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4904076b710747eb93674e80118706bb', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672043477.633218/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91txvb2l:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/ocaml-mysql.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IrbIkO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-mysql-1.2.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ocaml-mysql-1.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-mysql-1.2.2 + /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.PdzwC6 + 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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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-mysql-1.2.2 + LDFLAGS=-L/usr/lib64/mariadb + 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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS=-L/usr/lib64/mariadb + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking configure: checking for ocaml compiler and tools... checking for ocamlc... ocamlc checking for ocamlopt... ocamlopt checking for ocamlfind... ocamlfind checking whether ocamlopt supports natdynlink... yes checking for a BSD-compatible install... /usr/bin/install -c configure: checking for C compiler... checking for s390x-redhat-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed configure: checking for C header files... checking how to run the C preprocessor... gcc -E 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 mysql_config include... -I/usr/include/mysql -I/usr/include/mysql/mysql checking for mysql_config libs... -L/usr/lib64/ -lmariadb configure: checking for mysql.h... 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 mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking configure: creating ./config.status config.status: creating Makefile config.status: creating VERSION config.status: creating config.h config.status: config.h is unchanged configure: WARNING: unrecognized options: --disable-dependency-tracking + make all make[1]: Entering directory '/builddir/build/BUILD/ocaml-mysql-1.2.2' ocamldep mysql.mli > ._bcdi/mysql.di ocamldep mysql.ml > ._d/mysql.d ocamlc -c -cc "gcc" -ccopt "-fPIC -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -Wall -Wextra \ -DPIC -I/usr/include/mysql -I/usr/include/mysql/mysql \ -o mysql_stubs.o " mysql_stubs.c mysql_stubs.c:108: warning: "Some_val" redefined 108 | #define Some_val(v) Field(v,0) | In file included from mysql_stubs.c:12: /usr/lib64/ocaml/caml/mlvalues.h:404: note: this is the location of the previous definition 404 | #define Some_val(v) Field(v, 0) | mysql_stubs.c: In function 'val_str_option': /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ mysql_stubs.c:150:12: note: in expansion of macro 'String_val' 150 | memcpy(String_val(v), s, length); | ^~~~~~~~~~ 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 mysql_stubs.c:6: /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, | ^~~~~ mysql_stubs.c: At top level: mysql_stubs.c:433:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers] 433 | }; | ^ In file included from mysql_stubs.c:17: /usr/lib64/ocaml/caml/custom.h:40:37: note: 'fixed_length' declared here 40 | const struct custom_fixed_length* fixed_length; | ^~~~~~~~~~~~ mysql_stubs.c: In function 'db_escape': mysql_stubs.c:574:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 574 | s = String_val(str); | ^ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ mysql_stubs.c:580:10: note: in expansion of macro 'String_val' 580 | memcpy(String_val(res), buf, esclen); | ^~~~~~~~~~ /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, | ^~~~~ mysql_stubs.c: In function 'db_real_escape': mysql_stubs.c:598:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 598 | s = String_val(str); | ^ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ mysql_stubs.c:608:10: note: in expansion of macro 'String_val' 608 | memcpy(String_val(res), buf, esclen); | ^~~~~~~~~~ /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, | ^~~~~ mysql_stubs.c: At top level: mysql_stubs.c:896:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers] 896 | }; | ^ /usr/lib64/ocaml/caml/custom.h:40:37: note: 'fixed_length' declared here 40 | const struct custom_fixed_length* fixed_length; | ^~~~~~~~~~~~ mysql_stubs.c: In function 'get_column': mysql_stubs.c:1030:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1030 | bind->buffer = String_val(str); | ^ mysql_stubs.c: At top level: mysql_stubs.c:1069:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers] 1069 | }; | ^ /usr/lib64/ocaml/caml/custom.h:40:37: note: 'fixed_length' declared here 40 | const struct custom_fixed_length* fixed_length; | ^~~~~~~~~~~~ ar rcs libmysql_stubs.a mysql_stubs.o ocamlc -c mysql.mli ocamlc -c mysql.ml File "mysql.ml", line 424, characters 35-45: 424 | if i = String.length str then (String.sub str p_start (String.length str - p_start)) :: acc else ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. File "mysql.ml", line 426, characters 45-55: 426 | | ' ' | '\t' | '\n' | '\r' | ',' -> wsp (String.sub str p_start (i - p_start) :: acc) (i+1) ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. ocamlmklib \ -o mysql_stubs mysql_stubs.o -lmariadb \ -L/usr/lib64/ -L/usr/lib64/mariadb ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/lib64/ -ccopt -L/usr/lib64/mariadb -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cma mysql.cmo make[1]: Leaving directory '/builddir/build/BUILD/ocaml-mysql-1.2.2' + make opt make[1]: Entering directory '/builddir/build/BUILD/ocaml-mysql-1.2.2' ocamldep -native mysql.mli > ._ncdi/mysql.di make[1]: 'libmysql_stubs.a' is up to date. ocamlopt -c mysql.ml File "mysql.ml", line 424, characters 35-45: 424 | if i = String.length str then (String.sub str p_start (String.length str - p_start)) :: acc else ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. File "mysql.ml", line 426, characters 45-55: 426 | | ' ' | '\t' | '\n' | '\r' | ',' -> wsp (String.sub str p_start (i - p_start) :: acc) (i+1) ^^^^^^^^^^ Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. ocamlopt -a -ccopt -L/usr/lib64/ -ccopt -L/usr/lib64/mariadb -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cmxa mysql.cmx make[1]: Leaving directory '/builddir/build/BUILD/ocaml-mysql-1.2.2' ocamlopt -shared -ccopt -L/usr/lib64/ -ccopt -L/usr/lib64/mariadb mysql_stubs.o -cclib -lmariadb -o mysql.cmxs mysql.cmx + chrpath --delete dllmysql_stubs.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.e1WyOk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x ++ dirname /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x + 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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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-mysql-1.2.2 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x + DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/stublibs + make install make[1]: Entering directory '/builddir/build/BUILD/ocaml-mysql-1.2.2' make[1]: 'libmysql_stubs.a' is up to date. ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/lib64/ -ccopt -L/usr/lib64/mariadb -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cma mysql.cmo make[1]: Leaving directory '/builddir/build/BUILD/ocaml-mysql-1.2.2' Installing library with ocamlfind ocamlfind install -patch-version "1.2.2" mysql META mysql.mli mysql.cmi mysql.cma mysql.cmx mysql.cmxa libmysql_stubs.a mysql.a dllmysql_stubs.so mysql.cmxs Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.cmxs Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.a Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/libmysql_stubs.a Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.cmxa Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.cmx Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.cma Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.cmi Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.mli Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/stublibs/dllmysql_stubs.so Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/stublibs/dllmysql_stubs.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/META Installation successful. + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.2.2-24.fc38 --unique-debug-suffix -1.2.2-24.fc38.s390x --unique-debug-src-base ocaml-mysql-1.2.2-24.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-mysql-1.2.2 extracting debug info from /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/mysql/mysql.cmxs extracting debug info from /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/lib64/ocaml/stublibs/dllmysql_stubs.so original debug info size: 240kB, size after compression: 200kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 54 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-mysql-1.2.2-24.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5RtUVZ + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.2 + DOCDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Mysql) = 38e9c0b442520e5720af63d920857ff6 ocaml-mysql = 1.2.2-24.fc38 ocaml-mysql(s390-64) = 1.2.2-24.fc38 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.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) ocaml(CamlinternalFormatBasics) = 8f8f634558798ee408df3c50a5539b15 ocaml(Stdlib) = 6d7bf11af14ea68354925f3a37387930 ocaml(Stdlib__ArrayLabels) = a3419f1510ebadf0785607c448df3ebd ocaml(Stdlib__Buffer) = 4b09c9a6d0622bbf5a3829234b481822 ocaml(Stdlib__Callback) = fe29a598e1902f0b901e88a9865c26ef ocaml(Stdlib__Either) = 26845df28d19584687a38a1ab814c3f9 ocaml(Stdlib__Hashtbl) = 34c0fdd524bf2a75e4d5af64a6d34401 ocaml(Stdlib__Int32) = a71ea5238030770647165f659f80b1ab ocaml(Stdlib__Int64) = 0fa5587c47baf16a06837c7dedfc2518 ocaml(Stdlib__List) = ee222542f6f8195441543b8b399b64b9 ocaml(Stdlib__Map) = 978f82916b5a172c11d2b72719d85680 ocaml(Stdlib__MoreLabels) = 5d61013be4d07efe7c8491021af99cf0 ocaml(Stdlib__Nativeint) = 989149bf8f2ce1a89fecbc3f5f40f52c ocaml(Stdlib__Printf) = bc8af6214197dc8f40eaa738a4cd6a28 ocaml(Stdlib__Seq) = b63511032211eae4b567ba313cd72962 ocaml(Stdlib__Set) = 871d2ee2167ac9e7977fa13994cf4658 ocaml(Stdlib__StdLabels) = 0d3f5e13a9084caccb1ecfc842cb9b31 ocaml(Stdlib__StringLabels) = c486996ba6007cc3cd38980a555e620d ocaml(Stdlib__Uchar) = c0dde02a556a6d79e363ad365d165d57 rtld(GNU_HASH) Processing files: ocaml-mysql-devel-1.2.2-24.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZUIVbF + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.2 + DOCDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql-devel + cp -pr CHANGES /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql-devel + cp -pr README /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql-devel + cp -pr VERSION /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x/usr/share/doc/ocaml-mysql-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Mysql) = 38e9c0b442520e5720af63d920857ff6 ocaml-mysql-devel = 1.2.2-24.fc38 ocaml-mysql-devel(s390-64) = 1.2.2-24.fc38 ocamlx(Mysql) = 928b9c14ee786abde8dd4acef4e24869 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = 8f8f634558798ee408df3c50a5539b15 ocaml(Stdlib) = 6d7bf11af14ea68354925f3a37387930 ocaml(Stdlib__ArrayLabels) = a3419f1510ebadf0785607c448df3ebd ocaml(Stdlib__Buffer) = 4b09c9a6d0622bbf5a3829234b481822 ocaml(Stdlib__Callback) = fe29a598e1902f0b901e88a9865c26ef ocaml(Stdlib__Either) = 26845df28d19584687a38a1ab814c3f9 ocaml(Stdlib__Hashtbl) = 34c0fdd524bf2a75e4d5af64a6d34401 ocaml(Stdlib__Int32) = a71ea5238030770647165f659f80b1ab ocaml(Stdlib__Int64) = 0fa5587c47baf16a06837c7dedfc2518 ocaml(Stdlib__List) = ee222542f6f8195441543b8b399b64b9 ocaml(Stdlib__Map) = 978f82916b5a172c11d2b72719d85680 ocaml(Stdlib__MoreLabels) = 5d61013be4d07efe7c8491021af99cf0 ocaml(Stdlib__Nativeint) = 989149bf8f2ce1a89fecbc3f5f40f52c ocaml(Stdlib__Printf) = bc8af6214197dc8f40eaa738a4cd6a28 ocaml(Stdlib__Seq) = b63511032211eae4b567ba313cd72962 ocaml(Stdlib__Set) = 871d2ee2167ac9e7977fa13994cf4658 ocaml(Stdlib__StdLabels) = 0d3f5e13a9084caccb1ecfc842cb9b31 ocaml(Stdlib__StringLabels) = c486996ba6007cc3cd38980a555e620d ocaml(Stdlib__Uchar) = c0dde02a556a6d79e363ad365d165d57 ocamlx(Stdlib) = 38e227ea48015bcdfb5d9a4f1cb2689a ocamlx(Stdlib__ArrayLabels) = 5f34e4c8e98dd2095dbcb1b3ae05c112 ocamlx(Stdlib__Callback) = 305ff9efde51b7a80d5ceeb8967ec354 ocamlx(Stdlib__Int32) = c9a55bc0ac6ef651fba2e218e191084a ocamlx(Stdlib__Int64) = 8a6af33b06c097c633dbf42a56b24bd0 ocamlx(Stdlib__List) = faba1413d92bb2125aeaed3eacef72ce ocamlx(Stdlib__MoreLabels) = d6ec733071cdc5287995584e9ba98b26 ocamlx(Stdlib__Nativeint) = b22e1f78858d29169bdf1d5fb1d07ce3 ocamlx(Stdlib__Printf) = 1b15826146f44012af5fb46ea3415e58 ocamlx(Stdlib__StringLabels) = d8b2bed1fec40b916a290075adb778ab Processing files: ocaml-mysql-debugsource-1.2.2-24.fc38.s390x Provides: ocaml-mysql-debugsource = 1.2.2-24.fc38 ocaml-mysql-debugsource(s390-64) = 1.2.2-24.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-mysql-debuginfo-1.2.2-24.fc38.s390x Provides: debuginfo(build-id) = 4b96115bc9894fee1c2520a4b669e507f1399c7f debuginfo(build-id) = fc4cec8c0b733b2fc64686039b1e5680e1fcf4f8 ocaml-mysql-debuginfo = 1.2.2-24.fc38 ocaml-mysql-debuginfo(s390-64) = 1.2.2-24.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-mysql-debugsource(s390-64) = 1.2.2-24.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x Wrote: /builddir/build/RPMS/ocaml-mysql-1.2.2-24.fc38.s390x.rpm Wrote: /builddir/build/RPMS/ocaml-mysql-devel-1.2.2-24.fc38.s390x.rpm Wrote: /builddir/build/RPMS/ocaml-mysql-debugsource-1.2.2-24.fc38.s390x.rpm Wrote: /builddir/build/RPMS/ocaml-mysql-debuginfo-1.2.2-24.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m7Jcmd + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.S08MTp + umask 022 + cd /builddir/build/BUILD + rm -rf ocaml-mysql-1.2.2 ocaml-mysql-1.2.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0