Debian Bug report logs - #918533
gnucap-python: please make the build reproducible

version graph

Package: src:gnucap-python; Maintainer for src:gnucap-python is Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>;

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

Date: Mon, 7 Jan 2019 08:21:02 UTC

Severity: wishlist

Tags: patch

Found in version gnucap-python/0.0.2-1

Fixed in version gnucap-python/0.0.2-1.1

Done: Mattia Rizzolo <mattia@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, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Mon, 07 Jan 2019 08:21:05 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, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Mon, 07 Jan 2019 08:21:05 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: gnucap-python: please make the build reproducible
Date: Mon, 07 Jan 2019 09:19:33 +0100
[Message part 1 (text/plain, inline)]
Source: gnucap-python
Version: 0.0.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

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

This is because it uses:

  $ echo "\n"

… or similar which is not the same across dash/bash etc, resulting in
a diff of:

│ │ │ │ ├── NEWS
│ │ │ │ │ @@ -1,3 +1 @@
│ │ │ │ │ -0.0.0
│ │ │ │ │ -=====
│ │ │ │ │ -* initial release
│ │ │ │ │ +0.0.0\n=====\n* initial release

A patch is attached, although given that this NEWS entry is pretty
meaningless, it is unclear whether the best course of action would
be to simply remove its creation…

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


Regards,

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

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Sun, 20 Jan 2019 13:03:21 GMT) (full text, mbox, link).


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

From: Mattia Rizzolo <mattia@debian.org>
To: 918533@bugs.debian.org, 919255@bugs.debian.org
Subject: gnucap-python: diff for NMU version 0.0.2-1.1
Date: Sun, 20 Jan 2019 13:55:18 +0100
[Message part 1 (text/plain, inline)]
Control: tags 918533 + pending
Control: tags 919255 + patch
Control: tags 919255 + pending


Dear maintainer,

I've prepared an NMU for gnucap-python (versioned as 0.0.2-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
[gnucap-python-0.0.2-1.1-nmu.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Mattia Rizzolo <mattia@debian.org> to 918533-submit@bugs.debian.org. (Sun, 20 Jan 2019 13:03:22 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Sun, 20 Jan 2019 15:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Salfelder <felix@salfelder.org>:
Extra info received and forwarded to list. Copy sent to Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Sun, 20 Jan 2019 15:15:04 GMT) (full text, mbox, link).


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

From: Felix Salfelder <felix@salfelder.org>
To: Mattia Rizzolo <mattia@debian.org>, 918533@bugs.debian.org
Cc: 919255@bugs.debian.org
Subject: Re: [Pkg-electronics-devel] Bug#918533: gnucap-python: diff for NMU version 0.0.2-1.1
Date: Sun, 20 Jan 2019 15:44:55 +0100
On Sun, Jan 20, 2019 at 01:55:18PM +0100, Mattia Rizzolo wrote:
> I've prepared an NMU for gnucap-python (versioned as 0.0.2-1.1) and
> uploaded it to DELAYED/2. Please feel free to tell me if I
> should delay it longer.

Dear Mattia.

thanks for your commitment. I have prepared 0.0.2-2 in the
pkg-electronics team repo, looking for a sponsor. we are now discussing
issues with toolchains [2], ETA unknown. Please proceed as you wish.

regards
felix

[1] https://salsa.debian.org/electronics-team/Gnucap/gnucap-python.git
[2] https://alioth-lists.debian.net/pipermail/pkg-electronics-devel/2019-January/thread.html#5887



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Sun, 20 Jan 2019 15:39:16 GMT) (full text, mbox, link).


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

From: Mattia Rizzolo <mattia@debian.org>
To: Felix Salfelder <felix@salfelder.org>, 918533@bugs.debian.org, 919255@bugs.debian.org
Subject: Re: [Pkg-electronics-devel] Bug#918533: gnucap-python: diff for NMU version 0.0.2-1.1
Date: Sun, 20 Jan 2019 16:34:28 +0100
[Message part 1 (text/plain, inline)]
Hi,

