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

Vagrant Cascadian vagrant at debian.org
Sat Oct 31 22:18:12 GMT 2026


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=xpenguins
  
  https://reproduce.debian.net/loong64/api/v1/builds/59894/artifacts/123119/diffoscope

│ │ ├── ./usr/share/man/man1/xpenguins.1.gz
│ │ │ ├── xpenguins.1
│ │ │ │ @@ -1,8 +1,8 @@
│ │ │ │ -.TH XPenguins 1 "May 2026" "XPenguins 3.2.4"
│ │ │ │ +.TH XPenguins 1 "September 2026" "XPenguins 3.2.4"
│ │ │ │  .SH NAME
│ │ │ │  xpenguins \- cute little penguins that walk along the tops of your windows
│ │ │ │  .SH SYNOPSIS
│ │ │ │  .B xpenguins
│ │ │ │  [-option ...]
│ │ │ │  .SH DESCRIPTION
│ │ │ │  .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
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,8 +24,10 @@ EXTRA_DIST = lay-out-frames.scm resize-frames.scm \

 man_MANS = xpenguins.1

+BUILD_DATE = $(shell date --utc --date=@$(or $(SOURCE_DATE_EPOCH),$(shell 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)/" < $< > $@

 tarfile = $(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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20261031/edfd006f/attachment.sig>


More information about the Pkg-games-devel mailing list