[Reproducible-builds] dh_shlibdeps dependency ordering not stable if alternate dependency templates are used

Mattia Rizzolo mattia at mapreri.org
Thu Jul 9 18:40:46 UTC 2015


On Thu, Jul 09, 2015 at 08:23:12PM +0200, Holger Levsen wrote:
> > The issue is nondeterministic - a first rebuild after partly fixing
> > another reproducibility issue has not shown this again.
> 
> 
> btw: https://reproducible.debian.net/rb-pkg/unstable/amd64/pyopencl.html

I recall some other cases, where it turned out that the problem is not dpkg's
and neither dh's.

from dpkg-gencontrol(1):

       The order  of  dependencies  is
       preserved as best as possible: if any dependency must be discarded due
       to another dependency appearing further in the field, the superseding
       dependency will take the place of the discarded one.


That means that whatever passes them to dpkg, has to sort them.
I quickly looked to dh_shlibdeps, and (if i got that right) it just call
dpkg-shlibdeps. Now I don't have a clue of the order used by this one, and the
manpage is way too long to be read in 5 minutes, but I'm fairly sure we didn't
patch that file (at least, the changelog does not state so).

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540         .''`.
more about me:  http://mapreri.org                                 : :'  :
Launchpad user: https://launchpad.net/~mapreri                     `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia     `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150709/38a6ceb5/attachment.sig>


More information about the Reproducible-builds mailing list