On Sun, Jan 20, 2019 at 03:44:55PM +0100, Felix Salfelder wrote:
> thanks for your commitment. I have prepared 0.0.2-2 in the
> pkg-electronics team repo, looking for a sponsor. we are now discussing
> issues with toolchains [2], ETA unknown.

I see that the discussion there has moved on to something about C++
symbols I'm not so concerned about myself.

If it's only about sponsoring I'm happy to help, but I don't really want
to play with symbols at this time…

> Please proceed as you wish.

With this and onther package being the only last blockers for the
removal of python3.6 I'm somewhat pressured to continue, unless you can
give me a shorter ETA.  Also, I'm happy to rework my work.

On that note, looking at the git repository I see that:
  * you didn't do anything to d/rules, that still mention 3.6 and 3.7
  * you are build-depending on python3-dev, instead of python3-all-dev,
    is that wanted?  As I went for the letter in my NMU.

Please have a look at my diff and see if that's good in your opinion.

Also, while working on gnucap-python, I had the feeling that those
out2.7 and out3.6 directories were pre-built stuff that shouldn't be in
the source distribution.  If that's really the case, I suggest you ask
upstream to get rid of them for the next version.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Sun, 20 Jan 2019 16:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Salfelder <felix@salfelder.org>:
Extra info received and forwarded to list. Copy sent to Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Sun, 20 Jan 2019 16:06:02 GMT) (full text, mbox, link).


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

From: Felix Salfelder <felix@salfelder.org>
To: Mattia Rizzolo <mattia@debian.org>
Cc: 918533@bugs.debian.org, 919255@bugs.debian.org
Subject: Re: [Pkg-electronics-devel] Bug#918533: gnucap-python: diff for NMU version 0.0.2-1.1
Date: Sun, 20 Jan 2019 17:03:27 +0100
On Sun, Jan 20, 2019 at 04:34:28PM +0100, Mattia Rizzolo wrote:
> If it's only about sponsoring I'm happy to help, but I don't really want
> to play with symbols at this time…

my preferred solution will be to accept the dpkg-shlibdeps warnings, as
described in the manual. it will be more tricky to silence them.

> With this and onther package being the only last blockers for the
> removal of python3.6 I'm somewhat pressured to continue, unless you can
> give me a shorter ETA.  Also, I'm happy to rework my work.

I essetially agree with your changes. the ETA is subject to
review & sponsoring.

> On that note, looking at the git repository I see that:
>   * you didn't do anything to d/rules, that still mention 3.6 and 3.7

I used a symlink to make tests work across python versions. currently
the tests are not active, due to numerical noise. I had planned to clean
up d/rules after reworking the tests upstream, when re-enabling the
tests.

>   * you are build-depending on python3-dev, instead of python3-all-dev,
>     is that wanted?  As I went for the letter in my NMU.

looks reasonable. i simply did not know about it.

> Also, while working on gnucap-python, I had the feeling that those
> out2.7 and out3.6 directories were pre-built stuff that shouldn't be in

out* contains the expected output for testing, which varies across
python versions. it actually shouldn't, and it does not between 3.7 and
3.6. perhaps out2 and out3 will be sufficient. work in progress,
possibly ready in 0.0.3.

thanks
felix



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Sun, 20 Jan 2019 18:36:03 GMT) (full text, mbox, link).


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

From: Mattia Rizzolo <mattia@debian.org>
To: Felix Salfelder <felix@salfelder.org>, 918533@bugs.debian.org, 919255@bugs.debian.org
Subject: Re: [Pkg-electronics-devel] Bug#918533: gnucap-python: diff for NMU version 0.0.2-1.1
Date: Sun, 20 Jan 2019 19:33:44 +0100
[Message part 1 (text/plain, inline)]
On Sun, Jan 20, 2019 at 05:03:27PM +0100, Felix Salfelder wrote:
> On Sun, Jan 20, 2019 at 04:34:28PM +0100, Mattia Rizzolo wrote:
> > If it's only about sponsoring I'm happy to help, but I don't really want
> > to play with symbols at this time…
> 
> my preferred solution will be to accept the dpkg-shlibdeps warnings, as
> described in the manual. it will be more tricky to silence them.

I also usually just ignore those myself…

