[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956304: libcamera: please make the build reproducible



Source: libcamera
Version: 0~git20200116+30f9624-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
libcamera could not be built reproducibly.

This is because it includes a Python "doctree" file into the binary
which are not reproducible. You should have seen the "package-
contains-python-doctree-file" Lintian warning; if you did not, please
file a bug against Lintian.

A patch is attached that excludes the .doctrees/ directory.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules	2020-04-09 12:34:29.988680837 +0100
--- b/debian/rules	2020-04-09 15:30:11.740059129 +0100
@@ -6,6 +6,9 @@
 %:
 	dh $@
 
+override_dh_install:
+	dh_install -X/.doctrees/
+
 override_dh_auto_test:
 
 .PHONY: override_dh_auto_test

Reply to: