Debian Bug report logs - #956589
libctl: please make the build reproducible

version graph

Package: src:libctl; Maintainer for src:libctl is Thorsten Alteholz <debian@alteholz.de>;

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Mon, 13 Apr 2020 10:57:02 UTC

Severity: wishlist

Tags: patch

Found in version libctl/4.5.0-3

Done: "Chris Lamb" <lamby@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Thorsten Alteholz <debian@alteholz.de>:
Bug#956589; Package src:libctl. (Mon, 13 Apr 2020 10:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Thorsten Alteholz <debian@alteholz.de>. (Mon, 13 Apr 2020 10:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: libctl: please make the build reproducible
Date: Mon, 13 Apr 2020 11:55:29 +0100
[Message part 1 (text/plain, inline)]
Source: libctl
Version: 4.5.0-3
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
libctl could not be built reproducibly.

This is because it embeds the absolute build directory via a LOCALEDIR definition:

│ │ │ │ │ -  0x000a98c0 00000000 00000000 2f627569 6c642f31 ......../build/1
│ │ │ │ │ -  0x000a98d0 73742f67 7069636b 2d302e32 2e367e72 st/gpick-0.2.6~r
│ │ │ │ │ -  0x000a98e0 63312f64 65626961 6e2f6770 69636b2f c1/debian/gpick/
│ │ │ │ │ -  0x000a98f0 7573722f 73686172 652f6c6f 63616c65 usr/share/locale
│ │ │ │ │ -  0x000a9900 00000000 00000000 6661696c 65642074 ........failed t
│ │ │ │ │ +  0x000a98c0 00000000 00000000 2f627569 6c642f32 ......../build/2
│ │ │ │ │ +  0x000a98d0 2f677069 636b2d30 2e322e36 7e726331 /gpick-0.2.6~rc1
│ │ │ │ │ +  0x000a98e0 2f326e64 2f646562 69616e2f 67706963 /2nd/debian/gpic
│ │ │ │ │ +  0x000a98f0 6b2f7573 722f7368 6172652f 6c6f6361 k/usr/share/loca
│ │ │ │ │ +  0x000a9900 6c650000 00000000 6661696c 65642074 le......failed t

A patch is attached -- very much a proof of concept -- that hacks the
upstream SConscript file to obey the LOCALEDIR UNIX environment
variable; Scons seems to have it's own idea of what an environment is
which I don't immediately grok. (Maybe you can do it via the command-
line in debian/rules but I can't quite figure that out.)

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[libctl.diff.txt (text/plain, attachment)]

Reply sent to "Chris Lamb" <lamby@debian.org>:
You have taken responsibility. (Mon, 13 Apr 2020 11:03:15 GMT) (full text, mbox, link).


Notification sent to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Mon, 13 Apr 2020 11:03:15 GMT) (full text, mbox, link).


Message #10 received at 956589-done@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: 956589-done@bugs.debian.org
Subject: Re: libctl: please make the build reproducible
Date: Mon, 13 Apr 2020 12:00:01 +0100
Hi,

> libctl: please make the build reproducible

This should have been filed against an entirely different package. Closing.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 12 May 2020 07:33:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:53:50 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.