> > With this and onther package being the only last blockers for the
> > removal of python3.6 I'm somewhat pressured to continue, unless you can
> > give me a shorter ETA.  Also, I'm happy to rework my work.
> 
> I essetially agree with your changes. the ETA is subject to
> review & sponsoring.

Then if you don't mind I'd still keep my NMU as it is and let it enter
unstable.  The only thing is that you'd find yourself to integrate it
into your own tree.

> >   * you are build-depending on python3-dev, instead of python3-all-dev,
> >     is that wanted?  As I went for the letter in my NMU.
> 
> looks reasonable. i simply did not know about it.

python3-all-dev depends on all the supported python3 versions, which
means that until 2 months ago it would have pulled in both 3.6 and 3.7.
Instead, python3-dev only pulls in the default version.

> > Also, while working on gnucap-python, I had the feeling that those
> > out2.7 and out3.6 directories were pre-built stuff that shouldn't be in
> 
> out* contains the expected output for testing, which varies across
> python versions. it actually shouldn't, and it does not between 3.7 and
> 3.6. perhaps out2 and out3 will be sufficient. work in progress,
> possibly ready in 0.0.3.

Oh, then my change that is removing them is not right.  mhh well, since
the tests are disabled anyway I'll leave it there, but indeed it
requires some changes.  Sorry I didn't understand what that thing was.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Sun, 20 Jan 2019 19:06:04 GMT) (full text, mbox, link).


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

From: Mattia Rizzolo <mattia@debian.org>
To: Felix Salfelder <felix@salfelder.org>, 918533@bugs.debian.org, 919255@bugs.debian.org
Subject: Re: [Pkg-electronics-devel] Bug#918533: gnucap-python: diff for NMU version 0.0.2-1.1
Date: Sun, 20 Jan 2019 19:55:04 +0100
[Message part 1 (text/plain, inline)]
On Sun, Jan 20, 2019 at 07:36:57PM +0100, Felix Salfelder wrote:
> On Sun, Jan 20, 2019 at 07:33:44PM +0100, Mattia Rizzolo wrote:
> > Then if you don't mind I'd still keep my NMU as it is and let it enter
> > unstable.  The only thing is that you'd find yourself to integrate it
> > into your own tree.
> 
> no worries. will merge it.

ACK, so I rescheduled the NMU to go in now.

Thank you!


/me looks forward for his other NMU for libkolabxml to also go in…

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
[signature.asc (application/pgp-signature, inline)]

Reply sent to Mattia Rizzolo <mattia@debian.org>:
You have taken responsibility. (Sun, 20 Jan 2019 19:06:08 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Sun, 20 Jan 2019 19:06:08 GMT) (full text, mbox, link).


Message #34 received at 918533-close@bugs.debian.org (full text, mbox, reply):

From: Mattia Rizzolo <mattia@debian.org>
To: 918533-close@bugs.debian.org
Subject: Bug#918533: fixed in gnucap-python 0.0.2-1.1
Date: Sun, 20 Jan 2019 19:04:27 +0000
Source: gnucap-python
Source-Version: 0.0.2-1.1

