Bug#995259: python-pybedtools: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Sep 28 16:54:40 BST 2021


Source: python-pybedtools
Version: 0.8.0-5
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because it includes output inherited from non-deterministic
filesystem ordering:

/usr/lib/python3/dist-packages/pybedtools/cbedtools.cpp:

│ │ │ │ @@ -16,17 +16,17 @@
│ │ │ │              "z"
│ │ │ │          ],
│ │ │ │          "name": "pybedtools.cbedtools",
│ │ │ │          "sources": [
│ │ │ │              "pybedtools/cbedtools.pyx",
│ │ │ │ -            "pybedtools/include/fileType.cpp",
│ │ │ │              "pybedtools/include/bedFile.cpp",
│ │ │ │ -            "pybedtools/include/gzstream.cpp"
│ │ │ │ +            "pybedtools/include/gzstream.cpp",
│ │ │ │ +            "pybedtools/include/fileType.cpp"
│ │ │ │          ]
│ │ │ │      },
│ │ │ │      "module_name": "pybedtools.cbedtools"
│ │ │ │  }

Patch attached that sorts these entries in setup.py.

 [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: python-pybedtools.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210928/e9c8f5ce/attachment.txt>


More information about the Reproducible-bugs mailing list