[Debian-med-packaging] Bug#1153872: mapsembler2: reproducible builds: embeds date and running kernel version

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Nov 13 00:02:59 GMT 2026


Package: mapsembler2
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps kernel uname
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The timestamp and running kernel version are embedded at least one of
the binaries shipped in mapsembler2:

│ │ ├── ./usr/bin/mapsembler2_extremities
...
│ │ │ │ -Linux-6.12.115+deb13.1-amd64
│ │ │ │ -2026-11-09 16:12:37
│ │ │ │ +Linux-6.12.116+deb13-amd64
│ │ │ │ +2026-11-12 02:41:39

This is currently confirmed by both reproduce.debian.net and tests.reproducible-builds.org:

https://reproduce.debian.net/excuses.html?source_name=mapsembler2

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

The attached patches fix this by using CMAKE_SYSTEM_NAME instead of
CMAKE_SYSTEM to avoid embedding the kernel version, and using the CMake
TIMESTAMP macro which respects the SOURCE_DATE_EPOCH environment
variable.

I believe with these patches applied, mapsembler2 should build
reproducibly!

Thanks for maintaining mapsembler2!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-CMAKE_SYSTEM_NAME-to-Avoid-embedding-running-ker.patch
Type: text/x-diff
Size: 1193 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20261112/8ca0fb62/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gatb-core-CMakeLists.txt-Use-TIMESTAMP-to-set-gatb-c.patch
Type: text/x-diff
Size: 1075 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20261112/8ca0fb62/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/debian-med-packaging/attachments/20261112/8ca0fb62/attachment.sig>


More information about the Debian-med-packaging mailing list