Bug#1017372: plymouth: reproducible builds: year and week embedded in .pc files

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Aug 15 03:21:56 BST 2022


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

The build year and week of year is embedded in several .pc files:

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

  /usr/lib/x86_64-linux-gnu/pkgconfig/ply-boot-client.pc

  Version:·22.32.
  vs.
  Version:·23.37.

This is because configure.ac sets the VERSION and PACKAGE_VERSION
variables based on the date and available git information. The attached
patch fixes this by using the version from debian/changelog.

If only the upstream version is preferred, then simply appending a sed
call could also be used:

  dpkg-parsechangelog --show-field Version | sed -e 's,-.*,,g'


With this patch applied, plymouth should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining plymouth!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure.ac-Avoid-embedding-the-date-in-the-version.patch
Type: text/x-diff
Size: 945 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220814/9687640f/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/20220814/9687640f/attachment.sig>


More information about the Reproducible-bugs mailing list