Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mysql-ocaml/mysql-ocaml_1.2.4-1+b2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mysql-ocaml-1.2.4-1+b2vwroudkd/mysql-ocaml_1.2.4-1+b2_amd64.buildinfo Get source package info: mysql-ocaml=1.2.4-1 Source URL: http://snapshot.notset.fr/mr/package/mysql-ocaml/1.2.4-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.52 bash=5.1-6 binutils=2.37.50.20220106-2 binutils-common=2.37.50.20220106-2 binutils-x86-64-linux-gnu=2.37.50.20220106-2 bsdextrautils=2.37.2-6 bsdutils=1:2.37.2-6 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-14 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.6 debianutils=5.5-1 default-libmysqlclient-dev=1.0.7 dh-autoreconf=20 dh-ocaml=1.1.3 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-14 gcc=4:11.2.0-2 gcc-11=11.2.0-14 gcc-11-base=11.2.0-14 gettext=0.21-4 gettext-base=0.21-4 grep=3.7-1 groff-base=1.22.4-8 gzip=1.10-4 hostname=3.23 init-system-helpers=1.61 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-14 libatomic1=11.2.0-14 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libbinutils=2.37.50.20220106-2 libblkid1=2.37.2-6 libbz2-1.0=1.0.8-5 libc-bin=2.33-2 libc-dev-bin=2.33-2 libc6=2.33-2 libc6-dev=2.33-2 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-14 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1 libcrypt1=1:4.4.27-1 libctf-nobfd0=2.37.50.20220106-2 libctf0=2.37.50.20220106-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.6 libdpkg-perl=1.21.1 libelf1=0.186-1 libfile-stripnondeterminism-perl=1.13.0-1 libfindlib-ocaml=1.9.1-1+b1 libgcc-11-dev=11.2.0-14 libgcc-s1=11.2.0-14 libgcrypt20=1.9.4-5 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=11.2.0-14 libgpg-error0=1.43-2 libgssapi-krb5-2=1.18.3-7 libicu67=67.1-7 libisl23=0.24-2 libitm1=11.2.0-14 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblsan0=11.2.0-14 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmariadb-dev=1:10.6.5-2 libmariadb-dev-compat=1:10.6.5-2 libmariadb3=1:10.6.5-2 libmount1=2.37.2-6 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libncurses-dev=6.3-2 libncurses5-dev=6.3-2 libncurses6=6.3-2 libncursesw6=6.3-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.5-1 libquadmath0=11.2.0-14 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.13-1 libsmartcols1=2.37.2-6 libssl-dev=1.1.1m-1 libssl1.1=1.1.1m-1 libstdc++-11-dev=11.2.0-14 libstdc++6=11.2.0-14 libsub-override-perl=0.09-2 libsystemd0=250.2-3 libtinfo6=6.3-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-14 libubsan1=11.2.0-14 libuchardet0=0.0.7-1 libudev1=250.2-3 libunistring2=0.9.10-6 libuuid1=2.37.2-6 libxml2=2.9.12+dfsg-5+b1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.5-2 login=1:4.8.1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-4 mariadb-common=1:10.6.5-2 mawk=1.3.4.20200120-2 mysql-common=5.8+1.0.7 ncurses-base=6.3-1 ncurses-bin=6.3-1 ocaml=4.13.1-3 ocaml-base=4.13.1-3 ocaml-compiler-libs=4.13.1-3 ocaml-findlib=1.9.1-1+b1 ocaml-interp=4.13.1-3 ocaml-nox=4.13.1-3 patch=2.7.6-7 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.01-1 tar=1.34+dfsg-1 util-linux=2.37.2-6 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220302T025935Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220116T145127Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d mysql-ocaml=1.2.4-1 && mkdir -p /build/mysql-ocaml-KaaNuZ && dpkg-source --no-check -x /*.dsc /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4 && cd /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4 && { printf '%s' 'mysql-ocaml (1.2.4-1+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Recompile with OCaml 4.13.1 -- amd64 / i386 Build Daemon (x86-ubc-01) Wed, 19 Jan 2022 21:05:56 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mysql-ocaml-KaaNuZ" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1642626356" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/mysql-ocaml-KaaNuZ /tmp/mysql-ocaml-1.2.4-1+b2vwroudkd bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220116T145127Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.ZGTMKT_2ml as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.ZGTMKT_2ml Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 135 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220116T145127Z unstable/main amd64 libfakeroot amd64 1.26-1.2 [48.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220116T145127Z unstable/main amd64 fakeroot amd64 1.26-1.2 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 135 kB in 0s (1077 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4681 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1.2_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1.2) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1.2_amd64.deb ... Unpacking fakeroot (1.26-1.2) ... Setting up libfakeroot:amd64 (1.26-1.2) ... Setting up fakeroot (1.26-1.2) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-2) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220302T025935Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220116T145127Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ZGTMKT_2ml Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220302T025935Z unstable InRelease [165 kB] Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Hit:5 http://snapshot.notset.fr/archive/debian/20220116T145127Z unstable InRelease Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20220302T025935Z unstable/main amd64 Packages Err:6 http://snapshot.notset.fr/archive/debian/20220302T025935Z unstable/main amd64 Packages 404 Not Found [IP: 10.13.0.253 80] Ign:6 http://snapshot.notset.fr/archive/debian/20220302T025935Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20220302T025935Z unstable/main amd64 Packages [12.2 MB] Fetched 35.0 MB in 28s (1243 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.ZGTMKT_2ml I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mysql-ocaml=1.2.4-1 && mkdir -p /build/mysql-ocaml-KaaNuZ && dpkg-source --no-check -x /*.dsc /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4 && cd /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4 && { printf '%s' 'mysql-ocaml (1.2.4-1+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Recompile with OCaml 4.13.1 -- amd64 / i386 Build Daemon (x86-ubc-01) Wed, 19 Jan 2022 21:05:56 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mysql-ocaml-KaaNuZ"' exec /tmp/mmdebstrap.ZGTMKT_2ml Reading package lists... NOTICE: 'mysql-ocaml' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ocaml-team/mysql-ocaml.git Please use: git clone https://salsa.debian.org/ocaml-team/mysql-ocaml.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 105 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mysql-ocaml 1.2.4-1 (dsc) [1864 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mysql-ocaml 1.2.4-1 (tar) [99.5 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mysql-ocaml 1.2.4-1 (diff) [3812 B] Fetched 105 kB in 0s (587 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mysql-ocaml_1.2.4-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mysql-ocaml in /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4 dpkg-source: info: unpacking mysql-ocaml_1.2.4.orig.tar.gz dpkg-source: info: unpacking mysql-ocaml_1.2.4-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1642626356" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.ZGTMKT_2ml dpkg-buildpackage: info: source package mysql-ocaml dpkg-buildpackage: info: source version 1.2.4-1+b2 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-ubc-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --with ocaml debian/rules override_dh_auto_clean make[1]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make clean rm -f config.log config.status Makefile make[1]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' dh_ocamlclean dh_clean debian/rules binary-arch dh binary-arch --with ocaml dh_update_autotools_config -a dh_autoreconf -a configure.ac:3: warning: The macro `AC_CHECKING' is obsolete. configure.ac:3: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:3: the top level configure.ac:16: warning: The macro `AC_CHECKING' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:16: the top level configure.ac:19: warning: The macro `AC_CHECKING' is obsolete. configure.ac:19: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:19: the top level configure.ac:20: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:20: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:20: the top level configure.ac:39: warning: AC_OUTPUT should be used without arguments. configure.ac:39: You should run autoupdate. configure.ac:40: warning: AC_OUTPUT should be used without arguments. configure.ac:40: You should run autoupdate. dh_ocamlinit -a debian/rules override_dh_auto_configure make[1]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' CFLAGS="-Wall -g -fPIC -O2" ./configure --prefix=/usr \ --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info 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 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed configure: checking for C header files... checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for mysql includes... -I/usr/include/mariadb -I/usr/include/mariadb/mysql checking for mysql libraries... -L/usr/lib/x86_64-linux-gnu/ -lmariadb checking for mysql.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: creating ./config.status config.status: creating Makefile config.status: creating VERSION config.status: creating config.h config.status: config.h is unchanged make[1]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' debian/rules override_dh_auto_build make[1]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' /usr/bin/make all make[2]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' make[3]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' ocamldep mysql.mli > ._bcdi/mysql.di ocamldep mysql.ml > ._d/mysql.d ocamlc -c -cc "cc" -ccopt "-fPIC -Wall -g -fPIC -O2 -DHAVE_CONFIG_H -Wall -Wextra \ -DPIC -I/usr/include/mariadb -I/usr/include/mariadb/mysql -Wdate-time -D_FORTIFY_SOURCE=2 \ -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:472, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mysql_stubs.c:6: /usr/include/x86_64-linux-gnu/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_library_init’: mysql_stubs.c:290:23: warning: unused parameter ‘v_unit’ [-Wunused-parameter] 290 | db_library_init(value v_unit) | ~~~~~~^~~~~~ mysql_stubs.c: At top level: mysql_stubs.c:440:1: warning: missing initializer for field ‘fixed_length’ of ‘struct custom_operations’ [-Wmissing-field-initializers] 440 | }; | ^ 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:581:5: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 581 | s = String_val(str); | ^ In file included from mysql_stubs.c:12: /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:587:10: note: in expansion of macro ‘String_val’ 587 | memcpy(String_val(res), buf, esclen); | ^~~~~~~~~~ In file included from /usr/include/features.h:472, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mysql_stubs.c:6: /usr/include/x86_64-linux-gnu/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:605:5: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 605 | s = String_val(str); | ^ In file included from mysql_stubs.c:12: /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:615:10: note: in expansion of macro ‘String_val’ 615 | memcpy(String_val(res), buf, esclen); | ^~~~~~~~~~ In file included from /usr/include/features.h:472, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mysql_stubs.c:6: /usr/include/x86_64-linux-gnu/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:903:1: warning: missing initializer for field ‘fixed_length’ of ‘struct custom_operations’ [-Wmissing-field-initializers] 903 | }; | ^ 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 ‘get_column’: mysql_stubs.c:1037:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1037 | bind->buffer = String_val(str); | ^ mysql_stubs.c: At top level: mysql_stubs.c:1076:1: warning: missing initializer for field ‘fixed_length’ of ‘struct custom_operations’ [-Wmissing-field-initializers] 1076 | }; | ^ 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; | ^~~~~~~~~~~~ ar rcs libmysql_stubs.a mysql_stubs.o ocamlc -c mysql.mli ocamlc -c mysql.ml File "mysql.ml", line 428, characters 35-45: 428 | 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 430, characters 45-55: 430 | | ' ' | '\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/x86_64-linux-gnu/ -Wl,-z,relro Unknown option -Wl,-z,relro ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/lib/x86_64-linux-gnu/ -ccopt -Wl,-z,relro -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cma mysql.cmo make[3]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' make[2]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' /usr/bin/make opt make[2]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' make[3]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' ocamldep -native mysql.mli > ._ncdi/mysql.di make[3]: 'libmysql_stubs.a' is up to date. ocamlopt -c mysql.ml File "mysql.ml", line 428, characters 35-45: 428 | 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 430, characters 45-55: 430 | | ' ' | '\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/x86_64-linux-gnu/ -ccopt -Wl,-z,relro -cclib -lmysql_stubs -cclib -lmariadb -o mysql.cmxa mysql.cmx make[3]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' ocamlopt -shared -ccopt -L/usr/lib/x86_64-linux-gnu/ -ccopt -Wl,-z,relro mysql_stubs.o -cclib -lmariadb -o mysql.cmxs mysql.cmx make[2]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' make[1]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' dh: command-omitted: The call to "dh_auto_test -a" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' mkdir -p /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml /usr/bin/make install OCAMLFIND_DESTDIR=/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml OCAMLFIND_LDCONF=ignore make[2]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' make[3]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' make[3]: 'libmysql_stubs.a' is up to date. make[3]: 'mysql.cma' is up to date. make[3]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' Installing library with ocamlfind ocamlfind install -patch-version "1.2.4" mysql META mysql.mli mysql.cmi mysql.cma mysql.cmx mysql.cmxa libmysql_stubs.a mysql.a dllmysql_stubs.so mysql.cmxs Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cmxs Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/dllmysql_stubs.so Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/mysql.a Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/libmysql_stubs.a Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cmxa Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cmx Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cma Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cmi Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/mysql.mli Installed /build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4/debian/tmp//usr/lib/ocaml/mysql/META Installation successful. make[2]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' make[1]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' dh_install -a dh_ocamldoc -a dh_installdocs -a debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' dh_installchangelogs CHANGES make[1]: Leaving directory '/build/mysql-ocaml-KaaNuZ/mysql-ocaml-1.2.4' dh_installexamples -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_ocaml -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'libmysql-ocaml' in '../libmysql-ocaml_1.2.4-1+b2_amd64.deb'. dpkg-deb: building package 'libmysql-ocaml-dev' in '../libmysql-ocaml-dev_1.2.4-1+b2_amd64.deb'. dpkg-deb: building package 'libmysql-ocaml-dbgsym' in '../libmysql-ocaml-dbgsym_1.2.4-1+b2_amd64.deb'. dpkg-deb: building package 'libmysql-ocaml-dev-dbgsym' in '../libmysql-ocaml-dev-dbgsym_1.2.4-1+b2_amd64.deb'. dpkg-genbuildinfo --build=any -O../mysql-ocaml_1.2.4-1+b2_amd64.buildinfo dpkg-genchanges --build=any -O../mysql-ocaml_1.2.4-1+b2_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/mysql-ocaml-KaaNuZ /tmp/mysql-ocaml-1.2.4-1+b2vwroudkd I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.ZGTMKT_2ml... I: success in 392.1299 seconds md5: libmysql-ocaml-dbgsym_1.2.4-1+b2_amd64.deb: OK md5: libmysql-ocaml-dev-dbgsym_1.2.4-1+b2_amd64.deb: OK md5: libmysql-ocaml-dev_1.2.4-1+b2_amd64.deb: OK md5: libmysql-ocaml_1.2.4-1+b2_amd64.deb: OK sha1: libmysql-ocaml-dbgsym_1.2.4-1+b2_amd64.deb: OK sha1: libmysql-ocaml-dev-dbgsym_1.2.4-1+b2_amd64.deb: OK sha1: libmysql-ocaml-dev_1.2.4-1+b2_amd64.deb: OK sha1: libmysql-ocaml_1.2.4-1+b2_amd64.deb: OK sha256: libmysql-ocaml-dbgsym_1.2.4-1+b2_amd64.deb: OK sha256: libmysql-ocaml-dev-dbgsym_1.2.4-1+b2_amd64.deb: OK sha256: libmysql-ocaml-dev_1.2.4-1+b2_amd64.deb: OK sha256: libmysql-ocaml_1.2.4-1+b2_amd64.deb: OK Checksums: OK