Bug#1020723: python-omegaconf: reproducible-builds: Embedded build path in OmegaConfGrammer*.py

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Sep 25 20:35:37 BST 2022


Source: python-omegaconf
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 path is embedded in several files
/usr/lib/python3/dist-packages/omegaconf/grammar/gen/OmegaConfGrammar*.py:

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

  /usr/lib/python3/dist-packages/omegaconf/grammar/gen/OmegaConfGrammarLexer.py

  #·Generated·from·/build/1st/python-omegaconf-2.2.2/omegaconf/grammar/OmegaConfGrammarLexer.g4·by·ANTLR·4.9.3
  vs.
  #·Generated·from·/build/2/python-omegaconf-2.2.2/2nd/omegaconf/grammar/OmegaConfGrammarLexer.g4·by·ANTLR·4.9.3

The attached patch fixes this from the dh_auto_install override in
debian/rules by replacing the build path in these files with a
placeholder string.

With this patch applied python-omegaconf should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining python-omegaconf!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Replace-build-path-in-OmegaConfGrammer-.patch
Type: text/x-diff
Size: 1235 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/31b7108b/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/20220925/31b7108b/attachment.sig>


More information about the Reproducible-bugs mailing list