Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/gd4o/gd4o_1.0~alpha5-9+b2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/gd4o-1.0~alpha5-9+b297498kbc/gd4o_1.0~alpha5-9+b2_amd64.buildinfo Get source package info: gd4o=1.0~alpha5-9 Source URL: http://snapshot.notset.fr/mr/package/gd4o/1.0~alpha5-9/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.0-7 binutils=2.35.1-2 binutils-common=2.35.1-2 binutils-x86-64-linux-gnu=2.35.1-2 bsdextrautils=2.36-3+b1 bsdutils=1:2.36-3+b1 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-15 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-buildinfo=0.11+nmu2 dh-ocaml=1.1.3 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 fontconfig-config=2.13.1-4.2 fonts-dejavu-core=2.37-2 g++=4:10.2.0-1 g++-10=10.2.0-15 gcc=4:10.2.0-1 gcc-10=10.2.0-15 gcc-10-base=10.2.0-15 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-15 libatomic1=10.2.0-15 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35.1-2 libblkid1=2.36-3+b1 libbrotli-dev=1.0.9-2 libbrotli1=1.0.9-2 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-15 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-2 libctf0=2.35.1-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.254 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.181-1 libexpat1=2.2.10-1 libexpat1-dev=2.2.10-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libfindlib-ocaml=1.8.1-2 libfontconfig-dev=2.13.1-4.2 libfontconfig1=2.13.1-4.2 libfreetype-dev=2.10.2+dfsg-3 libfreetype6=2.10.2+dfsg-3 libfreetype6-dev=2.10.2+dfsg-3 libgcc-10-dev=10.2.0-15 libgcc-s1=10.2.0-15 libgcrypt20=1.8.6-2 libgd-dev=2.3.0-2 libgd3=2.3.0-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.66.1-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-15 libgpg-error0=1.38-2 libgssapi-krb5-2=1.17-10 libice-dev=2:1.0.10-1 libice6=2:1.0.10-1 libicu67=67.1-4 libisl22=0.22.1-1 libitm1=10.2.0-15 libjbig-dev=2.1-3.1+b2 libjbig0=2.1-3.1+b2 libjpeg-dev=1:2.0.5-1.1 libjpeg62-turbo=1:2.0.5-1.1 libjpeg62-turbo-dev=1:2.0.5-1.1 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 liblsan0=10.2.0-15 liblz4-1=1.9.2-2 liblzma-dev=5.2.4-1+b1 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-3+b1 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncurses-dev=6.2+20200918-1 libncurses5-dev=6.2+20200918-1 libncurses6=6.2+20200918-1 libncursesw6=6.2+20200918-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-3 libnss-nisplus=1.3-3 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libpthread-stubs0-dev=0.4-1 libquadmath0=10.2.0-15 libseccomp2=2.4.4-1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.36-3+b1 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-15 libstdc++6=10.2.0-15 libsub-override-perl=0.09-2 libsystemd0=246.6-1 libtiff-dev=4.1.0+git191117-2 libtiff5=4.1.0+git191117-2 libtiffxx5=4.1.0+git191117-2 libtinfo6=6.2+20200918-1 libtirpc-common=1.2.6-2 libtirpc-dev=1.2.6-2 libtirpc3=1.2.6-2 libtool=2.4.6-14 libtsan0=10.2.0-15 libubsan1=10.2.0-15 libuchardet0=0.0.7-1 libudev1=246.6-1 libunistring2=0.9.10-4 libuuid1=2.36-3+b1 libvpx-dev=1.8.2-1 libvpx6=1.8.2-1 libwebp6=0.6.1-2+b1 libx11-6=2:1.6.12-1 libx11-data=2:1.6.12-1 libx11-dev=2:1.6.12-1 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxcb1=1.14-2 libxcb1-dev=1.14-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxml2=2.9.10+dfsg-6 libxpm-dev=1:3.5.12-1 libxpm4=1:3.5.12-1 libxt-dev=1:1.2.0-1 libxt6=1:1.2.0-1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.8.14-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 ocaml-base-nox=4.11.1-3 ocaml-compiler-libs=4.11.1-3 ocaml-findlib=1.8.1-2 ocaml-interp=4.11.1-3 ocaml-nox=4.11.1-3 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 pkg-config=0.29.2-1 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 ucf=3.0043 util-linux=2.36-3+b1 uuid-dev=2.36-3+b1 x11-common=1:7.7+21 x11proto-core-dev=2020.1-1 x11proto-dev=2020.1-1 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.4.0-1 xz-utils=5.2.4-1+b1 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/20201016T150844Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201011T210159Z/ 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 gd4o=1.0~alpha5-9 && mkdir -p /build/gd4o-NEV09R && dpkg-source --no-check -x /*.dsc /build/gd4o-NEV09R/gd4o-1.0-alpha5 && cd /build/gd4o-NEV09R/gd4o-1.0-alpha5 && { printf '%s' 'gd4o (1.0~alpha5-9+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild with OCaml 4.11.1 -- amd64 / i386 Build Daemon (x86-ubc-01) Tue, 13 Oct 2020 08:52:39 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/gd4o-NEV09R" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gd4o-NEV09R/gd4o-1.0-alpha5 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1602579159" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/gd4o-NEV09R /tmp/gd4o-1.0~alpha5-9+b297498kbc bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201011T210159Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.esrltsBt_n 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.esrltsBt_n Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-3+b1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201011T210159Z unstable/main amd64 libfakeroot amd64 1.25.3-1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201011T210159Z unstable/main amd64 fakeroot amd64 1.25.3-1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1081 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 ... 4592 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1_amd64.deb ... Unpacking fakeroot (1.25.3-1) ... Setting up libfakeroot:amd64 (1.25.3-1) ... Setting up fakeroot (1.25.3-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... 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/20201016T150844Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201011T210159Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.esrltsBt_n Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201016T150844Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201011T210159Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20201016T150844Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201016T150844Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201016T150844Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20201016T150844Z unstable/main amd64 Packages [11.4 MB] Fetched 34.1 MB in 29s (1172 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.esrltsBt_n I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d gd4o=1.0~alpha5-9 && mkdir -p /build/gd4o-NEV09R && dpkg-source --no-check -x /*.dsc /build/gd4o-NEV09R/gd4o-1.0-alpha5 && cd /build/gd4o-NEV09R/gd4o-1.0-alpha5 && { printf '%s' 'gd4o (1.0~alpha5-9+b2) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild with OCaml 4.11.1 -- amd64 / i386 Build Daemon (x86-ubc-01) Tue, 13 Oct 2020 08:52:39 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/gd4o-NEV09R"' exec /tmp/mmdebstrap.esrltsBt_n Reading package lists... NOTICE: 'gd4o' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ocaml-team/gd4o.git Please use: git clone https://salsa.debian.org/ocaml-team/gd4o.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 887 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gd4o 1.0~alpha5-9 (dsc) [1946 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gd4o 1.0~alpha5-9 (tar) [882 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gd4o 1.0~alpha5-9 (diff) [3280 B] Fetched 887 kB in 1s (1154 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'gd4o_1.0~alpha5-9.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting gd4o in /build/gd4o-NEV09R/gd4o-1.0-alpha5 dpkg-source: info: unpacking gd4o_1.0~alpha5.orig.tar.gz dpkg-source: info: unpacking gd4o_1.0~alpha5-9.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying add_fpic_to_cflags.patch dpkg-source: info: applying support_custom_cflags.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gd4o-NEV09R/gd4o-1.0-alpha5 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1602579159" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.esrltsBt_n dpkg-buildpackage: info: source package gd4o dpkg-buildpackage: info: source version 1.0~alpha5-9+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 fakeroot debian/rules clean dh clean --with ocaml dh_auto_clean make -j4 clean make[1]: Entering directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.a *.o *.so \ gdtest gdtest.opt gdtest.log make[1]: Leaving directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' dh_ocamlclean dh_clean debian/rules build-arch dh build-arch --with ocaml dh_update_autotools_config -a dh_autoreconf -a dh_ocamlinit -a dh_auto_configure -a debian/rules override_dh_auto_build make[1]: Entering directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' /usr/bin/make OCAML_DYNLINK="" all opt make[2]: Entering directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' ocamlc -labels -unsafe -c gd.mli ocamlc -labels -unsafe -c gd.ml File "gd.ml", line 364, characters 11-28: 364 | else self#new_ml_color cindex ^^^^^^^^^^^^^^^^^ Warning 17: the virtual method new_ml_color is not declared. gcc -g -O2 -fdebug-prefix-map=/build/gd4o-NEV09R/gd4o-1.0-alpha5=. -fstack-protector-strong -Wformat -Werror=format-security -I`ocamlc -where` -I/usr/include -fPIC -W -Wall -Wno-unused -DHAVE_JPEG -DHAVE_FREETYPE -DSAFER -c gdstubs.c gdstubs.c:77:1: warning: missing initializer for field ‘compare_ext’ of ‘struct custom_operations’ [-Wmissing-field-initializers] 77 | }; | ^ In file included from gdstubs.c:31: /usr/lib/ocaml/caml/custom.h:39:9: note: ‘compare_ext’ declared here 39 | int (*compare_ext)(value v1, value v2); | ^~~~~~~~~~~ gdstubs.c:86:1: warning: missing initializer for field ‘compare_ext’ of ‘struct custom_operations’ [-Wmissing-field-initializers] 86 | }; | ^ In file included from gdstubs.c:31: /usr/lib/ocaml/caml/custom.h:39:9: note: ‘compare_ext’ declared here 39 | int (*compare_ext)(value v1, value v2); | ^~~~~~~~~~~ gdstubs.c: In function ‘ml_font_cmp’: gdstubs.c:117:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 117 | return (int)FONT_VAL(v1) - (int)FONT_VAL(v2); | ^ gdstubs.c:117:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 117 | return (int)FONT_VAL(v1) - (int)FONT_VAL(v2); | ^ In file included from gdstubs.c:29: gdstubs.c: In function ‘ml_image_str_native’: /usr/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 5 of ‘gdImageString’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ gdstubs.c:527:17: note: in expansion of macro ‘String_val’ 527 | String_val(s), Int_val(color)); | ^~~~~~~~~~ In file included from gdstubs.c:36: /usr/include/gd.h:742:49: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 742 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ In file included from gdstubs.c:29: gdstubs.c: In function ‘ml_image_stru_native’: /usr/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 5 of ‘gdImageStringUp’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ gdstubs.c:542:19: note: in expansion of macro ‘String_val’ 542 | String_val(s), Int_val(color)); | ^~~~~~~~~~ In file included from gdstubs.c:36: /usr/include/gd.h:744:51: note: expected ‘unsigned char *’ but argument is of type ‘const char *’ 744 | unsigned char *s, int color); | ~~~~~~~~~~~~~~~^ ocamlmklib -o gd gd.cmo gdstubs.o -oc ocamlgd -lgd -lpng -lz -ljpeg -lfreetype ocamlopt -labels -inline 2 -c gd.ml File "gd.ml", line 364, characters 11-28: 364 | else self#new_ml_color cindex ^^^^^^^^^^^^^^^^^ Warning 17: the virtual method new_ml_color is not declared. ocamlmklib -o gd gd.cmx gdstubs.o -oc ocamlgd -lgd -lpng -lz -ljpeg -lfreetype make[2]: Leaving directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' make[1]: Leaving directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' dh_auto_test -a make -j4 test make[1]: Entering directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' ocamlc -labels -unsafe -c gdtest.ml File "gdtest.ml", lines 470-500, characters 4-53: 470 | ....let [ f1; f2; f3; f4 ] = fonts in 471 | write_header msg_ch "TRUETYPE FONT RENDERING" 472 | ( "Test of #image#string_ft. Create an image with a white\n" ^ 473 | "background and four strings with the following properties:\n" ^ 474 | " 1. 24pt, blue, start at x:60,y:236, slopes upward 30 deg.\n" ^ ... 497 | "I wish, I wish, he'd go away."); 498 | msg (ok 4 "Rendered fourth string."); 499 | im#save_as_png (Filename.concat tempdir "ft_test.png"); 500 | write_footer msg_ch "END TRUETYPE FONT RENDERING" Warning 8: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: (_::_::_::_::_::_|_::_::_::[]|_::_::[]|_::[]|[]) File "gdtest.ml", line 77, characters 6-11: 77 | let white = ^^^^^ Warning 26: unused variable white. File "gdtest.ml", line 245, characters 6-20: 245 | and truecolor_img3 = "kamokamogawa04-t.png" in ^^^^^^^^^^^^^^ Warning 26: unused variable truecolor_img3. File "gdtest.ml", line 409, characters 8-13: 409 | let white = ca#white ^^^^^ Warning 26: unused variable white. File "gdtest.ml", line 482, characters 8-13: 482 | let white = ca#white ^^^^^ Warning 26: unused variable white. File "gdtest.ml", line 516, characters 8-13: 516 | let white = ca#white ^^^^^ Warning 26: unused variable white. ocamlc -o gdtest -dllpath . str.cma gd.cma gdtest.cmo ./gdtest gdtest.log :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Starting tests. Files will be saved in /tmp. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: IMPORTANT: if you wish to run the TrueType font rendering tests, you must have a file named 'font.list' which contains the full pathnames of four font files that exist on your system. For an example, see 'font_list.txt' Tests completed. For details, see gdtest.log. make[1]: Leaving directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --with ocaml dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' mkdir -p /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml /usr/bin/make install OCAMLFIND_DESTDIR=/build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml OCAMLFIND_LDCONF=ignore make[2]: Entering directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' files=$( for f in gd.cma gd.cmxa dllocamlgd.so libocamlgd.a *.mli *.cmi gd.a META; do if [ -f "$f" ]; then echo $f; fi; done; ) && \ ocamlfind install gd $files Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/gd.a Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/gdtest.cmi Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/gd.cmi Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/gd.mli Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/libocamlgd.a Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/dllocamlgd.so Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/gd.cmxa Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/gd.cma Installed /build/gd4o-NEV09R/gd4o-1.0-alpha5/debian/tmp//usr/lib/ocaml/gd/META make[2]: Leaving directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' make[1]: Leaving directory '/build/gd4o-NEV09R/gd4o-1.0-alpha5' dh_install -a dh_ocamldoc -a dh_installdocs -a dh_installchangelogs -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 'libgd-ocaml-dbgsym' in '../libgd-ocaml-dbgsym_1.0~alpha5-9+b2_amd64.deb'. dpkg-deb: building package 'libgd-ocaml' in '../libgd-ocaml_1.0~alpha5-9+b2_amd64.deb'. dpkg-deb: building package 'libgd-ocaml-dev' in '../libgd-ocaml-dev_1.0~alpha5-9+b2_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../gd4o_1.0~alpha5-9+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/gd4o-NEV09R /tmp/gd4o-1.0~alpha5-9+b297498kbc I: cleaning package lists and apt cache... W: deleting files in /tmp: shapes_test.png W: deleting files in /tmp: palette_copy.png W: deleting files in /tmp: io_test-d-60.jpg W: deleting files in /tmp: copy_merge.png W: deleting files in /tmp: copy_rotated.png W: deleting files in /tmp: copy_resized.png W: deleting files in /tmp: copy_merge_gray.png W: deleting files in /tmp: io_test-i.png W: deleting files in /tmp: copy.png W: deleting files in /tmp: copy_resampled.png W: deleting files in /tmp: io_test-d-100.jpg W: deleting files in /tmp: copy(crop).png W: deleting files in /tmp: io_test-d.png I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.esrltsBt_n... I: success in 446.0905 seconds md5: libgd-ocaml-dbgsym_1.0~alpha5-9+b2_amd64.deb: OK md5: libgd-ocaml-dev_1.0~alpha5-9+b2_amd64.deb: OK md5: libgd-ocaml_1.0~alpha5-9+b2_amd64.deb: OK sha1: libgd-ocaml-dbgsym_1.0~alpha5-9+b2_amd64.deb: OK sha1: libgd-ocaml-dev_1.0~alpha5-9+b2_amd64.deb: OK sha1: libgd-ocaml_1.0~alpha5-9+b2_amd64.deb: OK sha256: libgd-ocaml-dbgsym_1.0~alpha5-9+b2_amd64.deb: OK sha256: libgd-ocaml-dev_1.0~alpha5-9+b2_amd64.deb: OK sha256: libgd-ocaml_1.0~alpha5-9+b2_amd64.deb: OK Checksums: OK