[Reproducible-builds] Bug#792491: dpkg-dev: please make the output of dpkg-shlibdeps reproducible
Chris Lamb
lamby at debian.org
Wed Jul 15 11:21:00 UTC 2015
Source: dpkg-dev
Version: 1.18.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that dpkg-dev doesn't sort some dependencies deterministically.
This results in the output ofdpkg-shlibdeps non-reproducible, flapping
between, for example:
- pkga | pkgb, pkga | pkgc
+ pkga | pkgc, pkga | pkgb
This can (currently) be seen in pyopencl:
https://reproducible.debian.net/rb-pkg/unstable/amd64/pyopencl.html
This is caused by deps_compare only comparing the "left"-most dependency
of a Dpkg::Deps::Multiple. The attached patch ensures that all
dependencies
of such an object are checked, including an addition to the testsuite.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dpkg-dev.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150715/ba076b48/attachment.txt>
More information about the Reproducible-builds
mailing list