Bug#901300: bls: warn about strip-nondeterminism output in build logs

Paul Wise pabs at debian.org
Mon Jun 11 08:35:21 BST 2018


Package: qa.debian.org
Severity: wishlist
User: qa.debian.org at packages.debian.org
Usertags: bls
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org, brlink at debian.org
Control: user reproducible-builds at lists.alioth.debian.org
Control: usertags -1 + infrastructure
Control: clone -1 -2
Control: reassign -2 bls-standalone

It would be nice if the Debian build log scanner (bls)[1] could detect
when strip-nondeterminism finds some nondeterminism and warns about
that in the build logs. The strip-nondeterminism tool is a temporary
workaround for nondeterminism but packages should build reproducibly
even without it enabled. If we are to eventually drop this tool, we
need ways of measuring how often it is needed and encouraging people to
reduce the need for the tool. Since it is used at build time and
outputs to build logs and the bls results are communicated to
maintainers via the package tracker, bls could help achieve this.

Here is an example of the build log output from strip-nondeterminism:

   dh_strip_nondeterminism
        Normalized debian/sysstat/usr/share/locale/hu/LC_MESSAGES/sysstat.mo
        Normalized debian/sysstat/usr/share/locale/nn/LC_MESSAGES/sysstat.mo
        Normalized debian/sysstat/usr/share/locale/zh_CN/LC_MESSAGES/sysstat.mo
        Normalized debian/sysstat/usr/share/locale/nb/LC_MESSAGES/sysstat.mo
        Normalized debian/sysstat/usr/share/locale/ja/LC_MESSAGES/sysstat.mo
        Normalized debian/sysstat/usr/share/locale/ko/LC_MESSAGES/sysstat.mo
        Normalized debian/sysstat/usr/share/locale/af/LC_MESSAGES/sysstat.mo
        Normalized debian/sysstat/usr/share/locale/mt/LC_MESSAGES/sysstat.mo

So BLS should detect a line with "dh_strip_nondeterminism" followed by
lines beginning with "Normalized ". Initial whitespace can be ignored.

   1. https://qa.debian.org/bls/

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20180611/d015b139/attachment.sig>


More information about the Reproducible-builds mailing list