Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ocaml-mysql.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672109195.560536/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.3i6fqnh6:/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.3i6fqnh6:/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', '2f890f109ef041d08f8ddfb7204d6928', '-D', '/var/lib/mock/fedora-rawhide-i686-1672109195.560536/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3i6fqnh6:/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 i686 --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: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/ocaml-mysql.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672109195.560536/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.3i6fqnh6:/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.3i6fqnh6:/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', '6494bf738c38411ab45b7598570b29c8', '-D', '/var/lib/mock/fedora-rawhide-i686-1672109195.560536/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3i6fqnh6:/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 i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NeeRxW + 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.cMllj3 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocaml-mysql-1.2.2 + LDFLAGS=-L/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS=-L/usr/lib/mariadb + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + 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=i686-redhat-linux-gnu --host=i686-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/lib --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 i686-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/lib/ -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/ -L/usr/lib/mariadb ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/lib/ -ccopt -L/usr/lib/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/lib/ -ccopt -L/usr/lib/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/lib/ -ccopt -L/usr/lib/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.3aDeXD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386 ++ dirname /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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.i386 + DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/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/lib/ -ccopt -L/usr/lib/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.i386/usr/lib/ocaml/mysql/mysql.cmxs Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/mysql/mysql.a Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/mysql/libmysql_stubs.a Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/mysql/mysql.cmxa Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/mysql/mysql.cmx Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/mysql/mysql.cma Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/mysql/mysql.cmi Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/mysql/mysql.mli Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/stublibs/dllmysql_stubs.so Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/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.i386/usr/lib/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/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.i386 --unique-debug-src-base ocaml-mysql-1.2.2-24.fc38.i386 --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.i386/usr/lib/ocaml/mysql/mysql.cmxs extracting debug info from /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/lib/ocaml/stublibs/dllmysql_stubs.so original debug info size: 212kB, size after compression: 172kB /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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.F4aVkT + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.2 + DOCDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/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.i386/usr/share/doc/ocaml-mysql + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/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(x86-32) = 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libmariadb.so.3 libmariadb.so.3(libmysqlclient_18) 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.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8gW1X1 + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.2 + DOCDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/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.i386/usr/share/doc/ocaml-mysql-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/share/doc/ocaml-mysql-devel + cp -pr CHANGES /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/share/doc/ocaml-mysql-devel + cp -pr README /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/usr/share/doc/ocaml-mysql-devel + cp -pr VERSION /builddir/build/BUILDROOT/ocaml-mysql-1.2.2-24.fc38.i386/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(x86-32) = 1.2.2-24.fc38 ocamlx(Mysql) = 9fbb2abb7b8db1977a83d3adf1a37b52 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) = 9368a49701ad6a803837a9aaf468fe80 ocamlx(Stdlib__ArrayLabels) = a85233d076cd1912e44b642be9f29005 ocamlx(Stdlib__Callback) = c9fe6a12c59de4244d76e266145c9245 ocamlx(Stdlib__Int32) = 42f39fa67a87687ea18112c64f1fda3d ocamlx(Stdlib__Int64) = 839a189481e2ae2da8359c7d80ac38ef ocamlx(Stdlib__List) = f0cf7c8d9e283437a5a02833ca0a0372 ocamlx(Stdlib__MoreLabels) = 0c565dc63594345ff4a53dc132015283 ocamlx(Stdlib__Nativeint) = f48bd1b7d7f42c9fbc87acde781ef5c4 ocamlx(Stdlib__Printf) = d36b890ed8aa366d74aafd55046762a6 ocamlx(Stdlib__StringLabels) = 80a157330c2f108550df17fc5606afa6 Processing files: ocaml-mysql-debugsource-1.2.2-24.fc38.i686 Provides: ocaml-mysql-debugsource = 1.2.2-24.fc38 ocaml-mysql-debugsource(x86-32) = 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.i686 Provides: debuginfo(build-id) = cb2c52cb625552f5fab6bf65352bf3da42bf9fd1 debuginfo(build-id) = ee131faedfa3dc852743cbb2c4bddfe44c74ce99 ocaml-mysql-debuginfo = 1.2.2-24.fc38 ocaml-mysql-debuginfo(x86-32) = 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(x86-32) = 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.i386 Wrote: /builddir/build/RPMS/ocaml-mysql-debuginfo-1.2.2-24.fc38.i686.rpm Wrote: /builddir/build/RPMS/ocaml-mysql-1.2.2-24.fc38.i686.rpm Wrote: /builddir/build/RPMS/ocaml-mysql-debugsource-1.2.2-24.fc38.i686.rpm Wrote: /builddir/build/RPMS/ocaml-mysql-devel-1.2.2-24.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Yno8vH + 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.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.bIppLU + 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