Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/o/ocaml-usb/ocaml-usb_1.3.1-4+b4_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ocaml-usb-1.3.1-4+b4xoruw4lv/ocaml-usb_1.3.1-4+b4_amd64.buildinfo Get source package info: ocaml-usb=1.3.1-4 Source URL: http://snapshot.notset.fr/mr/package/ocaml-usb/1.3.1-4/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-12 automake=1:1.16.3-1 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1-1 binutils=2.35.1-4 binutils-common=2.35.1-4 binutils-x86-64-linux-gnu=2.35.1-4 bsdextrautils=2.36.1-2 bsdutils=1:2.36.1-2 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.1-1 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3 debianutils=4.11.2 dh-autoreconf=19 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+20201015-2 file=1:5.39-3 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.1-1 gcc=4:10.2.0-1 gcc-10=10.2.1-1 gcc-10-base=10.2.1-1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.1-1 libatomic1=10.2.1-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1+b1 libbinutils=2.35.1-4 libblkid1=2.36.1-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-5 libc-dev-bin=2.31-5 libc6=2.31-5 libc6-dev=2.31-5 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-1 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-4 libctf0=2.35.1-4 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.255 libdebhelper-perl=13.3 libdpkg-perl=1.20.5 libelf1=0.182-1 libev-dev=1:4.33-1 libev4=1:4.33-1 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.9.0-1 libfindlib-ocaml=1.8.1-2 libfindlib-ocaml-dev=1.8.1-2 libgcc-10-dev=10.2.1-1 libgcc-s1=10.2.1-1 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.66.4-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-1 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-5 libisl23=0.23-1 libitm1=10.2.1-1 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-1 liblwt-ocaml=5.3.0-1+b2 liblwt-ocaml-dev=5.3.0-1+b2 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmigrate-parsetree-ocaml=1.8.0-1 libmigrate-parsetree-ocaml-dev=1.8.0-1 libmmap-ocaml=1.1.0-1+b3 libmmap-ocaml-dev=1.1.0-1+b3 libmount1=2.36.1-2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncurses-dev=6.2+20201114-1 libncurses5-dev=6.2+20201114-1 libncurses6=6.2+20201114-1 libncursesw6=6.2+20201114-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 liboasis-ocaml=0.4.11-1+b2 liboasis-ocaml-dev=0.4.11-1+b2 libocplib-endian-ocaml=1.1-2+b1 libocplib-endian-ocaml-dev=1.1-2+b1 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.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libppx-derivers-ocaml-dev=1.2.1-1+b2 libppx-tools-versioned-ocaml=5.4.0-1+b2 libppx-tools-versioned-ocaml-dev=5.4.0-1+b2 libquadmath0=10.2.1-1 libreact-ocaml=1.2.1-1+b1 libreact-ocaml-dev=1.2.1-1+b1 libresult-ocaml=1.5-1+b1 libresult-ocaml-dev=1.5-1+b1 libseccomp2=2.5.0-3+b1 libselinux1=3.1-2+b2 libsigsegv2=2.12-3 libsmartcols1=2.36.1-2 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-1 libstdc++6=10.2.1-1 libsub-override-perl=0.09-2 libsystemd0=247.1-4 libtinfo6=6.2+20201114-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.1-1 libubsan1=10.2.1-1 libuchardet0=0.0.7-1 libudev1=247.1-4 libunistring2=0.9.10-4 libusb-1.0-0=2:1.0.24-2 libusb-1.0-0-dev=2:1.0.24-2 libuuid1=2.36.1-2 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.11-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+20201114-1 ncurses-bin=6.2+20201114-1 oasis=0.4.11-1+b2 ocaml-base-nox=4.11.1-4 ocaml-compiler-libs=4.11.1-4 ocaml-findlib=1.8.1-2 ocaml-interp=4.11.1-4 ocaml-nox=4.11.1-4 ocamlbuild=0.14.0-2+b1 patch=2.7.6-6 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 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.32+dfsg-1 util-linux=2.36.1-2 xz-utils=5.2.4-1+b1 zlib1g=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/20210127T214803Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201216T205250Z/ 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 ocaml-usb=1.3.1-4 && mkdir -p /build/ocaml-usb-NXTv5Q && dpkg-source --no-check -x /*.dsc /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1 && cd /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1 && { printf '%s' 'ocaml-usb (1.3.1-4+b4) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild with new ocaml-migrate-parsetree ABI -- amd64 / i386 Build Daemon (x86-csail-01) Sat, 19 Dec 2020 11:46:53 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/ocaml-usb-NXTv5Q" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1608378413" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/ocaml-usb-NXTv5Q /tmp/ocaml-usb-1.3.1-4+b4xoruw4lv bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201216T205250Z 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.QqLq2cKeoh 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.QqLq2cKeoh Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-2). 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/20201216T205250Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201216T205250Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (946 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 ... 4621 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-5) ... 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/20210127T214803Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201216T205250Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.QqLq2cKeoh Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210127T214803Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201216T205250Z 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/20210127T214803Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210127T214803Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210127T214803Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210127T214803Z unstable/main amd64 Packages [11.7 MB] Fetched 34.4 MB in 31s (1094 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.QqLq2cKeoh I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ocaml-usb=1.3.1-4 && mkdir -p /build/ocaml-usb-NXTv5Q && dpkg-source --no-check -x /*.dsc /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1 && cd /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1 && { printf '%s' 'ocaml-usb (1.3.1-4+b4) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild with new ocaml-migrate-parsetree ABI -- amd64 / i386 Build Daemon (x86-csail-01) Sat, 19 Dec 2020 11:46:53 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/ocaml-usb-NXTv5Q"' exec /tmp/mmdebstrap.QqLq2cKeoh Reading package lists... NOTICE: 'ocaml-usb' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ocaml-team/ocaml-usb.git Please use: git clone https://salsa.debian.org/ocaml-team/ocaml-usb.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 25.6 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ocaml-usb 1.3.1-4 (dsc) [1880 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ocaml-usb 1.3.1-4 (tar) [20.0 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ocaml-usb 1.3.1-4 (diff) [3772 B] Fetched 25.6 kB in 0s (331 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ocaml-usb_1.3.1-4.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ocaml-usb in /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1 dpkg-source: info: unpacking ocaml-usb_1.3.1.orig.tar.gz dpkg-source: info: unpacking ocaml-usb_1.3.1-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Use-lwt_ppx.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1608378413" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.QqLq2cKeoh dpkg-buildpackage: info: source package ocaml-usb dpkg-buildpackage: info: source version 1.3.1-4+b4 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-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/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' ocaml setup.ml -distclean make[1]: Leaving directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' dh_ocamlclean dh_clean debian/rules binary-arch dh binary-arch --with ocaml dh_update_autotools_config -a dh_autoreconf -a dh_ocamlinit -a debian/rules override_dh_auto_configure make[1]: Entering directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' ocaml setup.ml -configure --prefix /usr --destdir '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp' --docdir /usr/share/doc/libusb-ocaml-dev/html Configuration: ocamlfind: ........................................... /usr/bin/ocamlfind ocamlc: .............................................. /usr/bin/ocamlc.opt ocamlopt: ............................................ /usr/bin/ocamlopt.opt ocamlbuild: .......................................... /usr/bin/ocamlbuild Package name: ........................................ ocaml-usb Package version: ..................................... 1.3.0 os_type: ............................................. Unix system: .............................................. linux architecture: ........................................ amd64 ccomp_type: .......................................... cc ocaml_version: ....................................... 4.11.1 standard_library_default: ............................ /usr/lib/ocaml standard_library: .................................... /usr/lib/ocaml bytecomp_c_compiler: ................................. x86_64-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT native_c_compiler: ................................... x86_64-linux-gnu-gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT model: ............................................... default ext_obj: ............................................. .o ext_asm: ............................................. .s ext_lib: ............................................. .a ext_dll: ............................................. .so default_executable_name: ............................. a.out systhread_supported: ................................. true Install architecture-independent files dir: .......... /usr Install architecture-dependent files in dir: ......... $prefix User executables: .................................... $exec_prefix/bin System admin executables: ............................ $exec_prefix/sbin Program executables: ................................. $exec_prefix/libexec Read-only single-machine data: ....................... $prefix/etc Modifiable architecture-independent data: ............ $prefix/com Modifiable single-machine data: ...................... $prefix/var Object code libraries: ............................... $exec_prefix/lib Read-only arch-independent data root: ................ $prefix/share Read-only architecture-independent data: ............. $datarootdir Info documentation: .................................. $datarootdir/info Locale-dependent data: ............................... $datarootdir/locale Man documentation: ................................... $datarootdir/man Documentation root: .................................. /usr/share/doc/libusb-ocaml-dev/html HTML documentation: .................................. $docdir DVI documentation: ................................... $docdir PDF documentation: ................................... $docdir PS documentation: .................................... $docdir Prepend a path when installing package: .............. /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp findlib_version: ..................................... 1.8.1 is_native: ........................................... true suffix_program: ...................................... Remove a file.: ...................................... rm -f Remove a directory.: ................................. rm -rf Turn ocaml debug flag on: ............................ true Turn ocaml profile flag on: .......................... false Compiler support generation of .cmxs.: ............... true OCamlbuild additional flags: ......................... Create documentations: ............................... true Compile tests executable and library and run them: ... false pkg_lwt_unix: ........................................ /usr/lib/ocaml/lwt/unix pkg_lwt_ppx: ......................................... /usr/lib/ocaml/lwt_ppx ocamldoc: ............................................ /usr/bin/ocamldoc make[1]: Leaving directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' debian/rules override_dh_auto_build make[1]: Entering directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' ocaml setup.ml -build /usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild findlib: [WARNING] cannot read directory /usr/lib/ocaml/METAS: No such file or directory File "examples/_tags", line 3, characters 13-20: Warning: the tag "pkg_usb" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. /usr/bin/ocamlfind ocamlc -g -ccopt '-I`ocamlfind query lwt`/unix' -ccopt -I/usr/include/libusb-1.0 -package lwt -c src/usb_stubs.c + /usr/bin/ocamlfind ocamlc -g -ccopt '-I`ocamlfind query lwt`/unix' -ccopt -I/usr/include/libusb-1.0 -package lwt -c src/usb_stubs.c src/usb_stubs.c: In function ‘ml_usb_handle_recv’: src/usb_stubs.c:846:39: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 846 | memcpy(String_val(Field(meta, 1)) + Long_val(Field(meta, 2)), In file included from src/usb_stubs.c:20: /usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’ 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src, | ~~~~~~~~~~~~~~~~~^~~~~~ mv usb_stubs.o src/usb_stubs.o /usr/bin/ocamlfind ocamlmklib -o src/usb_stubs -g -lusb-1.0 src/usb_stubs.o /usr/bin/ocamlfind ocamldep -package lwt.unix -package lwt_ppx -modules src/USB.mli > src/USB.mli.depends /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmi src/USB.mli + /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmi src/USB.mli ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch /usr/bin/ocamlfind ocamldep -package lwt.unix -package lwt_ppx -modules src/USB.ml > src/USB.ml.depends /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmo src/USB.ml + /usr/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmo src/USB.ml ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch File "src/USB.ml", line 234, characters 10-28: 234 | ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks); ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Lwt_sequence Use package lwt-dllist. See https://github.com/mirage/lwt-dllist File "src/USB.ml", line 234, characters 40-65: 234 | ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks); ^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Lwt_main.enter_iter_hooks Use module Lwt_main.Enter_iter_hooks. File "src/USB.ml", line 235, characters 10-28: 235 | ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks); ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Lwt_sequence Use package lwt-dllist. See https://github.com/mirage/lwt-dllist File "src/USB.ml", line 235, characters 40-65: 235 | ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks); ^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Lwt_main.leave_iter_hooks Use module Lwt_main.Leave_iter_hooks. File "src/USB.ml", line 238, characters 10-28: 238 | ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Lwt_sequence Use package lwt-dllist. See https://github.com/mirage/lwt-dllist File "src/USB.ml", line 238, characters 70-89: 238 | ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Lwt_main.exit_hooks Use module Lwt_main.Exit_hooks. File "src/USB.ml", line 273, characters 20-31: 273 | (fun () -> execute_job ?async_method:None ~job:(job ()) ~result ~free) ^^^^^^^^^^^ Alert deprecated: Lwt_unix.execute_job Use Lwt_unix.run_job. File "src/USB.ml", line 481, characters 14-33: 481 | | Some t -> Pervasives.truncate (t *. 1000.0) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlfind ocamlc -a -dllib -lusb_stubs -cclib -lusb_stubs -cclib -lusb-1.0 -I src src/USB.cmo -o src/usb.cma /usr/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmx src/USB.ml + /usr/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmx src/USB.ml ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch File "src/USB.ml", line 234, characters 10-28: 234 | ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks); ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Lwt_sequence Use package lwt-dllist. See https://github.com/mirage/lwt-dllist File "src/USB.ml", line 234, characters 40-65: 234 | ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks); ^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Lwt_main.enter_iter_hooks Use module Lwt_main.Enter_iter_hooks. File "src/USB.ml", line 235, characters 10-28: 235 | ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks); ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Lwt_sequence Use package lwt-dllist. See https://github.com/mirage/lwt-dllist File "src/USB.ml", line 235, characters 40-65: 235 | ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks); ^^^^^^^^^^^^^^^^^^^^^^^^^ Alert deprecated: Lwt_main.leave_iter_hooks Use module Lwt_main.Leave_iter_hooks. File "src/USB.ml", line 238, characters 10-28: 238 | ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks) ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Lwt_sequence Use package lwt-dllist. See https://github.com/mirage/lwt-dllist File "src/USB.ml", line 238, characters 70-89: 238 | ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Lwt_main.exit_hooks Use module Lwt_main.Exit_hooks. File "src/USB.ml", line 273, characters 20-31: 273 | (fun () -> execute_job ?async_method:None ~job:(job ()) ~result ~free) ^^^^^^^^^^^ Alert deprecated: Lwt_unix.execute_job Use Lwt_unix.run_job. File "src/USB.ml", line 481, characters 14-33: 481 | | Some t -> Pervasives.truncate (t *. 1000.0) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlfind ocamlopt -a -cclib -lusb_stubs -cclib -lusb-1.0 -I src src/USB.cmx -o src/usb.cmxa /usr/bin/ocamlfind ocamlopt -shared -I src -cclib -lusb-1.0 -I src src/usb.cmxa src/USB.cmx -o src/usb.cmxs ocaml setup.ml -doc findlib: [WARNING] cannot read directory /usr/lib/ocaml/METAS: No such file or directory File "examples/_tags", line 3, characters 13-20: Warning: the tag "pkg_usb" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. /usr/bin/ocamlfind ocamldoc -dump src/USB.odoc -package lwt.unix -package lwt_ppx -I src src/USB.mli + /usr/bin/ocamlfind ocamldoc -dump src/USB.odoc -package lwt.unix -package lwt_ppx -I src src/USB.mli Warning: Element Transport not found Warning: Element cd_configuration_value not found Warning: Element Device not found Warning: Element Standard not found Warning: Element Device not found Warning: Element Standard not found Warning: Element Device not found Warning: Element Standard not found Warning: Element Device not found Warning: Element Standard not found rm -rf ocaml-usb-api.docdir mkdir -p ocaml-usb-api.docdir /usr/bin/ocamlfind ocamldoc -load src/USB.odoc -html -d ocaml-usb-api.docdir + /usr/bin/ocamlfind ocamldoc -load src/USB.odoc -html -d ocaml-usb-api.docdir Warning: Element Transport not found Warning: Element cd_configuration_value not found Warning: Element Device not found Warning: Element Standard not found Warning: Element Device not found Warning: Element Standard not found Warning: Element Device not found Warning: Element Standard not found Warning: Element Device not found Warning: Element Standard not found make[1]: Leaving directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' debian/rules override_dh_auto_test make[1]: Entering directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' ocaml setup.ml -test make[1]: Leaving directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' create-stamp debian/debhelper-build-stamp dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' mkdir -p '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml' ocaml setup.ml -install Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/USB.mli Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/libusb_stubs.a Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/dllusb_stubs.so Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/usb.cma Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/usb.cmxa Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/usb.a Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/usb.cmxs Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/USB.cmi Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/USB.cmti Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/USB.cmt Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/USB.annot Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/USB.cmx Installed /build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp//usr/lib/ocaml/usb/META cp _build/src/dllusb_stubs.so '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1/debian/tmp/usr/lib/ocaml/usb' make[1]: Leaving directory '/build/ocaml-usb-NXTv5Q/ocaml-usb-1.3.1' 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 -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_ocaml -a dh_gencontrol -a dpkg-gencontrol: warning: Depends field of package libusb-ocaml-dev: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'libusb-ocaml-dev' in '../libusb-ocaml-dev_1.3.1-4+b4_amd64.deb'. dpkg-deb: building package 'libusb-ocaml' in '../libusb-ocaml_1.3.1-4+b4_amd64.deb'. dpkg-deb: building package 'libusb-ocaml-dbgsym' in '../libusb-ocaml-dbgsym_1.3.1-4+b4_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../ocaml-usb_1.3.1-4+b4_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/ocaml-usb-NXTv5Q /tmp/ocaml-usb-1.3.1-4+b4xoruw4lv I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.QqLq2cKeoh... I: success in 643.7182 seconds md5: libusb-ocaml-dbgsym_1.3.1-4+b4_amd64.deb: OK md5: libusb-ocaml-dev_1.3.1-4+b4_amd64.deb: OK md5: libusb-ocaml_1.3.1-4+b4_amd64.deb: OK sha1: libusb-ocaml-dbgsym_1.3.1-4+b4_amd64.deb: OK sha1: libusb-ocaml-dev_1.3.1-4+b4_amd64.deb: OK sha1: libusb-ocaml_1.3.1-4+b4_amd64.deb: OK sha256: libusb-ocaml-dbgsym_1.3.1-4+b4_amd64.deb: OK sha256: libusb-ocaml-dev_1.3.1-4+b4_amd64.deb: OK sha256: libusb-ocaml_1.3.1-4+b4_amd64.deb: OK Checksums: OK