Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/f/fscrypt/fscrypt_0.2.9-1+b6_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/fscrypt-0.2.9-1+b6u6e6654_/fscrypt_0.2.9-1+b6_amd64.buildinfo Get source package info: fscrypt=0.2.9-1 Source URL: http://snapshot.notset.fr/mr/package/fscrypt/0.2.9-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.51 bash=5.1-3 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-exec=0.23.4 dh-golang=1.51 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 golang-1.15-go=1.15.9-6 golang-1.15-src=1.15.9-6 golang-any=2:1.15~1 golang-github-cpuguy83-go-md2man-v2-dev=2.0.0+ds-5 golang-github-pkg-errors-dev=0.9.1-1 golang-github-pmezard-go-difflib-dev=1.0.0-3 golang-github-russross-blackfriday-v2-dev=2.0.1-3 golang-github-shurcool-sanitized-anchor-name-dev=1.0.0-1 golang-github-urfave-cli-dev=1.22.4-2 golang-go=2:1.15~1 golang-golang-x-crypto-dev=1:0.0~git20201221.eec23a3-1 golang-golang-x-net-dev=1:0.0+git20210119.5f4716e+dfsg-4 golang-golang-x-sys-dev=0.0~git20210124.22da62e-1 golang-golang-x-term-dev=0.0~git20201210.2321bbc-1 golang-golang-x-text-dev=0.3.6-1 golang-goprotobuf-dev=1.3.4-2+b5 golang-src=2:1.15~1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-7 libbz2-1.0=1.0.8-4 libc-bin=2.31-13 libc-dev-bin=2.31-13 libc6=2.31-13 libc6-dev=2.31-13 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-2 libcrypt-dev=1:4.4.18-4 libcrypt1=1:4.4.18-4 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.260 libdebhelper-perl=13.3.4 libdpkg-perl=1.20.9 libelf1=0.183-3 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-6 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-5 libicu67=67.1-7 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-5 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-5 libkrb5support0=1.18.3-5 liblsan0=10.2.1-6 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-9 libpam-modules-bin=1.4.0-9 libpam-runtime=1.4.0-9 libpam0g=1.4.0-9 libpam0g-dev=1.4.0-9 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-4 libpipeline1=1.5.3-1 libprotobuf-dev=3.12.4-1 libprotobuf-lite23=3.12.4-1 libprotobuf23=3.12.4-1 libprotoc23=3.12.4-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-5 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-5 libunistring2=0.9.10-4 libuuid1=2.36.1-7 libxml2=2.9.10+dfsg-6.7 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.1-4 perl-base=5.32.1-4 perl-modules-5.32=5.32.1-4 po-debconf=1.0.21+nmu1 protobuf-compiler=3.12.4-1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.36.1-7 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/20210718T092653Z/ 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 fscrypt=0.2.9-1 && mkdir -p /build/fscrypt-K4ekZ3 && dpkg-source --no-check -x /*.dsc /build/fscrypt-K4ekZ3/fscrypt-0.2.9 && cd /build/fscrypt-K4ekZ3/fscrypt-0.2.9 && { printf '%s' 'fscrypt (0.2.9-1+b6) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 18 Jul 2021 10:07:52 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/fscrypt-K4ekZ3" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/fscrypt-K4ekZ3/fscrypt-0.2.9 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626602872" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/fscrypt-K4ekZ3 /tmp/fscrypt-0.2.9-1+b6u6e6654_ bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210718T092653Z 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.tm71uVfrC0 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.tm71uVfrC0 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). 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/20210718T092653Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210718T092653Z 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 (605 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 ... 4667 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-13) ... 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/20210718T092653Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.tm71uVfrC0 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable InRelease 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] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1161 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.tm71uVfrC0 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d fscrypt=0.2.9-1 && mkdir -p /build/fscrypt-K4ekZ3 && dpkg-source --no-check -x /*.dsc /build/fscrypt-K4ekZ3/fscrypt-0.2.9 && cd /build/fscrypt-K4ekZ3/fscrypt-0.2.9 && { printf '%s' 'fscrypt (0.2.9-1+b6) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 18 Jul 2021 10:07:52 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/fscrypt-K4ekZ3"' exec /tmp/mmdebstrap.tm71uVfrC0 Reading package lists... NOTICE: 'fscrypt' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/fscrypt.git Please use: git clone https://salsa.debian.org/go-team/packages/fscrypt.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 152 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fscrypt 0.2.9-1 (dsc) [1970 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fscrypt 0.2.9-1 (tar) [144 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main fscrypt 0.2.9-1 (diff) [5404 B] Fetched 152 kB in 0s (906 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'fscrypt_0.2.9-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting fscrypt in /build/fscrypt-K4ekZ3/fscrypt-0.2.9 dpkg-source: info: unpacking fscrypt_0.2.9.orig.tar.gz dpkg-source: info: unpacking fscrypt_0.2.9-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/fscrypt-K4ekZ3/fscrypt-0.2.9 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626602872" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.tm71uVfrC0 dpkg-buildpackage: info: source package fscrypt dpkg-buildpackage: info: source version 0.2.9-1+b6 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules binary-arch dh binary-arch --buildsystem=golang --with=golang dh_update_autotools_config -a -O--buildsystem=golang dh_autoreconf -a -O--buildsystem=golang dh_auto_configure -a -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' # Build the command line tool DH_GOLANG_BUILDPKG=github.com/google/fscrypt/cmd/... dh_auto_build -O--buildsystem=golang -- --ldflags '-s -w -X "main.version=v0.2.9" -extldflags "-Wl,-z,relro -Wl,-z,now"' cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 --ldflags "-s -w -X \"main.version=v0.2.9\" -extldflags \"-Wl,-z,relro -Wl,-z,now\"" github.com/google/fscrypt/cmd/fscrypt runtime/internal/sys internal/unsafeheader internal/cpu internal/race runtime/internal/atomic runtime/internal/math sync/atomic unicode internal/bytealg unicode/utf8 math/bits internal/testlog math encoding unicode/utf16 runtime crypto/internal/subtle crypto/subtle golang.org/x/sys/internal/unsafeheader github.com/shurcooL/sanitized_anchor_name runtime/cgo internal/reflectlite sync errors sort io strconv internal/oserror syscall bytes strings hash bufio crypto/hmac reflect crypto encoding/base32 path golang.org/x/crypto/hkdf html internal/syscall/unix time internal/syscall/execenv regexp/syntax text/tabwriter regexp internal/poll encoding/binary internal/fmtsort os encoding/base64 crypto/cipher crypto/sha256 crypto/sha512 fmt golang.org/x/sys/unix crypto/aes path/filepath io/ioutil flag encoding/json log encoding/hex github.com/pkg/errors os/user golang.org/x/sys/cpu golang.org/x/crypto/blake2b github.com/golang/protobuf/proto github.com/russross/blackfriday/v2 golang.org/x/crypto/argon2 net/url text/template/parse github.com/cpuguy83/go-md2man/v2/md2man golang.org/x/term golang.org/x/crypto/ssh/terminal text/template github.com/golang/protobuf/ptypes/struct github.com/golang/protobuf/jsonpb github.com/google/fscrypt/util github.com/urfave/cli github.com/google/fscrypt/security github.com/google/fscrypt/metadata github.com/google/fscrypt/crypto github.com/google/fscrypt/filesystem github.com/google/fscrypt/keyring github.com/google/fscrypt/pam github.com/google/fscrypt/actions github.com/google/fscrypt/cmd/fscrypt # Build the PAM module (C shared library) DH_GOLANG_BUILDPKG=github.com/google/fscrypt/pam_fscrypt/... dh_auto_build -O--buildsystem=golang -- --ldflags '-s -w -X "main.version=v0.2.9" -extldflags "-Wl,-z,relro -Wl,-z,now"' -buildmode=c-shared cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 --ldflags "-s -w -X \"main.version=v0.2.9\" -extldflags \"-Wl,-z,relro -Wl,-z,now\"" -buildmode=c-shared github.com/google/fscrypt/pam_fscrypt runtime/internal/sys internal/unsafeheader internal/cpu runtime/internal/atomic math/bits runtime/internal/math unicode/utf8 internal/race sync/atomic internal/bytealg math unicode internal/testlog encoding unicode/utf16 crypto/internal/subtle runtime crypto/subtle golang.org/x/sys/internal/unsafeheader internal/nettrace runtime/cgo internal/reflectlite sync internal/singleflight math/rand errors sort io strconv internal/oserror syscall vendor/golang.org/x/net/dns/dnsmessage bytes reflect strings hash crypto/hmac crypto encoding/base32 bufio path internal/syscall/unix time internal/syscall/execenv golang.org/x/crypto/hkdf context internal/poll internal/fmtsort encoding/binary os crypto/cipher encoding/base64 crypto/sha256 crypto/sha512 crypto/aes golang.org/x/sys/unix path/filepath fmt io/ioutil net golang.org/x/sys/cpu golang.org/x/crypto/blake2b encoding/json log encoding/hex github.com/pkg/errors os/user golang.org/x/crypto/argon2 github.com/golang/protobuf/proto runtime/debug github.com/google/fscrypt/util github.com/google/fscrypt/security github.com/golang/protobuf/ptypes/struct log/syslog github.com/golang/protobuf/jsonpb github.com/google/fscrypt/metadata github.com/google/fscrypt/filesystem github.com/google/fscrypt/crypto github.com/google/fscrypt/keyring github.com/google/fscrypt/pam github.com/google/fscrypt/actions github.com/google/fscrypt/pam_fscrypt # Workaround for https://github.com/golang/go/issues/24253 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903385 # # golang-go calls the library pam_fscrypt.a, while gccgo-go calls it libpam_fscrypt.a. # One thing we (hopefully) know: there is only one .a file. Its path is also difficult # to predict. Let's try to write a command that will always rename it to pam_fscrypt.so. ls -l obj-*/pkg/*/github.com/google/fscrypt/*.a -rw-r--r-- 1 builduser builduser 5002032 Oct 12 21:33 obj-x86_64-linux-gnu/pkg/linux_amd64_shared/github.com/google/fscrypt/pam_fscrypt.a SOPATH=$(dirname obj-*/pkg/*/github.com/google/fscrypt/*.a) && mv -v $SOPATH/*.a $SOPATH/pam_fscrypt.so renamed 'obj-x86_64-linux-gnu/pkg/linux_amd64_shared/github.com/google/fscrypt/pam_fscrypt.a' -> 'obj-x86_64-linux-gnu/pkg/linux_amd64_shared/github.com/google/fscrypt/pam_fscrypt.so' make[1]: Leaving directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' debian/rules override_dh_auto_test make[1]: Entering directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' # Excluded tests: # # keyring: needs a user keyring linked into the session keyring # https://github.com/google/fscrypt/issues/99 # filesystem: requires a filesystem to test upon and root privileges DH_GOLANG_EXCLUDES="keyring filesystem" dh_auto_test cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/google/fscrypt/actions github.com/google/fscrypt/cmd/fscrypt github.com/google/fscrypt/crypto github.com/google/fscrypt/metadata github.com/google/fscrypt/pam github.com/google/fscrypt/pam_fscrypt github.com/google/fscrypt/security github.com/google/fscrypt/util skipping integration test ok github.com/google/fscrypt/actions 0.184s === RUN TestTrivial --- PASS: TestTrivial (0.00s) PASS ok github.com/google/fscrypt/cmd/fscrypt 0.082s === RUN TestMakeKeys --- PASS: TestMakeKeys (0.00s) === RUN TestWipe --- PASS: TestWipe (0.00s) === RUN TestInvalidLength --- PASS: TestInvalidLength (0.00s) === RUN TestZeroLength --- PASS: TestZeroLength (0.00s) === RUN TestEnableDisableMemoryLocking --- PASS: TestEnableDisableMemoryLocking (0.00s) === RUN TestDisableEnableMemoryLocking --- PASS: TestDisableEnableMemoryLocking (0.00s) === RUN TestKeyResize --- PASS: TestKeyResize (0.00s) === RUN TestKeyLargeResize --- PASS: TestKeyLargeResize (0.00s) === RUN TestRandomKeyGen --- PASS: TestRandomKeyGen (0.07s) === RUN TestBigKeyGen --- PASS: TestBigKeyGen (0.00s) === RUN TestKeysAndOutputsDistinct --- PASS: TestKeysAndOutputsDistinct (0.00s) === RUN TestWrapSucceeds --- PASS: TestWrapSucceeds (0.00s) === RUN TestWrapUnwrapEqual --- PASS: TestWrapUnwrapEqual (0.00s) === RUN TestRandomWrapUnwrapEqual --- PASS: TestRandomWrapUnwrapEqual (0.03s) === RUN TestDifferentLengthSecretKey --- PASS: TestDifferentLengthSecretKey (0.10s) === RUN TestWrongWrappingKeyLength --- PASS: TestWrongWrappingKeyLength (0.00s) === RUN TestWrongUnwrappingKeyLength --- PASS: TestWrongUnwrappingKeyLength (0.00s) === RUN TestWrapTwiceDistinct --- PASS: TestWrapTwiceDistinct (0.00s) === RUN TestUnwrapWrongKey --- PASS: TestUnwrapWrongKey (0.00s) === RUN TestUnwrapWrongData --- PASS: TestUnwrapWrongData (0.00s) === RUN TestComputeKeyDescriptorV1 --- PASS: TestComputeKeyDescriptorV1 (0.00s) === RUN TestComputeKeyDescriptorV2 --- PASS: TestComputeKeyDescriptorV2 (0.00s) === RUN TestComputeKeyDescriptorBadVersion --- PASS: TestComputeKeyDescriptorBadVersion (0.00s) === RUN TestPassphraseHashing --- PASS: TestPassphraseHashing (0.70s) === RUN TestGetRandomRecoveryString recovery_test.go:103: P6A7DWOY-Y5IA75U4-C3SYNB4H-FV6WBGBI-KGEGVFS2-NII4DDWC-THAFC3DN-ODO3HGME-UBHFQHEK-3343BTWY-VVO7ULGT-QYR6YWRB-EGP3X2Q= --- PASS: TestGetRandomRecoveryString (0.00s) === RUN TestFakeSecretKey --- PASS: TestFakeSecretKey (0.00s) === RUN TestEncodeDecode --- PASS: TestEncodeDecode (0.00s) === RUN TestDecodeEncode --- PASS: TestDecodeEncode (0.00s) === RUN TestWrongLengthError --- PASS: TestWrongLengthError (0.00s) === RUN TestBadCharacterError --- PASS: TestBadCharacterError (0.00s) === RUN TestBadEndCharacterError --- PASS: TestBadEndCharacterError (0.00s) PASS ok github.com/google/fscrypt/crypto 1.000s === RUN TestWrite config_test.go:63: json encoded config: { "source": "custom_passphrase", "hash_costs": { "time": "10", "memory": "4096", "parallelism": "8" }, "options": { "padding": "32", "contents": "AES_256_XTS", "filenames": "AES_256_CTS", "policy_version": "1" }, "use_fs_keyring_for_v1_policies": false } --- PASS: TestWrite (0.00s) === RUN TestRead config_test.go:75: decoded config: source:custom_passphrase hash_costs: options: --- PASS: TestRead (0.00s) === RUN TestOptionalFields --- PASS: TestOptionalFields (0.00s) === RUN TestSetPolicyEmptyDirectory policy_test.go:57: skipping integration test --- SKIP: TestSetPolicyEmptyDirectory (0.00s) === RUN TestSetPolicyNonemptyDirectory policy_test.go:57: skipping integration test --- SKIP: TestSetPolicyNonemptyDirectory (0.00s) === RUN TestSetPolicyFile policy_test.go:57: skipping integration test --- SKIP: TestSetPolicyFile (0.00s) === RUN TestSetPolicyBadDescriptors policy_test.go:57: skipping integration test --- SKIP: TestSetPolicyBadDescriptors (0.00s) === RUN TestGetPolicyEmptyDirectory policy_test.go:57: skipping integration test --- SKIP: TestGetPolicyEmptyDirectory (0.00s) === RUN TestGetPolicyUnencrypted policy_test.go:57: skipping integration test --- SKIP: TestGetPolicyUnencrypted (0.00s) === RUN TestSetV2PolicyNoKey policy_test.go:57: skipping integration test --- SKIP: TestSetV2PolicyNoKey (0.00s) PASS ok github.com/google/fscrypt/metadata 0.204s === RUN TestTrivial --- PASS: TestTrivial (0.00s) PASS ok github.com/google/fscrypt/pam 0.094s === RUN TestParseArgsEmpty --- PASS: TestParseArgsEmpty (0.00s) PASS ok github.com/google/fscrypt/pam_fscrypt 0.058s === RUN TestTrivial --- PASS: TestTrivial (0.00s) PASS ok github.com/google/fscrypt/security 0.017s === RUN TestPtrOffset --- PASS: TestPtrOffset (0.00s) === RUN TestByteSlice --- PASS: TestByteSlice (0.00s) === RUN TestPointerSlice --- PASS: TestPointerSlice (0.00s) === RUN TestNeverErrorPanic 2021/10/12 21:34:01 NeverError() check failed: system error: Hello --- PASS: TestNeverErrorPanic (0.00s) === RUN TestNeverErrorNoPanic --- PASS: TestNeverErrorNoPanic (0.00s) === RUN TestIsKernelVersionAtLeast 2021/10/12 21:34:01 Kernel version is 5.10.0-8-amd64 --- PASS: TestIsKernelVersionAtLeast (0.00s) PASS ok github.com/google/fscrypt/util 0.191s make[1]: Leaving directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' create-stamp debian/debhelper-build-stamp dh_testroot -a -O--buildsystem=golang dh_prep -a -O--buildsystem=golang dh_installdirs -a -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' # See dh-golang(3) dh_auto_install -- --no-source cd obj-x86_64-linux-gnu && mkdir -p /build/fscrypt-K4ekZ3/fscrypt-0.2.9/debian/tmp/usr cd obj-x86_64-linux-gnu && cp -r bin /build/fscrypt-K4ekZ3/fscrypt-0.2.9/debian/tmp/usr make[1]: Leaving directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' debian/rules override_dh_install make[1]: Entering directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' dh_install # Adapted from the upstream Makefile m4 --define=PAM_INSTALL_PATH=pam_fscrypt.so \ < pam_fscrypt/config \ > /build/fscrypt-K4ekZ3/fscrypt-0.2.9/debian/libpam-fscrypt/usr/share/pam-configs/fscrypt make[1]: Leaving directory '/build/fscrypt-K4ekZ3/fscrypt-0.2.9' dh_installdocs -a -O--buildsystem=golang dh_installchangelogs -a -O--buildsystem=golang dh_installsystemduser -a -O--buildsystem=golang dh_perl -a -O--buildsystem=golang dh_link -a -O--buildsystem=golang dh_strip_nondeterminism -a -O--buildsystem=golang dh_compress -a -O--buildsystem=golang dh_fixperms -a -O--buildsystem=golang dh_missing -a -O--buildsystem=golang dh_dwz -a -a -O--buildsystem=golang dwz: debian/fscrypt/usr/bin/fscrypt: .debug_info section not present dwz: debian/libpam-fscrypt/lib/x86_64-linux-gnu/security/pam_fscrypt.so: .debug_info section not present dh_strip -a -a -O--buildsystem=golang dh_makeshlibs -a -a -O--buildsystem=golang dh_shlibdeps -a -a -O--buildsystem=golang dh_installdeb -a -O--buildsystem=golang dh_golang -a -O--buildsystem=golang dh_gencontrol -a -O--buildsystem=golang dh_md5sums -a -O--buildsystem=golang dh_builddeb -a -O--buildsystem=golang dpkg-deb: building package 'fscrypt' in '../fscrypt_0.2.9-1+b6_amd64.deb'. dpkg-deb: building package 'libpam-fscrypt' in '../libpam-fscrypt_0.2.9-1+b6_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../fscrypt_0.2.9-1+b6_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/fscrypt-K4ekZ3 /tmp/fscrypt-0.2.9-1+b6u6e6654_ I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.tm71uVfrC0... I: success in 600.0772 seconds md5: fscrypt_0.2.9-1+b6_amd64.deb: OK md5: libpam-fscrypt_0.2.9-1+b6_amd64.deb: OK sha1: fscrypt_0.2.9-1+b6_amd64.deb: OK sha1: libpam-fscrypt_0.2.9-1+b6_amd64.deb: OK sha256: fscrypt_0.2.9-1+b6_amd64.deb: OK sha256: libpam-fscrypt_0.2.9-1+b6_amd64.deb: OK Checksums: OK