• Bug#1103797: schism: please make the build reproducible

    From Chris Lamb@21:1/5 to All on Mon Apr 21 18:30:01 2025
    --91b46c521a044cb1a5ab617f4894d705
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Source: schism
    Version: 2:20250313-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
    schism could not be built reproducibly.

    This is because it embedded the timestamp of a source file via the __TIMESTAMP__ macro. Unlike __DATE__ and __TIME__, this macro is not automatically adjusted to SOURCE_DATE_EPOCH.

    │ │ │ ├── ./usr/bin/schismtracker
    │ │ │ │ ├── strings --all --bytes=8 {}
    │ │ │ │ │ @@ -2382,15 +2382,15 @@
    │ │ │ │ │ %3s %3s %d %d:%d:%d %d
    │ │ │ │ │ -Thu Mar 13 15:04:35 2025
    │ │ │ │ │ +Fri Mar 14 17:04:35 2025
    │ │ │ │ │ %3s %3s %d %d:%d:%d %d
    │ │ │ │ │ %3s %d %d

    Patch attached, although other solutions are obviously available.

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


    Regards,

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

    --91b46c521a044cb1a5ab617f4894d705
    Content-Disposition: attachment; filename="schism.diff.txt"
    Content-Type: text/plain; name="schism.diff.txt"
    Content-Transfer-Encoding: base64

    LS0tIGEvZGViaWFuL3BhdGNoZXMvMDAwMS1SZXByb2R1Y2libGUtYnVpbGQucGF0Y2gJMTk2 OS0xMi0zMSAxNjowMDowMC4wMDAwMDAwMDAgLTA4MDAKLS0tIGIvZGViaWFuL3BhdGNoZXMv MDAwMS1SZXByb2R1Y2libGUtYnVpbGQucGF0Y2gJMjAyNS0wNC0yMSAwOToxOTo1NC42Mzkz NTcyNTUgLTA3MDAKQEAgLTAsMCArMSwyMiBAQAorRGVzY3JpcHRpb246IE1ha2UgdGhlIGJ1 aWxkIHJlcHJvZHVjaWJsZQorQXV0aG9yOiBDaHJpcyBMYW1iIDxsYW1ieUBkZWJpYW4ub3Jn PgorTGFzdC1VcGRhdGU6IDIwMjUtMDQtMjEKKworLS0tIHNjaGlzbS0yMDI1MDMxMy5vcmln L3NjaGlzbS92ZXJzaW9uLmMKKysrKyBzY2hpc20tMjAyNTAzMTMvc2NoaXNtL3ZlcnNpb24u YworQEAgLTIxOCw2ICsyMTgsNyBAQCBzdGF0aWMgaW5saW5lIGludCBnZXRfdmVyc2lvbl9k YXRlKGludCAqCisgI2VuZGlmCisgCisgI2lmZGVmIF9fVElNRVNUQU1QX18KKysjaWZuZGVm IFNPVVJDRV9EQVRFX0VQT0NICisgCS8qIFRoZSBsYXN0IHRpbWUgVEhJUyBz