Bug#1007137: libranlip: reproducible-builds: BuildId differences in libranlip.so.1.0.0

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Mar 11 20:11:40 GMT 2022


Source: libranlip
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The Build ID for /usr/lib/ranlip/libranlip.so.1.0.0 varies depending on
the build path:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libranlip.html

  Build·ID:·a99d3bbf470139d9c3b48e295c3bf5d9b822a109
  vs.
  Build·ID:·58af4d42dfae61ee9e85803662f2644afdd832e1

The attached patch to debian/rules fixes this by including the standard
flags from dpkg.

Alternately, updating the packaging to use dh/debhelper at a recent
compat level would also likely fix this, or passing
-ffile-prefix-map=$(CURDIR)=. in CFLAGS and CXXFLAGS.


There are several other very old outstanding patches that may still need
to be resolved (#846975, #788000), but with all three patches applied,
libranlip should build reproducibly on tests.reproducible-builds.org!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Use-standard-buildflags.patch
Type: text/x-diff
Size: 766 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220311/6cb7aaa6/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220311/6cb7aaa6/attachment.sig>


More information about the Reproducible-bugs mailing list