Bug#1035400: lucene8: reproducible builds: username embedded in .jar files

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 2 20:37:34 BST 2023


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

Various .jar files embed the username:

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

  /usr/share/java/lucene-analyzers-common-8.7.0.jar

  Implementation-Version:·8.8.1-4·unknown·-·pbuilder1·-·2022-11-25·13:00\xd
  vs.
  Implementation-Version:·8.8.1-4·unknown·-·pbuilder2·-·2022-11-25·13:00\xd

The attached patches fix this by removing the user.name from the
Implementation-Version fields in various template .xml files.

According to my local tests, with these patches applied lucene8 should
become reproducible on tests.reproducible-builds.org!

Thanks for maintaining lucene8!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-common-build.xml-Remove-user-from-Implementation-Ver.patch
Type: text/x-diff
Size: 1017 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230502/85e2a61e/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-poms-lucene-solr-grandparent.pom.xml-Remove-b.patch
Type: text/x-diff
Size: 2168 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230502/85e2a61e/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/20230502/85e2a61e/attachment.sig>


More information about the Reproducible-bugs mailing list