🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Chris Lamb Mon, 23 Nov 2026 17:50
Bug#1155030: klog: please make the build reproducible [timestamps]
#5799
Author: Chris Lamb
Date: Mon, 23 Nov 2026 17:50
60 lines
5237 bytes
--00d59ba1799f96fedd0853ee4b381898619fd8f1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Source: klog
Version: 2.6-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
klog could not be built reproducibly.

This is because the build system uses CMake's TIMESTAMP feature without
specifying the "UTC" flag.

Whilst CMake will automatically use SOURCE_DATE_EPOCH, without the "UTC"
flag it will generate output based on the build system's timezone. It
will therefore generate nondetermistic output (even if the requested
format is just a date).

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-

--00d59ba1799f96fedd0853ee4b381898619fd8f1
Content-Disposition: attachment; filename="klog.diff.txt"
Content-Type: text/plain; charset=us-ascii; name="klog.diff.txt"
Content-Transfer-Encoding: base64

LS0tIGEvZGViaWFuL3BhdGNoZXMvcmVwcm9kdWNpYmxlLWJ1aWxkLnBhdGNoCTE5NzAtMDEt
MDEgMDA6MDA6MDAuMDAwMDAwMDAwICswMDAwCi0tLSBiL2RlYmlhbi9wYXRjaGVzL3JlcHJv
ZHVjaWJsZS1idWlsZC5wYXRjaAkyMDI2LTExLTIzIDE3OjI5OjE1LjAzOTEwMjk0MSArMDAw
MApAQCAtMCwwICsxLDE1IEBACitEZXNjcmlwdGlvbjogTWFrZSB0aGUgYnVpbGQgcmVwcm9k
dWNpYmxlCitBdXRob3I6IENocmlzIExhbWIgPGxhbWJ5QGRlYmlhbi5vcmc+CitMYXN0LVVw
ZGF0ZTogMjAyNi0xMS0yMworCistLS0ga2xvZy0yLjYub3JpZy9zcmMvQ01ha2VMaXN0cy50
eHQKKysrKyBrbG9nLTIuNi9zcmMvQ01ha2VMaXN0cy50eHQKK0BAIC00NzIsNyArNDcyLDcg
QEAgZWxzZWlmKEFQUExFKQorIGVuZGlmKCkKKyAKKyAjIEdldCB0b2RheSdzIGRhdGUgZm9y
IHRoZSByZWxlYXNlIGVudHJ5Cistc3RyaW5nKFRJTUVTVEFNUCBLTE9HX0JVSUxEX0RBVEUg
IiVZLSVtLSVkIikKKytzdHJpbmcoVElNRVNUQU1QIEtMT0dfQlVJTERfREFURSAiJVktJW0t
JWQiIFVUQykKKyAKKyAjIEdlbmVyYXRlIG1ldGFpbmZvIGZyb20gdGVtcGxhdGUKKyBjb25m
aWd1cmVfZmlsZSgKLS0tIGEvZGViaWFuL3BhdGNoZXMvc2VyaWVzCTIwMjYtMTEtMjMgMTc6
MTM6MDcuNTcxMDE2MTcxICswMDAwCi0tLSBiL2RlYmlhbi9wYXRjaGVzL3NlcmllcwkyMDI2
LTExLTIzIDE3OjI5OjE0LjEzMjM5MjM0NSArMDAwMApAQCAtMCwwICsxIEBACityZXByb2R1
Y2libGUtYnVpbGQucGF0Y2gK

--00d59ba1799f96fedd0853ee4b381898619fd8f1--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads