Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1048793

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

From "Chris Lamb" <lamby@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#983046: kjs: please make the opcodes.h file reproducible
Date 2021-02-18 16:10 +0100
Message-ID <BJT6i-wa-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: kjs
Version: 5.78.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@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@debian.org / chris-lamb.co.uk
       `-

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#983046: kjs: please make the opcodes.h file reproducible "Chris Lamb" <lamby@debian.org> - 2021-02-18 16:10 +0100
  Bug#983046: kjs: please make the opcodes.h file reproducible Norbert Preining <norbert@preining.info> - 2021-02-22 11:10 +0100
    Bug#983046: kjs: please make the opcodes.h file reproducible "Chris Lamb" <lamby@debian.org> - 2021-02-22 19:10 +0100

csiph-web