Bug#1121863: libopenoffice-oodoc-perl: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Dec 3 20:00:23 GMT 2025


Source: libopenoffice-oodoc-perl
Version: 2.125-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
libopenoffice-oodoc-perl could not be built reproducibly.

This is because the call to remove config.xml was in the wrong
debian/rules target. Whilst it was in override_dh_auto_test, this target
is not called if the tests are skipped... meaning that if the tests
are *not* run, then the package contains this file. :)

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-03 11:43:43.535374636 -0800
--- b/debian/rules	2025-12-03 11:59:46.410618867 -0800
@@ -9,9 +9,8 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --encoding 'utf8'
 
-override_dh_auto_test:
+execute_after_dh_auto_build:
 	rm -f blib/lib/OpenOffice/OODoc/config.xml
-	dh_auto_test
 
 override_dh_auto_install:
 	dh_auto_install


More information about the pkg-perl-maintainers mailing list