Source: scrypt
Version: 1.3.1-2
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> -------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package scrypt
> dpkg-buildpackage: info: source version 1.3.1-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Barak A. Pearlmutter 
> <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>  rm -f scrypt
> test -z "cpusupport-config.h cpusupport-config.h.tmp" || rm -f 
> cpusupport-config.h cpusupport-config.h.tmp
> test -z "libscrypt-kdf.la" || rm -f libscrypt-kdf.la
> rm -rf .libs _libs
> rm -rf lib-platform/crypto/.libs lib-platform/crypto/_libs
> test -z "libcperciva_aesni.la libcperciva_rdrand.la libcperciva_shani.la 
> libscrypt_sse2.la" || rm -f libcperciva_aesni.la libcperciva_rdrand.la 
> libcperciva_shani.la libscrypt_sse2.la
> rm -f ./so_locations
> rm -rf lib/crypto/.libs lib/crypto/_libs
> rm -rf libcperciva/alg/.libs libcperciva/alg/_libs
>  rm -f tests/verify-strings/test_scrypt tests/valgrind/potential-memleaks 
> tests/libscrypt-kdf/sample-libscrypt-kdf
> rm -rf libcperciva/cpusupport/.libs libcperciva/cpusupport/_libs
> rm -f ./so_locations
> rm -f *.o
> rm -rf libcperciva/crypto/.libs libcperciva/crypto/_libs
> rm -f lib-platform/crypto/*.o
> rm -rf libcperciva/util/.libs libcperciva/util/_libs
> rm -f lib-platform/crypto/*.lo
> rm -rf tests/libscrypt-kdf/.libs tests/libscrypt-kdf/_libs
> rm -f lib-platform/util/*.o
> rm -rf tests/valgrind/.libs tests/valgrind/_libs
> rm -f lib/crypto/*.o
> rm -rf tests/verify-strings/.libs tests/verify-strings/_libs
> rm -f lib/crypto/*.lo
> rm -f lib/scryptenc/*.o
> rm -f *.lo
> rm -f libcperciva/alg/*.o
> rm -f *.tab.c
> rm -f libcperciva/alg/*.lo
> test -z "" || rm -f 
> rm -f libcperciva/cpusupport/*.o
> test . = "." || test -z "" || rm -f 
> rm -f libcperciva/cpusupport/*.lo
> rm -f lib-platform/crypto/.deps/.dirstamp
> rm -f libcperciva/crypto/*.o
> rm -f lib-platform/crypto/.dirstamp
> rm -f libcperciva/crypto/*.lo
> rm -f lib-platform/util/.deps/.dirstamp
> rm -f libcperciva/util/*.o
> rm -f lib-platform/util/.dirstamp
> rm -f libcperciva/util/*.lo
> rm -f lib/crypto/.deps/.dirstamp
> rm -f tests/libscrypt-kdf/*.o
> rm -f lib/crypto/.dirstamp
> rm -f tests/valgrind/*.o
> rm -f lib/scryptenc/.deps/.dirstamp
> rm -f tests/verify-strings/*.o
> rm -f lib/scryptenc/.dirstamp
> rm -f config.h stamp-h1
> rm -f libcperciva/alg/.deps/.dirstamp
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f libcperciva/alg/.dirstamp
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f libcperciva/cpusupport/.deps/.dirstamp
> rm -f libcperciva/cpusupport/.dirstamp
> rm -f libcperciva/crypto/.deps/.dirstamp
> rm -f libcperciva/crypto/.dirstamp
> rm -f libcperciva/util/.deps/.dirstamp
> rm -f libcperciva/util/.dirstamp
> rm -f tests/libscrypt-kdf/.deps/.dirstamp
> rm -f tests/libscrypt-kdf/.dirstamp
> rm -f tests/valgrind/.deps/.dirstamp
> rm -f tests/valgrind/.dirstamp
> rm -f tests/verify-strings/.deps/.dirstamp
> rm -f tests/verify-strings/.dirstamp
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f ./.deps/main.Po
> rm -f lib-platform/crypto/.deps/crypto_scrypt.Po
> rm -f lib-platform/crypto/.deps/libscrypt_kdf_la-crypto_scrypt.Plo
> rm -f lib-platform/util/.deps/memlimit.Po
> rm -f lib/crypto/.deps/crypto_scrypt_smix.Po
> rm -f lib/crypto/.deps/libscrypt_kdf_la-crypto_scrypt_smix.Plo
> rm -f lib/crypto/.deps/libscrypt_sse2_la-crypto_scrypt_smix_sse2.Plo
> rm -f lib/scryptenc/.deps/scryptenc.Po
> rm -f lib/scryptenc/.deps/scryptenc_cpuperf.Po
> rm -f libcperciva/alg/.deps/libscrypt_kdf_la-sha256.Plo
> rm -f libcperciva/alg/.deps/sha256.Po
> rm -f libcperciva/alg/.deps/shani_la-sha256_shani.Plo
> rm -f libcperciva/cpusupport/.deps/cpusupport_x86_aesni.Po
> rm -f libcperciva/cpusupport/.deps/cpusupport_x86_rdrand.Po
> rm -f libcperciva/cpusupport/.deps/cpusupport_x86_shani.Po
> rm -f libcperciva/cpusupport/.deps/cpusupport_x86_sse2.Po
> rm -f libcperciva/cpusupport/.deps/cpusupport_x86_ssse3.Po
> rm -f libcperciva/cpusupport/.deps/libscrypt_kdf_la-cpusupport_x86_aesni.Plo
> rm -f libcperciva/cpusupport/.deps/libscrypt_kdf_la-cpusupport_x86_rdrand.Plo
> rm -f libcperciva/cpusupport/.deps/libscrypt_kdf_la-cpusupport_x86_shani.Plo
> rm -f libcperciva/cpusupport/.deps/libscrypt_kdf_la-cpusupport_x86_sse2.Plo
> rm -f libcperciva/cpusupport/.deps/libscrypt_kdf_la-cpusupport_x86_ssse3.Plo
> rm -f libcperciva/crypto/.deps/aesni_la-crypto_aes_aesni.Plo
> rm -f libcperciva/crypto/.deps/crypto_aes.Po
> rm -f libcperciva/crypto/.deps/crypto_aesctr.Po
> rm -f libcperciva/crypto/.deps/crypto_entropy.Po
> rm -f libcperciva/crypto/.deps/crypto_verify_bytes.Po
> rm -f libcperciva/crypto/.deps/rdrand_la-crypto_entropy_rdrand.Plo
> rm -f libcperciva/util/.deps/asprintf.Po
> rm -f libcperciva/util/.deps/entropy.Po
> rm -f libcperciva/util/.deps/getopt.Po
> rm -f libcperciva/util/.deps/humansize.Po
> rm -f libcperciva/util/.deps/insecure_memzero.Po
> rm -f libcperciva/util/.deps/libscrypt_kdf_la-insecure_memzero.Plo
> rm -f libcperciva/util/.deps/libscrypt_kdf_la-warnp.Plo
> rm -f libcperciva/util/.deps/monoclock.Po
> rm -f libcperciva/util/.deps/readpass.Po
> rm -f libcperciva/util/.deps/readpass_file.Po
> rm -f libcperciva/util/.deps/warnp.Po
> rm -f tests/libscrypt-kdf/.deps/sample_libscrypt_kdf-sample-libscrypt-kdf.Po
> rm -f tests/valgrind/.deps/potential-memleaks.Po
> rm -f tests/verify-strings/.deps/test_scrypt.Po
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: warning: upstream signing key but no upstream tarball signature
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building scrypt using existing ./scrypt_1.3.1.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.h.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.aux/ar-lib, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.aux/install-sh, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.aux/compile, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.aux/ltmain.sh, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.aux/depcomp, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.aux/missing, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltsugar.m4, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/lt~obsolete.m4, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltversion.m4, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltoptions.m4, use 
> --include-removal to override
> dpkg-source: warning: newly created empty file 
> 'tests-output/02-decrypt-reference-file-attempt_reference.stderr' will not be 
> represented in diff
> dpkg-source: error: cannot represent change to 
> tests-output/03-encrypt-decrypt-file-attempt.enc: binary file contents changed
> dpkg-source: error: add tests-output/03-encrypt-decrypt-file-attempt.enc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> tests-output/04-force-resources.enc: binary file contents changed
> dpkg-source: error: add tests-output/04-force-resources.enc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> tests-output/09-explicit-params-reference.enc: binary file contents changed
> dpkg-source: error: add tests-output/09-explicit-params-reference.enc in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/scrypt_1.3.1-2_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to