Bug#1021893: device-tree-compiler: reproducible builds: Embeds build time in in various binaries
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Oct 16 19:29:04 BST 2022
Source: device-tree-compiler
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 time is embedded in various binaries:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/device-tree-compiler.html
/usr/bin/convert-dtsv0
/build/1st/device-tree-compiler-1.6.1/srcpos.c:101
vs.
/build/2/device-tree-compiler-1.6.1/2nd/srcpos.c:101
The attached patch to debian/rules fixes this by passing the default
CFLAGS via EXTRA_CFLAGS, which includes the -ffile-prefix-map compiler
option.
According to my local tests, with this patch applied, device-tree-compiler should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining device-tree-compiler!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-default-CFLAGS-via-EXTRA_CFLAGS.patch
Type: text/x-diff
Size: 1027 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221016/8fa2026d/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/20221016/8fa2026d/attachment.sig>
More information about the Reproducible-bugs
mailing list