Bug#1024396: brewtarget: reproducible builds: Embeds build date in /usr/bin/brewtarget

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Nov 18 18:44:29 GMT 2022


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

The build date is embedded in /usr/bin/brewtarget:

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

  Linux-5.10.0-19-amd64
  vs.
  Linux-5.19.0-0.deb11.2-amd64

The attached patch to src/main.cpp fixes this by removing
CMAKE_HOST_SYSTEM and CMAKE_SYSTEM, which includes the kernel version.

According to my local tests, With this patch applied brewtarget should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining brewtarget!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-src-main.cpp-do-not-embed-the-value-of-CMAKE_HOST_SY.patch
Type: text/x-diff
Size: 1280 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221118/81f92492/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/20221118/81f92492/attachment.sig>


More information about the Reproducible-bugs mailing list