Debian Bug report logs - #838713
python-xlib: please make the build reproducible

version graph

Package: src:python-xlib; Maintainer for src:python-xlib is Debian Python Team <team+python@tracker.debian.org>;

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

Date: Fri, 23 Sep 2016 20:57:02 UTC

Severity: wishlist

Tags: patch

Found in version python-xlib/0.14+20091101-5

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#838713; Package src:python-xlib. (Fri, 23 Sep 2016 20: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-builds@lists.alioth.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Fri, 23 Sep 2016 20: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: python-xlib: please make the build reproducible
Date: Fri, 23 Sep 2016 21:52:34 +0100
[Message part 1 (text/plain, inline)]
Source: python-xlib
Version: 0.14+20091101-5
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that python-xlib could not be built reproducibly.

Patch attached.

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


Regards,

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

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#838713; Package src:python-xlib. (Mon, 07 Nov 2016 10:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Mon, 07 Nov 2016 10:51:08 GMT) (full text, mbox, link).


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

From: Chris Lamb <lamby@debian.org>
To: 838713@bugs.debian.org
Subject: Re: Bug#838713: python-xlib: please make the build reproducible
Date: Mon, 07 Nov 2016 10:49:46 +0000
Dear Maintainer,

> Source: python-xlib
> Version: 0.14+20091101-5
> Tags: patch

There hasn't seem to be any update on this bug in 44 days, in which
time the Reproducible Builds effort has come on a long way. :)

Would you consider applying this patch and uploading?


Regards,

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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#838713; Package src:python-xlib. (Mon, 09 Jan 2017 11:15:33 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Mon, 09 Jan 2017 11:15:34 GMT) (full text, mbox, link).


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

From: Chris Lamb <lamby@debian.org>
To: 838713@bugs.debian.org
Subject: Re: Bug#838713: python-xlib: please make the build reproducible
Date: Mon, 09 Jan 2017 11:10:38 +0000
Dear Maintainer,

> Source: python-xlib
> Version: 0.14+20091101-1
> Tags: patch

Alas, there hasn't seem to be any further update to this bug in 63 days.
Would you consider applying this patch and uploading prior to the upcoming
release? :)


Best wishes,

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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#838713; Package src:python-xlib. (Mon, 27 Nov 2017 01:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Jeremy Bicha <jbicha@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Mon, 27 Nov 2017 01:03:06 GMT) (full text, mbox, link).


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

From: Jeremy Bicha <jbicha@debian.org>
To: 838713@bugs.debian.org, Andrew Shadura <andrewsh@debian.org>, Chris Lamb <lamby@debian.org>
Subject: Re: Bug#838713: python-xlib: please make the build reproducible
Date: Sun, 26 Nov 2017 20:00:28 -0500
Chris, there is a good chance that the person doing uploads never saw
your proposed patch because he isn't listed in the Maintainer field
and therefore doesn't automatically receive bug mail.

Andrew, I encourage you to consider subscribing to this package at
https://tracker.debian.org/pkg/python-xlib

For reference, here's the bug and patch:
https://bugs.debian.org/838713

Thanks,
Jeremy Bicha



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#838713; Package src:python-xlib. (Mon, 27 Nov 2017 15:42:07 GMT) (full text, mbox, link).


Acknowledgement sent to Andrew Shadura <andrewsh@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Mon, 27 Nov 2017 15:42:07 GMT) (full text, mbox, link).


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

From: Andrew Shadura <andrewsh@debian.org>
To: Jeremy Bicha <jbicha@debian.org>
Cc: 838713@bugs.debian.org, Chris Lamb <lamby@debian.org>
Subject: Re: Bug#838713: python-xlib: please make the build reproducible
Date: Mon, 27 Nov 2017 15:37:38 +0000
Hi,

On 27 November 2017 at 01:00, Jeremy Bicha <jbicha@debian.org> wrote:
> Chris, there is a good chance that the person doing uploads never saw
> your proposed patch because he isn't listed in the Maintainer field
> and therefore doesn't automatically receive bug mail.
>
> Andrew, I encourage you to consider subscribing to this package at
> https://tracker.debian.org/pkg/python-xlib
>
> For reference, here's the bug and patch:
> https://bugs.debian.org/838713

