Package: c-munipack-share
Version: 2.1.39-2
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: fileordering

Hi Thorsten,

c-munipack-share currently fails to build reproducible:

https://reproduce.debian.net/all/#c-munipack-share

A patch to fix this is attached. Can you please upload a new revision?

Thanks!

Jochen
diff --git a/debian/patches/0002-Sort-files-to-make-build-reproducible.patch 
b/debian/patches/0002-Sort-files-to-make-build-reproducible.patch
new file mode 100644
index 0000000..4472998
--- /dev/null
+++ b/debian/patches/0002-Sort-files-to-make-build-reproducible.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <[email protected]>
+Date: Tue, 9 Jun 2026 10:36:08 +0200
+Subject: Sort files to make build reproducible
+
+---
+ doc/src/ext/html2.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/doc/src/ext/html2.py b/doc/src/ext/html2.py
+index 8823149..3a39a49 100644
+--- a/doc/src/ext/html2.py
++++ b/doc/src/ext/html2.py
+@@ -109,6 +109,7 @@ class HTMLExtBuilder(StandaloneHTMLBuilder):
+             f.write("dochtmldir = 
$(datadir)/C-Munipack-2.0/doc/manual/en/html\n")
+             f.write("nobase_dochtml_DATA = ")
+             for (path, dirs, files) in os.walk(basedir):
++                files.sort()
+                 if path == basedir:
+                     for name in files:
+                         if name[0] != '.' and name.find("Makefile")!=0:
diff --git a/debian/patches/series b/debian/patches/series
index 5dea5c9..d68a141 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0002-lib-doc-manpages-make_manpages.py-Use-consistent-tim.patch
+0002-Sort-files-to-make-build-reproducible.patch

Reply via email to