🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2844

Bug#1137336: xpenguins: please make the build reproducible (timestamps)

#2844
From: Vagrant Cascadian
Date: Sat, 31 Oct 2026 22:20
81 lines
4692 bytes
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2026-05-22, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0], we noticed that
> xpenguins could not be built reproducibly.
>
> This is because the manual package is generated with the current date.
> I've attached a patch that seeds this date from SOURCE_DATE_EPOCH, if
> available.

I can confirm that this fix is still needed, and it is also demonstrated
for the loong64 build:

  https://reproduce.debian.net/excuses.html?source_name=3Dxpenguins
=20=20
  https://reproduce.debian.net/loong64/api/v1/builds/59894/artifacts/123119=
/diffoscope

=E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 ./usr/share/man/man1/xpengu=
ins.1.gz
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 xpenguins.1
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 @@ -1,8 +1,8 @@
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 -.TH XPenguins 1 "May 2026" "XPengu=
ins 3.2.4"
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 +.TH XPenguins 1 "September 2026" "=
XPenguins 3.2.4"
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82  .SH NAME
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82  xpenguins \- cute little penguins =
that walk along the tops of your windows
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82  .SH SYNOPSIS
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82  .B xpenguins
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82  [-option ...]
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82  .SH DESCRIPTION
=E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82  .IR XPenguins


I would like to perform an NMU fixing this in the coming weeks with the
following proposed patch:

diff --git a/Makefile.am b/Makefile.am
index 57749aa..54cbb37 100644
=2D-- a/Makefile.am
+++ b/Makefile.am
@@ -24,8 +24,10 @@ EXTRA_DIST =3D lay-out-frames.scm resize-frames.scm \

 man_MANS =3D xpenguins.1

+BUILD_DATE =3D $(shell date --utc --date=3D@$(or $(SOURCE_DATE_EPOCH),$(sh=
ell date +%s)) "+%F")
+
 xpenguins.1: xpenguins.1.tmpl
=2D       sed "s'SYSTEMTHEMES'$(datadir)/xpenguins/themes/*';s/VERSION/$(VE=
RSION)/;s/DATE/`date +'%B %Y'`/" < $< > $@
+       sed "s'SYSTEMTHEMES'$(datadir)/xpenguins/themes/*';s/VERSION/$(VERS=
ION)/;s/DATE/$(BUILD_DATE)/" < $< > $@

 tarfile =3D $(top_builddir)/xroachng-$(VERSION).tar.gz


I have adjusted the original proposed patch to use +%F to avoid locale
variations, which uses a YYYY-MM-DD format (e.g. 2026-10-31).

Are there any outstanding concerns?


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCauZpJAAKCRDcUY/If5cW
qlP0AP4og4rzHOxQNCEyonv3hdwKr7oW5LyKNXdEedAx+lpABAEAg3Rl4wJForei
x4RKUIjTUceQZfRYQx1fudQOfLWxRwE=
=nK8f
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <NUpAB-95i7-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <MXCtQ-75mx-21@gated-at.bofh.it> <MXCtQ-75mx-21@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Vagrant Cascadian <vagrant@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1137336: xpenguins: please make the build reproducible (timestamps)
Date: Sat, 31 Oct 2026 23:20:01 +0100
Message-ID: <NUpAB-95i7-7@gated-at.bofh.it>
References: <MXCtQ-75mx-21@gated-at.bofh.it> <MXCtQ-75mx-21@gated-at.bofh.it>
X-Original-To: Chris Lamb <lamby@debian.org>, 1137336@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 31 22:19:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Vagrant Cascadian <vagrant@debian.org>, 1137336@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-games-devel@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1137336
X-Debian-Pr-Package: src:xpenguins
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: xpenguins
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-User: vagrant
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000005
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 81
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 31 Oct 2026 15:18:12 -0700
X-Original-Message-ID: <87zevt5xaz.fsf@wireframe>
X-Original-References: <177946518250.21848.5377927759259787358@576698bec2ed> <177946518250.21848.5377927759259787358@576698bec2ed>