Your message dated Sun, 02 Aug 2026 06:04:38 +0000
with message-id <[email protected]>
and subject line Bug#1142126: fixed in libpsl 0.23.1-1
has caused the Debian Bug report #1142126,
regarding libpsl: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1142126: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142126
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libpsl
Version: 0.23.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

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

This is because the manual page embeds the current build date. The
attached patch generates these values from SOURCE_DATE_EPOCH, if it
exists.

Patch attached that modifies both the Autotools and Meson.build parts,
even though I don't think the Meson build system is used right now.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/0004-reproducible-build.patch      1969-12-31 
16:00:00.000000000 -0800
--- b/debian/patches/0004-reproducible-build.patch      2026-07-15 
09:03:12.126939478 -0700
@@ -0,0 +1,34 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2026-07-15
+
+--- libpsl-0.23.0.orig/configure.ac
++++ libpsl-0.23.0/configure.ac
+@@ -42,8 +42,8 @@ AC_SUBST([LIBPSL_VERSION_MAJOR], [$(echo
+ AC_SUBST([LIBPSL_VERSION_MINOR], [$(echo $VERSION | cut -d'.' -f2)])
+ AC_SUBST([LIBPSL_VERSION_PATCH], [$(echo $VERSION | cut -d'.' -f3)])
+ AC_SUBST([LIBPSL_VERSION_NUMBER], [$(printf '0x%02x%02x%02x' 
$LIBPSL_VERSION_MAJOR $LIBPSL_VERSION_MINOR $LIBPSL_VERSION_PATCH)])
+-AC_SUBST([COPYRIGHT_MONTH], [$(date +%B)])
+-AC_SUBST([COPYRIGHT_YEAR], [$(date +%Y)])
++AC_SUBST([COPYRIGHT_MONTH], [m4_esyscmd([date -u -d "@$SOURCE_DATE_EPOCH" +%B 
2>/dev/null || date -u -r $SOURCE_DATE_EPOCH +%B || date -u +%B])])
++AC_SUBST([COPYRIGHT_YEAR], [m4_esyscmd([date -u -d "@$SOURCE_DATE_EPOCH" +%Y 
2>/dev/null || date -u -r $SOURCE_DATE_EPOCH +%Y || date -u +%Y])])
+ AC_CONFIG_FILES([include/libpsl.h tools/psl.1])
+ 
+ dnl
+--- libpsl-0.23.0.orig/meson.build
++++ libpsl-0.23.0/meson.build
+@@ -157,7 +157,13 @@ endif
+ # Shared configuration data for copyright date and version
+ _cdata = configuration_data()
+ _cdata.set('PACKAGE_VERSION', meson.project_version())
+-copyright_date = run_command(['date', '+%B %Y'], check: true).stdout().strip()
++date_exe = find_program('date')
++cmd = run_command('sh', '-c', 'echo $SOURCE_DATE_EPOCH')
++source_date_epoch = cmd.stdout().strip()
++if source_date_epoch == ''
++      source_date_epoch = run_command(date_exe, '+%s').stdout().strip()
++endif
++copyright_date = run_command(date_exe, '-u', '-d', '@' + source_date_epoch, 
'+%B %Y').stdout().strip()
+ _cdata.set('COPYRIGHT_MONTH', copyright_date.split()[0])
+ _cdata.set('COPYRIGHT_YEAR', copyright_date.split()[1])
+ 
--- a/debian/patches/series     2026-07-15 08:56:28.991855043 -0700
--- b/debian/patches/series     2026-07-15 09:03:08.612154387 -0700
@@ -1,3 +1,4 @@
 0001-remove-git-submodules.patch
 0002-make-psl-make-dafsa-py3-based.patch
 0003-rename-cdata-in-docs-as-well.patch
+0004-reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: libpsl
Source-Version: 0.23.1-1
Done: Florian Ernst <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libpsl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florian Ernst <[email protected]> (supplier of updated libpsl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 02 Aug 2026 07:25:39 +0200
Source: libpsl
Architecture: source
Version: 0.23.1-1
Distribution: unstable
Urgency: medium
Maintainer: Tim Rühsen <[email protected]>
Changed-By: Florian Ernst <[email protected]>
Closes: 1142126
Changes:
 libpsl (0.23.1-1) unstable; urgency=medium
 .
   * New upstream version 0.23.1
     - Make the build reproducible (Closes: #1142126, thanks to
       Chris Lamb <[email protected]> for the Initial patch)
   * [757c770] d/patches/0003-rename-cdata-in-docs-as-well.patch:
     obsolete, now upstream
Checksums-Sha1:
 64cd58c2422fec557c0cf741f7a269762bf3740c 2293 libpsl_0.23.1-1.dsc
 279e52f093522bf37eb14075f1942e83253536c3 2238012 libpsl_0.23.1.orig.tar.xz
 eef7e4f370005c2e94450e04d8c0c92ba64c9148 11420 libpsl_0.23.1-1.debian.tar.xz
 a5eb7be8da8d98be5d2cfff69ebfd3b0f9016830 8332 libpsl_0.23.1-1_amd64.buildinfo
Checksums-Sha256:
 01ededcdbfb98bef7dc7493caea6878dab046918cea611d2a7cc4d9e18385a21 2293 
libpsl_0.23.1-1.dsc
 19ded32eed36a58394dd158b1f27b41129dbf5e27deaf826c3ad92cf9d621e3f 2238012 
libpsl_0.23.1.orig.tar.xz
 ff7b59365c16839f159ea830e5b8d4727c700ee549018dabf03cc65e1f217f05 11420 
libpsl_0.23.1-1.debian.tar.xz
 ef871d0a671aedf3a8d261499c65212418a56e8ccf8a3b39aa059f283be18530 8332 
libpsl_0.23.1-1_amd64.buildinfo
Files:
 0ebc3f2dcebc2a0a27d7c163311d92f5 2293 libs optional libpsl_0.23.1-1.dsc
 eb1e9667eed6818e2ec11340eb4f9cbd 2238012 libs optional 
libpsl_0.23.1.orig.tar.xz
 adac018763e2be3f8319eb15ba88cd1d 11420 libs optional 
libpsl_0.23.1-1.debian.tar.xz
 94ada3dc33502e197179638e68f22c68 8332 libs optional 
libpsl_0.23.1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEBn03XtJwVyplJ26xBjdBuvXdHs4FAmpu1Y8ACgkQBjdBuvXd
Hs4Q6w/+O05ylcA5IbHJbUyZuODRQld3zkbYHo0k0dl2tgb69GHFTbhGqp64FgKS
TXT9uHii690ZuGb0c2Q1UIfGDxDdixO9dUAM/fCtMngXsgf6vzNeZVo7vqp5Pnva
sGytZEA8Y7dMXVNxs2P0dq0P31D3GeYuh46llIww+3zI6GwN8HzxanNnBhRIVN5V
ZSto/kl6jaoDS5RLkM+DcG9SgcVX+xTnegdVDqt4hez2bpgzWf8idogMml0AOhlf
/ipS3Osw74RT0VDimfn4P9Uo7SoVoe4Il1bGCT2mv3ORw1EM5Yb0hFLgcL4gIKP/
QtUrSBeEtebCbUGsKWVKYS75dYh6C+5SM53cptwq6tMUeM+ZIjEMqHAzKjPWu6rL
yCEHI5+LYShS8xZvwjiv+8po5zhFvi/tL8AOCZRZtkA/IyQYz5pdBomVmpCCMNa4
Zykv/7Ws4Ph3VCI160kucpCkmoV6L5RBR/9dG7yOO/QSfYL4Vlyh1aAXy05/2cG1
70kFVPXxzM9RIxs8j9pi4jPcP/6kRFpXhOUKnpuB5KRMBKiAdWRXVT4oI0DpKdnm
jtJxnrhL9TRKu/FlHZjsAmYYgKxWHHB0Qi43b5MCLhVCOtHX6Nfzc4FgoFj2HVH4
/nkbacDytqf0c6rzP162dPr5NEhKE3nFroSSkktBava/GLUcc/k=
=yxaD
-----END PGP SIGNATURE-----

Attachment: pgp5fNCVm5PZk.pgp
Description: PGP signature


--- End Message ---

Reply via email to