Bug#955009: font-manager: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Mar 26 17:36:05 GMT 2020


Source: font-manager
Version: 0.7.3-1.1
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
font-manager could not be built reproducibly.

This is because it embeds @abs_top_srcdir@ [1] into the final executable
when attempting (presumably at runtime?) to load GConf settings:

│ │ │ │ │    0x00549710 4e6f2073 6368656d 61207769 74682069 No schema with i
│ │ │ │ │    0x00549720 64202573 20696e20 64656661 756c7420 d %s in default 
│ │ │ │ │ -  0x00549730 736f7572 63650000 2f627569 6c642f31 source../build/1
│ │ │ │ │ -  0x00549740 73742f66 6f6e742d 6d616e61 6765722d st/font-manager-
│ │ │ │ │ -  0x00549750 302e372e 372f6f62 6a2d7838 365f3634 0.7.7/obj-x86_64
│ │ │ │ │ -  0x00549760 2d6c696e 75782d67 6e752f64 61746100 -linux-gnu/data.
│ │ │ │ │ +  0x00549730 736f7572 63650000 2f627569 6c642f32 source../build/2
│ │ │ │ │ +  0x00549740 2f666f6e 742d6d61 6e616765 722d302e /font-manager-0.
│ │ │ │ │ +  0x00549750 372e372f 326e642f 6f626a2d 7838365f 7.7/2nd/obj-x86_
│ │ │ │ │ +  0x00549760 36342d6c 696e7578 2d676e75 2f646174 64-linux-gnu/dat
│ │ │ │ │ +  0x00549770 61000000 00000000 536b6970 70696e67 a.......Skipping

As this is not going to work at runtime, I have attached a patch that
removes the reference to @abs_top_srcdir at . I am assuming this will
have no effect on build-time tests so you may wish to check this.

 [0] https://reproducible-builds.org/
 [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Preset-Output-Variables.html


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducible-build.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200326/a87dde9d/attachment.bin>


More information about the Reproducible-bugs mailing list