Bug#983046: kjs: please make the opcodes.h file reproducible

Chris Lamb lamby at debian.org
Thu Feb 18 14:56:45 GMT 2021


Source: kjs
Version: 5.78.0-2
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
kjs could not be built reproducibly.

This is, in part, because it generates an opcodes.h file that embeds the
full path to its original filename which naturally varies on the original
build directory.

Patch attached that applies the equivalent of basename(3) to these values;
kjs doesn't use boost so I cannot use boost::filesystem, nor does it use
c++17 (?) so I cannot use std::filesystem::path either, alas.

 [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: kjs.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210218/d7fe3033/attachment.txt>


More information about the Reproducible-bugs mailing list