🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#6500
From: Vagrant Cascadian
Date: Sat, 28 Nov 2026 00:00
140 lines
6888 bytes
--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2026-10-31, Vagrant Cascadian wrote:
> 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=20
>   https://reproduce.debian.net/loong64/api/v1/builds/59894/artifacts/1231=
19/diffoscope
>
> =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 ./usr/share/man/man1/xpen=
guins.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" "XPen=
guins 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 penguin=
s 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:

I have uploaded an NMU to DELAYED/10, debdiff attached.

I have also created a merge request with the changes, including a signed
tag:

  https://salsa.debian.org/games-team/xpenguins/-/merge_requests/6


live well,
  vagrant

--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=xpenguins_3.2.4-2.1.debdiff.txt
Content-Transfer-Encoding: quoted-printable

diff -Nru xpenguins-3.2.4/debian/changelog xpenguins-3.2.4/debian/changelog
=2D-- xpenguins-3.2.4/debian/changelog	2026-05-06 15:55:22.000000000 -0700
+++ xpenguins-3.2.4/debian/changelog	2026-11-27 15:31:27.000000000 -0800
@@ -1,3 +1,11 @@
+xpenguins (3.2.4-2.1) unstable; urgency=3Dmedium
+
+  * Non-maintainer upload.
+  * debian/patches: Add patch for reproducible dates in man pages.
+    (Closes: #1137336)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Fri, 27 Nov 2026 =
15:31:27 -0800
+
 xpenguins (3.2.4-2) unstable; urgency=3Dmedium
=20
   * Team upload.
diff -Nru xpenguins-3.2.4/debian/patches/0001-Makefile.am-Seed-date-from-SO=
URCE_DATE_EPOCH-for-man.patch xpenguins-3.2.4/debian/patches/0001-Makefile.=
am-Seed-date-from-SOURCE_DATE_EPOCH-for-man.patch
=2D-- xpenguins-3.2.4/debian/patches/0001-Makefile.am-Seed-date-from-SOURCE=
_DATE_EPOCH-for-man.patch	1969-12-31 16:00:00.000000000 -0800
+++ xpenguins-3.2.4/debian/patches/0001-Makefile.am-Seed-date-from-SOURCE_D=
ATE_EPOCH-for-man.patch	2026-11-27 15:28:57.000000000 -0800
@@ -0,0 +1,30 @@
+From d688f4315a206cb7d5b3f05489b61880a65ae37c Mon Sep 17 00:00:00 2001
+From: Chris Lamb <lamby@debian.org>
+Date: Fri, 22 May 2026 11:08:20 -0700
+Subject: [PATCH] Makefile.am: Seed date from SOURCE_DATE_EPOCH for manpage
+ generation. (Closes: #1137336)
+
+Adjusted-by: Vagrant Cascadian <vagrant@reproducible-builds.org>
+---
+ Makefile.am | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 57749aa..54cbb37 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -24,8 +24,10 @@ EXTRA_DIST =3D lay-out-frames.scm resize-frames.scm \
+=20=09=20=20=20=20=20
+ man_MANS =3D xpenguins.1
+=20
++BUILD_DATE =3D $(shell date --utc --date=3D@$(or $(SOURCE_DATE_EPOCH),$(s=
hell date +%s)) "+%F")
++
+ xpenguins.1: xpenguins.1.tmpl
+-	sed "s'SYSTEMTHEMES'$(datadir)/xpenguins/themes/*';s/VERSION/$(VERSION)/=
;s/DATE/`date +'%B %Y'`/" < $< > $@
++	sed "s'SYSTEMTHEMES'$(datadir)/xpenguins/themes/*';s/VERSION/$(VERSION)/=
;s/DATE/$(BUILD_DATE)/" < $< > $@
+=20
+ tarfile =3D $(top_builddir)/xroachng-$(VERSION).tar.gz
+=20
+--=20
+2.47.3
+
diff -Nru xpenguins-3.2.4/debian/patches/series xpenguins-3.2.4/debian/patc=
hes/series
=2D-- xpenguins-3.2.4/debian/patches/series	1969-12-31 16:00:00.000000000 -=
0800
+++ xpenguins-3.2.4/debian/patches/series	2026-11-27 15:29:06.000000000 -08=
00
@@ -0,0 +1 @@
+0001-Makefile.am-Seed-date-from-SOURCE_DATE_EPOCH-for-man.patch

--=-=-=--

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

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

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCawoWwwAKCRDcUY/If5cW
qggwAP480SxXwRaZ6r1z6gyHwARsN5qi+SHf9WKC+VmxbaXOLQEAx3LgXf99YPhn
4GZVxtiz3qZSam62KvoWYyZd7h4hawo=
=9pN8
-----END PGP SIGNATURE-----
--==-=-=--
Technical Details
Message-ID: <O4e1b-ez90-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <MXCtQ-75mx-21@gated-at.bofh.it> <NUpAB-95i7-7@gated-at.bofh.it> <MXCtQ-75mx-21@gated-at.bofh.it> <NUpAB-95i7-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1137336: xpenguins: please make the build reproducible (timestamps)
Date: Sat, 28 Nov 2026 01:00:01 +0100
Message-ID: <O4e1b-ez90-3@gated-at.bofh.it>
References: <MXCtQ-75mx-21@gated-at.bofh.it> <NUpAB-95i7-7@gated-at.bofh.it> <MXCtQ-75mx-21@gated-at.bofh.it> <NUpAB-95i7-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov 27 23:51:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Vagrant Cascadian <vagrant@reproducible-builds.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-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005489
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 140
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 27 Nov 2026 15:48:18 -0800
X-Original-Message-ID: <87bj79hm4d.fsf@wireframe>
X-Original-References: <177946518250.21848.5377927759259787358@576698bec2ed> <87zevt5xaz.fsf@wireframe> <177946518250.21848.5377927759259787358@576698bec2ed> <87zevt5xaz.fsf@wireframe>