I have updated the package to not use texi2html at all, but I cannot
figure out whether the patch Chris proposed is needed or not, as
makeinfo lacks the option used in the patch, and I'm not sure it does
the right thing without any options at all.

-- 
Cheers,
  Andrew



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#838713; Package src:python-xlib. (Sat, 12 Sep 2020 22:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sat, 12 Sep 2020 22:57:02 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 838713@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#838713: python-xlib: please make the build reproducible
Date: Sat, 12 Sep 2020 22:53:02 -0000
Chris Lamb wrote:

> [..]

Gentle ping on this?


Regards,

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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#838713; Package src:python-xlib. (Sat, 19 Sep 2020 02:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Emmanuel Arias <emmanuelarias30@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sat, 19 Sep 2020 02:57:03 GMT) (full text, mbox, link).


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

From: Emmanuel Arias <emmanuelarias30@gmail.com>
To: 838713@bugs.debian.org
Subject: python-xlib: please make the build reproducible
Date: Fri, 18 Sep 2020 23:54:55 -0300
[Message part 1 (text/plain, inline)]
Hi,

After reviewing the package, moreinfo is usted instead of
texi2html. IMHO the patch proposed is no longer need,
and reprotest don't fail anymore.

The package need a human maintainer, please consider add you
as uploaders. If there isn't interest in it, I can add myself :)


Cheers,
Arias Emmanuel
@eamanu
http://eamanu.com
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, jay@jp-hosting.net, andrewsh@debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#838713; Package src:python-xlib. (Sun, 25 Sep 2022 16:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to James Addison <jay@jp-hosting.net>:
Extra info received and forwarded to list. Copy sent to jay@jp-hosting.net, andrewsh@debian.org, Debian Python Team <team+python@tracker.debian.org>. (Sun, 25 Sep 2022 16:27:03 GMT) (full text, mbox, link).


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

From: James Addison <jay@jp-hosting.net>
To: Debian Bug Tracking System <838713@bugs.debian.org>
Subject: Re: python-xlib: please make the build reproducible
Date: Sun, 25 Sep 2022 17:24:33 +0100
Source: python-xlib
Followup-For: Bug #838713
X-Debbugs-Cc: jay@jp-hosting.net, andrewsh@debian.org

Hello,

I agree with Emmanuel that the problem has been solved (for *most* releases of
Debian) by the existing patch[1] that replaces texi2html with makeinfo in the
python-xlib HTML documentation build.

The only release where python-xlib does *not* seem to build reproducibly is in
the *stretch* release (oldoldstable - now beyond LTS).

On 2020-02-13, diffoscope detected[2] differences between side-by-side builds
of version 0.14+20091101-5 of the package in stretch.

I think that those differences appeared because the python-xlib 0.14+20091101-5
package predates *both* the switch to use makeinfo, and also the texi2html
patch[3] that removes embedded usernames from the "generated by ..." footer
output in the documents generated by texi2html (the cause of the variance).

Although I don't know whether there is ongoing desire/need to improve build
reproducibility for stretch packages, it looks like that could be achieved in
this case by either backporting the makeinfo patch, *or* by a version update of
texi2html in stretch from 1.82+dfsg1-5 (which includes the embedded usernames)
to 1.82+dfsg1-6 (in which the embedded usernames are removed).

Note 1: the makeinfo approach relies on a SOURCE_DATE_EPOCH support patch[4]
that fixed Debian bug #826158... and that is available in Debian stretch (it is
included in the texinfo 6.3.0.dfsg.1-1 package, available in that release).

Note 2: Support for SOURCE_DATE_EPOCH in makeinfo was also added[5] upstream
and is included in version 6.5.0 of texinfo.

Regards,
James

[1] - https://salsa.debian.org/python-team/packages/python-xlib/-/commit/8ed87d9cccba52aea8b473d610802cd7e1f9df90

[2] - https://tests.reproducible-builds.org/debian/rb-pkg/stretch/amd64/diffoscope-results/python-xlib.html

[3] - https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=961764;filename=texi2html.debdiff.diff;msg=10

[4] - https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=826158;filename=reproducible-info-output;msg=5

[5] - http://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=08a0f0c9efa657a461a654b73b840bfdacbbd5aa



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:54:08 2023; Machine Name: buxtehude

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.