Source: comix
Version: 4.0.4-1
Severity: important
Tags: patch
Usertags: randomness


While working on the "reproducible builds" effort [0], we have noticed
that comix could not be built reproducibly as it ships pyc files
instead of using an install-time helper to compile them.

This is additonally against Policy 3.7 [1], hence the severity.

The attached patch removes these files from the build system, but there
is really no obvious reason not to switch to dh-python, etc. If there
is, please document it in debian/rules or debian/README.Source.

Once applied, comix can be built reproducibly in our reproducible



     : :'  :     Chris Lamb
     `. `'` /
--- a/debian/rules      2015-08-31 08:58:40.163251104 +0100
--- b/debian/rules      2015-08-31 09:01:08.957302416 +0100
@@ -31,6 +31,7 @@
        # Add here commands to install the package into debian/comix.
        mkdir -p $(CURDIR)/debian/comix/usr
        python install --dir $(CURDIR)/debian/comix/usr --no-mime
+       find $(CURDIR)/debian/comix/usr/share/comix -type f -name '*.pyc' 
        install mime/comicthumb $(CURDIR)/debian/comix/usr/bin/comicthumb
        install -d $(CURDIR)/debian/comix/usr/share/mime/packages
        install -m 644 mime/comix.xml 
Reproducible-builds mailing list

Reply via email to