Debian Bug report logs - #803547
bbswitch: please make the build reproducible

version graph

Package: src:bbswitch; Maintainer for src:bbswitch is Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>;

Reported by: Reiner Herrmann <reiner@reiner-h.de>

Date: Sat, 31 Oct 2015 09:57:02 UTC

Severity: wishlist

Tags: patch

Found in version bbswitch/0.8-2

Fixed in version bbswitch/0.8-4

Done: Vincent Cheng <vcheng@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-builds@lists.alioth.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#803547; Package src:bbswitch. (Sat, 31 Oct 2015 09:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Reiner Herrmann <reiner@reiner-h.de>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Sat, 31 Oct 2015 09:57:06 GMT) (full text, mbox, link).


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

From: Reiner Herrmann <reiner@reiner-h.de>
To: submit@bugs.debian.org
Subject: bbswitch: please make the build reproducible
Date: Sat, 31 Oct 2015 10:56:06 +0100
[Message part 1 (text/plain, inline)]
Source: bbswitch
Version: 0.8-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that bbswitch could not be built reproducibly.
The permissions inside a tarball vary because of different umasks.

The attached patch tells tar to normalize the permissions.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

[bbswitch.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#803547; Package src:bbswitch. (Sun, 01 Nov 2015 13:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Boccassi <luca.boccassi@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Sun, 01 Nov 2015 13:39:03 GMT) (full text, mbox, link).


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

From: Luca Boccassi <luca.boccassi@gmail.com>
To: Reiner Herrmann <reiner@reiner-h.de>, 803547@bugs.debian.org
Subject: Re: Bug#803547: bbswitch: please make the build reproducible
Date: Sun, 01 Nov 2015 13:34:31 +0000
[Message part 1 (text/plain, inline)]
On Sat, 2015-10-31 at 10:56 +0100, Reiner Herrmann wrote:
> Hi!
> 
> While working on the "reproducible builds" effort [1], we have noticed
> that bbswitch could not be built reproducibly.
> The permissions inside a tarball vary because of different umasks.
> 
> The attached patch tells tar to normalize the permissions.

Hello Reiner,

Thanks for the patch!

Andreas,

I have tested and verified that bbswitch-source via module-assistant
(and -dkms too to be safe) work fine on my optimus laptop, and pushed to
git.

Could you please do a new upload once you are happy with the diff and
have time? Thanks!

Kind regards,
Luca Boccassi
[signature.asc (application/pgp-signature, inline)]

Reply sent to Luca Boccassi <luca.boccassi@gmail.com>:
You have taken responsibility. (Sun, 01 Nov 2015 16:36:09 GMT) (full text, mbox, link).


Notification sent to Reiner Herrmann <reiner@reiner-h.de>:
Bug acknowledged by developer. (Sun, 01 Nov 2015 16:36:09 GMT) (full text, mbox, link).


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

From: Luca Boccassi <luca.boccassi@gmail.com>
To: 803547-close@bugs.debian.org
Subject: Bug#803547: fixed in bbswitch 0.8-3
Date: Sun, 01 Nov 2015 16:34:31 +0000
Source: bbswitch
Source-Version: 0.8-3

We believe that the bug you reported is fixed in the latest version of
bbswitch, 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 803547@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Boccassi <luca.boccassi@gmail.com> (supplier of updated bbswitch 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: SHA256

Format: 1.8
Date: Sun, 01 Nov 2015 17:22:03 +0100
Source: bbswitch
Binary: bbswitch-dkms bbswitch-source
Architecture: source
Version: 0.8-3
Distribution: unstable
Urgency: medium
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Changed-By: Luca Boccassi <luca.boccassi@gmail.com>
Description:
 bbswitch-dkms - Interface for toggling the power on NVIDIA Optimus video cards
 bbswitch-source - Interface for toggling the power on NVIDIA Optimus video cards
Closes: 803547
Changes:
 bbswitch (0.8-3) unstable; urgency=medium
 .
   * Add myself to Uploaders.
   * Fix tarball permissions variance due to umask. Makes bbswitch build
     reproducibly. Thanks Reiner Herrmann for the patch. (Closes: #803547)
Checksums-Sha1:
 5ef856e479b4e0f274731d49f62ad5357c55151d 2092 bbswitch_0.8-3.dsc
 9fac2572695b7059e6e683bec4b753fb6dad93cf 3296 bbswitch_0.8-3.debian.tar.xz
Checksums-Sha256:
 fd2f531dcedad484856c419d42a7bf6457830a01c3b5579ba0e8e06ebb41bdf9 2092 bbswitch_0.8-3.dsc
 b20c793f4ff4e2383519c96e1f0a96f983b1798d64ca75fb8124428eaab69fc3 3296 bbswitch_0.8-3.debian.tar.xz
Files:
 d0b68df5233075b6f65de61624fd635b 2092 kernel extra bbswitch_0.8-3.dsc
 3a6009bc51083db8957a8f24f5e607e4 3296 kernel extra bbswitch_0.8-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWNj3KAAoJEF+zP5NZ6e0IxSkP/jS2jdsUekEQkjO4jo27jxUv
bqfmKWAg53B9xobSU319wPHd62roQL0cOb2RiLPjKWYblkIrQ0yS4kNSiTapYIvD
iKOpLEpZ/LeYAYgCh8jUudZvcax1gTBbBU0lx4FKZUf9ZpmyVI4N1fmbZTXpYKD8
NFfx11jVe8iji5kejbWl82RpJzpRZDI2DbIwj0aymJntOCacde/z5Jv02qeelCAu
ittsMtzC8kXSXh5HjkqE9pEXoj/msTZM1Q6mXq6jzh1u9Ek+R9xHV2xLegxtQLyX
bRbOf8JqMNzY7+hocqXxG8q0iviPgOusvbVkMYRxcWbnz1JW7Js7dPFqAFGgB1AB
s7M2RmmJjVXebuXG7iFW824INqVP3YGo0SIMIKbwbkN7jioNyuGWU3pnK7pS0/q1
XGYW972vTbp5Ancby2kIuV6XsGxjHpNaPrmIXaKwwqI8hEuRLDFKluhTjdLqpxzs
qu+MVYm7raJGw1fK/nvcufmKQfcAKyDQkyrIbHJiLyE9KupVwuLUV8VvFIXyC6mv
y4sLhP2Dxtljzr5yaOGRBT4wWn+WnJgYhv6x1xOxp1ihayJzJbdk9d5Tb02xMFh5
WGHwYOEwGwz0M1+Wtd9Ve5F5k2NxOcgXjrDW1mojLviqwgIz/MpjoiDiL6t3L6LF
kclur0CnwXthk8kqXudP
=E94s
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 05 Dec 2015 07:32:01 GMT) (full text, mbox, link).


Bug unarchived. Request was from Reiner Herrmann <reiner@reiner-h.de> to control@bugs.debian.org. (Fri, 27 May 2016 17:33:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#803547; Package src:bbswitch. (Fri, 27 May 2016 17:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Reiner Herrmann <reiner@reiner-h.de>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Fri, 27 May 2016 17:39:04 GMT) (full text, mbox, link).


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

From: Reiner Herrmann <reiner@reiner-h.de>
To: 803547@bugs.debian.org
Subject: Re: Bug#803547: bbswitch: please make the build reproducible
Date: Fri, 27 May 2016 19:36:28 +0200
[Message part 1 (text/plain, inline)]
Control: reopen -1
Control: notfixed -1 0.8-3

Hi,

unfortunately we noticed that there is still an reproducibility issue
left.  The order of files inside the tar archive are varying.
Attached is a patch which fixes the remaining issue.

Kind regards,
  Reiner
[bbswitch.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Bug reopened Request was from Reiner Herrmann <reiner@reiner-h.de> to 803547-submit@bugs.debian.org. (Fri, 27 May 2016 17:39:04 GMT) (full text, mbox, link).


No longer marked as fixed in versions bbswitch/0.8-3. Request was from Reiner Herrmann <reiner@reiner-h.de> to 803547-submit@bugs.debian.org. (Fri, 27 May 2016 17:39:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#803547; Package src:bbswitch. (Sun, 29 May 2016 12:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Boccassi <luca.boccassi@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Sun, 29 May 2016 12:30:04 GMT) (full text, mbox, link).


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

From: Luca Boccassi <luca.boccassi@gmail.com>
To: Reiner Herrmann <reiner@reiner-h.de>, 803547@bugs.debian.org
Subject: Re: Bug#803547: bbswitch: please make the build reproducible
Date: Sun, 29 May 2016 13:27:38 +0100
[Message part 1 (text/plain, inline)]
Control: -1 tags pending

On Sat, 2015-10-31 at 10:56 +0100, Reiner Herrmann wrote:
> Source: bbswitch
> Version: 0.8-2
> Severity: wishlist
> Tags: patch
> User: reproducible-builds@lists.alioth.debian.org
> Usertags: umask
> X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
> 
> Hi!
> 
> While working on the "reproducible builds" effort [1], we have noticed
> that bbswitch could not be built reproducibly.
> The permissions inside a tarball vary because of different umasks.
> 
> The attached patch tells tar to normalize the permissions.
> 
> Regards,
>  Reiner
> 
> [1]: https://wiki.debian.org/ReproducibleBuilds

Hello Reiner,

Thanks for the patch, Vincent has applied it to Git so it will be in the
next upload.

I had noticed that the CI was reporting this problem for i386/armhf, but
hadn't got around to look into it yet.

Andreas, Vincent,

There is movement again upstream but I don't think there will be a new
release soon, and I don't think we have anything pending ourselves, so
IMHO we can upload this already.

I'm happy to take care of it, if one of you whitelists my key for the
package. Thanks!

Kind regards,
Luca Boccassi
[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Luca Boccassi <luca.boccassi@gmail.com> to control@bugs.debian.org. (Sun, 29 May 2016 13:12:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#803547; Package src:bbswitch. (Mon, 30 May 2016 05:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Cheng <vcheng@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Mon, 30 May 2016 05:51:03 GMT) (full text, mbox, link).


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

From: Vincent Cheng <vcheng@debian.org>
To: Luca Boccassi <luca.boccassi@gmail.com>
Cc: Reiner Herrmann <reiner@reiner-h.de>, 803547@bugs.debian.org
Subject: Re: Bug#803547: bbswitch: please make the build reproducible
Date: Sun, 29 May 2016 22:47:21 -0700
Hi Luca,

On Sun, May 29, 2016 at 5:27 AM, Luca Boccassi <luca.boccassi@gmail.com> wrote:
> Control: -1 tags pending
>
> On Sat, 2015-10-31 at 10:56 +0100, Reiner Herrmann wrote:
>> Source: bbswitch
>> Version: 0.8-2
>> Severity: wishlist
>> Tags: patch
>> User: reproducible-builds@lists.alioth.debian.org
>> Usertags: umask
>> X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
>>
>> Hi!
>>
>> While working on the "reproducible builds" effort [1], we have noticed
>> that bbswitch could not be built reproducibly.
>> The permissions inside a tarball vary because of different umasks.
>>
>> The attached patch tells tar to normalize the permissions.
>>
>> Regards,
>>  Reiner
>>
>> [1]: https://wiki.debian.org/ReproducibleBuilds
>
> Hello Reiner,
>
> Thanks for the patch, Vincent has applied it to Git so it will be in the
> next upload.
>
> I had noticed that the CI was reporting this problem for i386/armhf, but
> hadn't got around to look into it yet.
>
> Andreas, Vincent,
>
> There is movement again upstream but I don't think there will be a new
> release soon, and I don't think we have anything pending ourselves, so
> IMHO we can upload this already.

Ok, I've gone ahead and uploaded bbswitch a few minutes ago.

> I'm happy to take care of it, if one of you whitelists my key for the
> package. Thanks!

Of course. :)

Regards,
Vincent



Reply sent to Vincent Cheng <vcheng@debian.org>:
You have taken responsibility. (Mon, 30 May 2016 06:21:07 GMT) (full text, mbox, link).


Notification sent to Reiner Herrmann <reiner@reiner-h.de>:
Bug acknowledged by developer. (Mon, 30 May 2016 06:21:07 GMT) (full text, mbox, link).


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

From: Vincent Cheng <vcheng@debian.org>
To: 803547-close@bugs.debian.org
Subject: Bug#803547: fixed in bbswitch 0.8-4
Date: Mon, 30 May 2016 06:18:49 +0000
Source: bbswitch
Source-Version: 0.8-4

We believe that the bug you reported is fixed in the latest version of
bbswitch, 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 803547@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Cheng <vcheng@debian.org> (supplier of updated bbswitch 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: SHA256

Format: 1.8
Date: Sun, 29 May 2016 22:41:26 -0700
Source: bbswitch
Binary: bbswitch-dkms bbswitch-source
Architecture: source
Version: 0.8-4
Distribution: unstable
Urgency: medium
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Changed-By: Vincent Cheng <vcheng@debian.org>
Description:
 bbswitch-dkms - Interface for toggling the power on NVIDIA Optimus video cards
 bbswitch-source - Interface for toggling the power on NVIDIA Optimus video cards
Closes: 803547
Changes:
 bbswitch (0.8-4) unstable; urgency=medium
 .
   [ Vincent Cheng ]
   * Make build reproducible by fixing order of files inside tar archive.
     (Closes: #803547)
 .
   [ Andreas Beckmann ]
   * Update Standards version to 3.9.8, no changes required.
   * Update Vcs-* URLs.
Checksums-Sha1:
 9be82c3411876f2f8b6cca5699a98ad5fe7efae3 2109 bbswitch_0.8-4.dsc
 a4d399fb6e6bc337e265e3ccbed8f344fd188a42 3428 bbswitch_0.8-4.debian.tar.xz
Checksums-Sha256:
 3eec75f8c0b1759d8b8b5892a9e65a940669e6d06f7e2a3868b68e644a3f1da4 2109 bbswitch_0.8-4.dsc
 f4b287ec65a401e0cbdefb03e0e640f0914db68ef0ce20053503d2b2153474dc 3428 bbswitch_0.8-4.debian.tar.xz
Files:
 6b6d55f4cc85642b653b0889d9665972 2109 kernel extra bbswitch_0.8-4.dsc
 3c73586e8845463c2e9fea9b78cf37cf 3428 kernel extra bbswitch_0.8-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXS9PWAAoJEI7tzBuqHzL/haoP/29sOAhUxDKHOWosEiPvSgxY
MABOJ2rqDQt40OMrCZc7Uxgzo2qJU2SzIBGrt6lfWk3TnzyG2b11cKIk6B6EbOtm
5lVjx2O+7K6URiunSr7g8iJi9n6oZb6WoH2LT05USX3Gi4YX35TUrWypLDLu63kD
VvctpbiJYsS7Q9WYCh2lYe+jJNthyHAyC+xfHCuWpF4SlaqmgM9fWSy+tU2Vpmym
GwbFOHV78ah+uHxUiLBVaN6dE11EMbqbL/v8moKgh8HVL0k/9/gFE99S6fz+FDPw
s53o0KUpasaT9JNdjEjZcci+yirsgl+d8cAO20lIxebNE9bwwQ5kKu3dJjLhfE5D
ByCZOeyn+ek3ly9dB/Z/WwkhQHEZTi5MXUZaj7o4VBvsO4uGvS0ft/QTs3p31dKr
jDkAjct35vUtFK8KrFnXODSxhYnZrK6xfdwo37UPXovbbTvQDfBQe8Qho88zi9y4
YXprn6f/HKj3GYO/2ku7pios3Z0PAXT9xmG/+V+1iJPBLEn4t1x67pJ9QtQRr1KO
OgtCBLJ83cRvSI8nnt61Hklol+uK1WTvGaRt93pFwPNI9h4B16ZUyD0CRXZg4n5y
LzvuY4D5GttrzjOKaxX/IjGh9I8k6FUKZc8zEzLA1DHtOtyQrJZPxQDB9ST6Ol+C
Zng9HfKbB3loiaDJMQiY
=nkHv
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>:
Bug#803547; Package src:bbswitch. (Mon, 30 May 2016 14:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Luca Boccassi <luca.boccassi@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>. (Mon, 30 May 2016 14:45:03 GMT) (full text, mbox, link).


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

From: Luca Boccassi <luca.boccassi@gmail.com>
To: Vincent Cheng <vcheng@debian.org>
Cc: Reiner Herrmann <reiner@reiner-h.de>, 803547@bugs.debian.org
Subject: Re: Bug#803547: bbswitch: please make the build reproducible
Date: Mon, 30 May 2016 15:42:59 +0100
[Message part 1 (text/plain, inline)]
On Sun, 2016-05-29 at 22:47 -0700, Vincent Cheng wrote:
> Hi Luca,
> 
> On Sun, May 29, 2016 at 5:27 AM, Luca Boccassi <luca.boccassi@gmail.com> wrote:
> > Control: -1 tags pending
> >
> > On Sat, 2015-10-31 at 10:56 +0100, Reiner Herrmann wrote:
> >> Source: bbswitch
> >> Version: 0.8-2
> >> Severity: wishlist
> >> Tags: patch
> >> User: reproducible-builds@lists.alioth.debian.org
> >> Usertags: umask
> >> X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
> >>
> >> Hi!
> >>
> >> While working on the "reproducible builds" effort [1], we have noticed
> >> that bbswitch could not be built reproducibly.
> >> The permissions inside a tarball vary because of different umasks.
> >>
> >> The attached patch tells tar to normalize the permissions.
> >>
> >> Regards,
> >>  Reiner
> >>
> >> [1]: https://wiki.debian.org/ReproducibleBuilds
> >
> > Hello Reiner,
> >
> > Thanks for the patch, Vincent has applied it to Git so it will be in the
> > next upload.
> >
> > I had noticed that the CI was reporting this problem for i386/armhf, but
> > hadn't got around to look into it yet.
> >
> > Andreas, Vincent,
> >
> > There is movement again upstream but I don't think there will be a new
> > release soon, and I don't think we have anything pending ourselves, so
> > IMHO we can upload this already.
> 
> Ok, I've gone ahead and uploaded bbswitch a few minutes ago.
> 
> > I'm happy to take care of it, if one of you whitelists my key for the
> > package. Thanks!
> 
> Of course. :)

Thank you!

Kind regards,
Luca Boccassi
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 02 Jul 2016 07:31:49 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 13:57:34 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.