Thread View: linux.debian.bugs.dist
2 messages
2 total messages
Started by Vagrant Cascadian
Sat, 31 Oct 2026 22:20
Bug#1137336: xpenguins: please make the build reproducible (timestamps)
Author: Vagrant Cascadian
Date: Sat, 31 Oct 2026 22:20
Date: Sat, 31 Oct 2026 22:20
81 lines
4692 bytes
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----- --=-=-=--
Bug#1137336: xpenguins: please make the build reproducible (timestamps)
Author: Vagrant Cascadian
Date: Sat, 28 Nov 2026 00:00
Date: Sat, 28 Nov 2026 00:00
140 lines
6888 bytes
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----- --==-=-=--
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