Bug#956588: libctl: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Apr 13 11:50:57 BST 2020


Source: libctl
Version: 4.5.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the shipped example file reference the absolute build
path:

│ │ │ ├── ./usr/share/doc/libctl-dev/examples/example.scm
│ │ │ │ @@ -10,15 +10,15 @@
│ │ │ │  
│ │ │ │  (define-class material-type no-parent
│ │ │ │    (define-property epsilon no-default 'number positive?)
│ │ │ │    (define-property conductivity 0.0 'number))
│ │ │ │  
│ │ │ │  ; use the solid geometry classes, variables, etcetera in libgeom:
│ │ │ │  ; (one specifications file can include another specifications file)
│ │ │ │ -(include "/build/1st/libctl-4.5.0/./utils/geom.scm")
│ │ │ │ +(include "/build/2/libctl-4.5.0/2nd/./utils/geom.scm")

Patch attached. Note that we have to adjust this file quite late in
the build process as the path needs to exist during tests.

 [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: libctl.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200413/2ae08886/attachment.txt>


More information about the Reproducible-bugs mailing list