Bug#1004057: evolution-ews: reproducible-builds: build path embedded in libecalbackendews.so and RPATH
Vagrant Cascadian
vagrant at reproducible-builds.org
Thu Jan 20 01:04:05 GMT 2022
Source: evolution-ews
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Builds in a different source directory trigger reproducibility issues
with libecalbackendews.so and the RPATH of various other binaries also
have different BuildId:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/evolution-ews.html
/usr/lib/evolution-data-server/calendar-backends/libecalbackendews.so
/build/1st/evolution-ews-3.42.3/src/EWS/calendar
vs.
/build/2/evolution-ews-3.42.3/2nd/src/EWS/calendar
The first patch fixes this by removing the source directory from the
CMakeLists.txt that is used to build libecalbackendews.so.
I have not tested that this is a correct fix, per se, but it seems
unlikely that a transient build directory for an installed .deb package
would be present on any end-user system in any useful way.
The second patch fixes this by passing arguments to configure to use a
relative RPATH instead of embedding the full path.
With these patches applied, evolution-ews should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining evolution-ews!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-src-EWS-calendar-CMakeLists.txt-Blank-out-EXCHANGE_E.patch
Type: text/x-diff
Size: 1050 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220119/020917ee/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch
Type: text/x-diff
Size: 891 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220119/020917ee/attachment-0001.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/20220119/020917ee/attachment.sig>
More information about the Reproducible-bugs
mailing list