Bug#935846: musescore-snapshot: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Aug 26 21:01:36 BST 2019


Source: musescore-snapshot
Version: 3.2.s20190704+dfsg1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because it generated a zip file without normalising the
umask(2):

│ │ │ ├── ./usr/share/mscore-snapshot-3.2/workspaces/Advanced.workspace
│ │ │ │ ├── zipinfo /dev/stdin
│ │ │ │ │ @@ -1,4 +1,4 @@
│ │ │ │ │  Zip file size: 9607 bytes, number of entries: 2
│ │ │ │ │ --rw-r--r--  2.0 unx      134 bX defN 19-Jul-04 23:02 META-INF/container.xml
│ │ │ │ │ --rw-r--r--  2.0 unx   136628 bX defN 19-Jul-04 23:02 Advanced.xml
│ │ │ │ │ +-rw-rw-r--  2.0 unx      134 bX defN 19-Jul-04 23:02 META-INF/container.xml
│ │ │ │ │ +-rw-rw-r--  2.0 unx   136628 bX defN 19-Jul-04 23:02 Advanced.xml
│ │ │ │ │  2 files, 136762 bytes uncompressed, 9205 bytes compressed:  93.3%
│ │ │ ├── ./usr/share/mscore-snapshot-3.2/workspaces/Basic.workspace
│ │ │ │ ├── zipinfo /dev/stdin
│ │ │ │ │ @@ -1,4 +1,4 @@
│ │ │ │ │  Zip file size: 3477 bytes, number of entries: 2
│ │ │ │ │ --rw-r--r--  2.0 unx      131 bX defN 19-Jul-04 23:02 META-INF/container.xml
│ │ │ │ │ --rw-r--r--  2.0 unx    26328 bX defN 19-Jul-04 23:02 Basic.xml
│ │ │ │ │ +-rw-rw-r--  2.0 unx      131 bX defN 19-Jul-04 23:02 META-INF/container.xml
│ │ │ │ │ +-rw-rw-r--  2.0 unx    26328 bX defN 19-Jul-04 23:02 Basic.xml
│ │ │ │ │  2 files, 26459 bytes uncompressed, 3081 bytes compressed:  88.4%


Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: musescore-snapshot.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20190826/d4fc3ebe/attachment.txt>


More information about the Reproducible-bugs mailing list