We believe that the bug you reported is fixed in the latest version of
gnucap-python, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 918533@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@debian.org> (supplier of updated gnucap-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 20 Jan 2019 13:38:13 +0100
Source: gnucap-python
Binary: gnucap-python python-gnucap python3-gnucap
Architecture: source
Version: 0.0.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
 gnucap-python - GNU Circuit Analysis package, Python command plugin
 python-gnucap - Python 2 bindings for the GNU Circuit Analysis Package
 python3-gnucap - Python 3 bindings for the GNU Circuit Analysis Package
Closes: 918533 919255
Changes:
 gnucap-python (0.0.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Build-Depend on python3-all-dev instead of python3.6-dev and python3.7-dev;
     also stop mentioning those versions in d/rules.  Closes: #919255
   * Drop ancient XS-Python-Version.
   * Set Rules-Requires-Root:no.
   * Apply patch from Chris Lamb to make the build reproducible.  Closes: #918533
Checksums-Sha1:
 a1b2c48ca9c6c14739cbc83f88afe66ec0214bcb 2339 gnucap-python_0.0.2-1.1.dsc
 64435c53583e0dff16a53add1bec16bc334cf67c 8008 gnucap-python_0.0.2-1.1.debian.tar.xz
 c0757556e48da37576321a9752ae0847037ff643 8483 gnucap-python_0.0.2-1.1_amd64.buildinfo
Checksums-Sha256:
 bb302b0f8bc86b7d0ca56b24838ff723df68830df9c438f0fcdf22cc2ad76ee0 2339 gnucap-python_0.0.2-1.1.dsc
 41231454b22087a4f12c662182f8815470a71e48a6bfc71378fbf90408eab515 8008 gnucap-python_0.0.2-1.1.debian.tar.xz
 8f4ffeb5a80afda1f9f684207d3d68daadaa8ab33022121bd88878e498629b69 8483 gnucap-python_0.0.2-1.1_amd64.buildinfo
Files:
 6eea63f48ce859dde56544a0cbc103a1 2339 electronics optional gnucap-python_0.0.2-1.1.dsc
 c5807d0f64f13d88e00c0b32e7ac1dad 8008 electronics optional gnucap-python_0.0.2-1.1.debian.tar.xz
 d135367b1bb68dff19d2bce5f2c9aedf 8483 electronics optional gnucap-python_0.0.2-1.1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlxEb5sACgkQCBa54Yx2
K60nHg/9HFzQv3bk8iVGCRz2lXnG0opMrIzR00aikjNwzfD6Ur4zZiqX77dl15RD
l9AojiknKGwvaRGdKF7AIEwYrZjB6TV7CM3MWNchZZA79mHFA40G9UT0dKpvVw01
JX7O2fCuN2lBBi2zYxCsYoH/H4JxQ7kLLPUeIXVWtgVzJwjtIIK6b2G/lqEznwfN
sPmHzvnnyTtEa0LmJ1L/VMfaSXxKya3nF0mtSnDkpynI3jQbsZ6ECCcvX4yXGJL8
lWRjKCfdTGxE2ps6vFUl9dCrZhSiD7XLu4iBXfcX5sAZV7LazdsAenPf8MMFzhcA
bn+Aoj/pJcfwdLb7Df43fd/Ufazu5syfnU91gMWARkUcuP728B90IAA8SJKb+YQ3
ScvahA0eq16gulHfDAjqVrM6Q4dNaWyWq5cEXV9vCs8U/rag1MFG2hrU2r4e3Dgq
BoK+zAPoiLmxYy8yeWk596hdRKkaBEHaLrRZ8bboi/UXxRL44lpfYHKv09eQWA1Z
td+fN6ZypPfN7JQpU8X4EQo8GDaF+UYO/Tuq0Cwcz3zLk+wG2zdkU5wPXyPKJ0cE
DDXn7sdi3oXqtau7/mN0ntMfwOPv7yfbv9QQWaM6DF+I8GFliyRe9UKfkHJx7gzz
vTuD3zlFlJiw0ZQ95zcDxRMCUnj9EZ9aI4kTrJFzkZQ4H2LZYhk=
=8H70
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>:
Bug#918533; Package src:gnucap-python. (Sun, 20 Jan 2019 19:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Felix Salfelder <felix@salfelder.org>:
Extra info received and forwarded to list. Copy sent to Debian Electronics Team <pkg-electronics-devel@lists.alioth.debian.org>. (Sun, 20 Jan 2019 19:15:03 GMT) (full text, mbox, link).


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

From: Felix Salfelder <felix@salfelder.org>
To: Mattia Rizzolo <mattia@debian.org>
Cc: 918533@bugs.debian.org, 919255@bugs.debian.org
Subject: Re: [Pkg-electronics-devel] Bug#918533: gnucap-python: diff for NMU version 0.0.2-1.1
Date: Sun, 20 Jan 2019 19:36:57 +0100
On Sun, Jan 20, 2019 at 07:33:44PM +0100, Mattia Rizzolo wrote:
> Then if you don't mind I'd still keep my NMU as it is and let it enter
> unstable.  The only thing is that you'd find yourself to integrate it
> into your own tree.

no worries. will merge it.

thanks
felix



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 23 Feb 2019 07:27:19 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 12:22:58 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.