[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: qa.debian.org
Severity: wishlist
User: qa.debian.org@packages.debian.org
Usertags: bls
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org, brlink@debian.org
Control: user reproducible-builds@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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: