Debian Bug report logs -
#856257
tunnelx: please make the build reproducible
Reported by: Dhole <dhole@openmailbox.org>
Date: Mon, 27 Feb 2017 01:54:02 UTC
Severity: wishlist
Tags: patch
Found in version tunnelx/20160713-3
Fixed in version tunnelx/20160713-5
Done: Wookey <wookey@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Wookey <wookey@debian.org>:
Bug#856257; Package src:tunnelx.
(Mon, 27 Feb 2017 01:54:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Dhole <dhole@openmailbox.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Wookey <wookey@debian.org>.
(Mon, 27 Feb 2017 01:54:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: tunnelx
Version: 20160713-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
While working on the "reproducible builds" effort [1], we have noticed that
tunnelx could not be built reproducibly.
During the build, two files called 'listdir.txt' containing the list of files in
a directory are created. These files are created with:
`ls $x | LC_ALL=C sort > $x/listdir.txt`
I believe there is a data race between the creation of the listdir.txt file and
the listing of the directory $x$ by 'ls', causing the listdir.txt entry to
appear sometimes in the file and sometimes not.
The attached patch fixes this by using a temporary hidden '.listdir.txt' file
that is then renamed to 'listdirtxt'. Once applied, tunnelx can be built
reproducibly in our current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
[tunnelx.diff.txt (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Wookey <wookey@debian.org>:
You have taken responsibility.
(Sun, 29 Oct 2017 03:06:03 GMT) (full text, mbox, link).
Notification sent
to Dhole <dhole@openmailbox.org>:
Bug acknowledged by developer.
(Sun, 29 Oct 2017 03:06:04 GMT) (full text, mbox, link).
Message #10 received at 856257-close@bugs.debian.org (full text, mbox, reply):
Source: tunnelx
Source-Version: 20160713-5
We believe that the bug you reported is fixed in the latest version of
tunnelx, 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 856257@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Wookey <wookey@debian.org> (supplier of updated tunnelx 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 Oct 2017 02:28:35 +0000
Source: tunnelx
Binary: tunnelx
Architecture: source all
Version: 20160713-5
Distribution: unstable
Urgency: medium
Maintainer: Wookey <wookey@debian.org>
Changed-By: Wookey <wookey@debian.org>
Description:
tunnelx - Cave Survey drawing software
Closes: 856257
Changes:
tunnelx (20160713-5) unstable; urgency=medium
.
* Upload to unstable
* Fix race in listdir.txt generation (closes: #856257)
* Update to policy 4.1.1
Checksums-Sha1:
c4e8e11efed7300f94673747c7977e4d7824fb37 1881 tunnelx_20160713-5.dsc
c4f1cf15305b9e7e27a3aeae111d2f5dd2617a08 16508 tunnelx_20160713-5.debian.tar.xz
8274d65ca7a573a9f693046d75a30f8b8c8f4c0a 655252 tunnelx_20160713-5_all.deb
43c74331fe83b16138c602635598c52fd83e6522 10793 tunnelx_20160713-5_amd64.buildinfo
Checksums-Sha256:
e0e21313149bd54145c5ef7a6b009b60d9c6bf024ecbf39336ba9f4746552f65 1881 tunnelx_20160713-5.dsc
3351ed087d506810b4018867ffa7d813227668b660b4293becb3c971b83cb645 16508 tunnelx_20160713-5.debian.tar.xz
d04f3f455a5838a54ccc4de9c112f19fcd028913e16c055c030fe3dccce3bca0 655252 tunnelx_20160713-5_all.deb
15ae9005ac05e3f31606c5a0f18eb9448ac4f9650ca02ba88f8b2de088d5d410 10793 tunnelx_20160713-5_amd64.buildinfo
Files:
c71c35f982649128a008758121932564 1881 science optional tunnelx_20160713-5.dsc
0cc6ab760b510d740f5950aac2623d06 16508 science optional tunnelx_20160713-5.debian.tar.xz
0788d4acddc72dcd289a46ff437c25bc 655252 science optional tunnelx_20160713-5_all.deb
ae17d1698de1c968d385a97c27c4a720 10793 science optional tunnelx_20160713-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJZ9ULZAAoJEPuGMlGob55HhPAP/j0TNxAdUDOe37toaDwdidMv
E8g4mkqVN9OkhhhOphErd6kZvwcqMjfmpKx+GvasmIR6/WNQ5W9lzgL2a1qQIa+z
IhdNAmdpCSbLc2btll7+pkhxFQFfnRpUIk5Ji+6ajEHIEEidYxGXoxu3lhoTOr4T
cq4SkNifyg30/QFtAxcAOwchGCWjP3DMosJkZLxMPfDCE9GUbPXho/noJ8STeWzP
w2snqWvItcLaquTaeGfk4CCHwtZYSoFX32SXCTlWLkHrr86BgF7ujs3oU3Th44LI
KNafEe/3L3dWUaZb40AdPIfhZkAVScoRo/J+SiZeAiYKh3i7dWb5wtBMJZ7d/wd5
iGI1o1SogLRE/L58YU8+/t7LNu7t1ok6LFnwb0xKhv61g8rFttyqJP64U9z+ffG0
5EN9R9OEK57INTe99if6sod2ryI0LXppYnvq9rDdVOPNCu3TN/pQV9/hdN/wOwqI
OUhtcum5lEK/VsJ1tylhxcCwaZlieJi/iWGSXHtXRpoQZEkRmGyVp2a0dBW98NcL
uejxHrePVDogriET0Br4E8bL4LL+VJ8Uw9iY+Ex9ICrrA0udruyf0w9JDQIFHlyy
wt/cFSOz/4M+LV7ITHjm0boS04pAD9KRmYU3AV11rMLBP489kmrOoXXy7HNAXrRE
b4tNbp9raZRyd34pKEan
=gVg1
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 02 Dec 2017 07:28:01 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 14:04:02 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.