Debian Bug report logs - #951573
javatools: please make the build reproducible

version graph

Package: src:javatools; Maintainer for src:javatools is Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>;

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

Date: Tue, 18 Feb 2020 10:00:02 UTC

Owned by: tmancill@debian.org

Severity: wishlist

Tags: patch

Found in version javatools/0.72.10

Fixed in versions javatools/0.76, javatools/0.77

Done: tony mancill <tmancill@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 Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#951573; Package src:javatools. (Tue, 18 Feb 2020 10:00: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, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 18 Feb 2020 10:00: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: javatools: please make the build reproducible
Date: Tue, 18 Feb 2020 09:56:56 +0000
[Message part 1 (text/plain, inline)]
Source: javatools
Version: 0.72.10
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
jssc could not be built reproducibly. I eventually tracked this down
and I think this is very similar to a similar, older issue detailed
here:

  https://bugs.debian.org/926542
  
... as somehow debhelper itself was parsing this strangely and ending
up printing warnings such as:

   -s/--same-arch is deprecated; please use -a/--arch instead

If I applied the following patch to src:jssc then the build became
reproducible:

-	jh_build -o "-source 1.6 -target 1.6 -encoding UTF-8" --javadoc-opts="-source 1.6 -encoding UTF-8"
+	jh_build --javacopts "-source 1.6 -target 1.6 -encoding UTF-8" --javadoc-opts="-source 1.6 -encoding UTF-8"

… but that seems a bit silly.

Patch for javastools attached that removes the "-o" option, but this
might not be the best idea (ie. one should likely deprecate it first,
such as how the -N short arg was also deprecated (see the top of the
jh_build file).

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


Regards,

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


[javatools.diff.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#951573; Package src:javatools. (Thu, 03 Sep 2020 23:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Thu, 03 Sep 2020 23:03:05 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 951573@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#951573: javatools: please make the build reproducible
Date: Thu, 03 Sep 2020 22:58:04 -0000
Dear Maintainer,

> Source: javatools
> Version: 0.75
> Tags: patch

There hasn't seem to be any update on this bug in 198 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 Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#951573; Package src:javatools. (Fri, 04 Sep 2020 04:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to tony mancill <tmancill@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Fri, 04 Sep 2020 04:45:03 GMT) (full text, mbox, link).


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

From: tony mancill <tmancill@debian.org>
To: Chris Lamb <lamby@debian.org>, 951573@bugs.debian.org
Cc: reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#951573: javatools: please make the build reproducible
Date: Thu, 3 Sep 2020 21:43:20 -0700
Hi Chris,

On Thu, Sep 03, 2020 at 10:58:04PM -0000, Chris Lamb wrote:
> Dear Maintainer,
> 
> > Source: javatools
> > Version: 0.75
> > Tags: patch
> 
> There hasn't seem to be any update on this bug in 198 days, in which
> time the Reproducible Builds effort has come on a long way.
> 
> Would you consider applying this patch and uploading?

Thank you both for your patience and for the patch.  Despite the long
list of build r-deps, I don't see very many of them that use `-o` and so
I am leaning towards applying the patch and then running ratt to find
and fix whatever breaks.

I will try to do that this weekend.

Thanks,
tony



Owner recorded as tmancill@debian.org. Request was from tony mancill <tmancill@debian.org> to control@bugs.debian.org. (Fri, 04 Sep 2020 04:45:06 GMT) (full text, mbox, link).


Message sent on to "Chris Lamb" <lamby@debian.org>:
Bug#951573. (Sun, 06 Sep 2020 22:51:08 GMT) (full text, mbox, link).


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

From: Tony Mancill <noreply@salsa.debian.org>
To: 951573-submitter@bugs.debian.org
Subject: Bug#951573 marked as pending in javatools
Date: Sun, 06 Sep 2020 22:50:03 +0000
Control: tag -1 pending

Hello,

Bug #951573 in javatools reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/javatools/-/commit/174ad5eb28f9c13f980f472bd0fc2fdb10723ad5

------------------------------------------------------------------------
Remove short -o option for --javacopts from jh_build (Closes: #951573)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/951573



Added tag(s) pending. Request was from Tony Mancill <noreply@salsa.debian.org> to 951573-submitter@bugs.debian.org. (Sun, 06 Sep 2020 22:51:08 GMT) (full text, mbox, link).


Reply sent to tony mancill <tmancill@debian.org>:
You have taken responsibility. (Sun, 06 Sep 2020 23:06:06 GMT) (full text, mbox, link).


Notification sent to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Sun, 06 Sep 2020 23:06:06 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 951573-close@bugs.debian.org
Subject: Bug#951573: fixed in javatools 0.76
Date: Sun, 06 Sep 2020 23:03:42 +0000
Source: javatools
Source-Version: 0.76
Done: tony mancill <tmancill@debian.org>

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

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated javatools 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, 06 Sep 2020 10:57:45 -0700
Source: javatools
Architecture: source
Version: 0.76
Distribution: experimental
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 935244 935849 951573
Changes:
 javatools (0.76) experimental; urgency=medium
 .
   * Uploading to experimental because options have been removed
   * Remove short -o option for --javacopts from jh_build (Closes: #951573)
   * Remove short -o option for --javaopts from jh_manifest
   * Fix jh_depends "-j headless" having no effect (Closes: #935244)
   * Update dh_link example in tutorial (Closes: #935849)
   * Use debhelper-compat 13
   * Add myself to Uploaders
   * Note: merging master into experimental introduced whitespace changes
Checksums-Sha1:
 e33e881ade93b776d8db2ab1dabdcb1f4bc911be 1932 javatools_0.76.dsc
 439b05ddbab1f469d093ca8f10780bf2ca4c5512 54560 javatools_0.76.tar.xz
 89cf1ca4d98541216e66e32c40b810ec4400e9ef 9929 javatools_0.76_amd64.buildinfo
Checksums-Sha256:
 944b60d19cebf75b5de1cf96072e397f78b7777cdebda8971a3d0e54b32526cc 1932 javatools_0.76.dsc
 7cc4abc50c1470cb714c87b6b88f7fb132d957cf9244cf012269188c8dbee526 54560 javatools_0.76.tar.xz
 cff2365ee785b7dcdda0e96517eb970f4ededa5396a08512c616c13afb8318fb 9929 javatools_0.76_amd64.buildinfo
Files:
 62cd3c5e6d06126750714396bca218f1 1932 java optional javatools_0.76.dsc
 9e22b54220cc5142346176f746216183 54560 java optional javatools_0.76.tar.xz
 cdecf6a9ab4e2c7b229aa327631bf6b5 9929 java optional javatools_0.76_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAl9VZ4EUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZGtg/9GGAKIHsvYGNJuCO1d6GNDoCiVMGj
7wBHPB47WDW9Nak1Ium3/7YxOAoJ4RI1pq0A330F5rbIWyu5L8PDXcR35cN8DK36
ajSbeJsCIvsZIvbE01MPN3W7K82EjtlJQ3HfZ+EkMqfdHxhXLL3BieTcR4khRpth
khFVKDWsFe/wcIJ3duxdNhXGbBTrvM+oB00szRaIKp/PlpJZ2qoR4bXqP5OvbOOh
jyOsv860QED0X2oZ8T+4jsJPNwQ+b6VZ5pRYYllOJY70IA+08otWxZSiwJpvGHO8
JexUPiXnFlXEfQvU/odvhn063QZQjwLIQNqca50cTgdzA5u3JFR56KeivFK2gjhK
Yu+HWrw1FGM20RDFRRThQ35DhnuAAX/FX5GwFQFMVhvRd1kBeDyx7X6kBmNVPbQh
3oXMfPXdaNFlogPs4FMEPTyaQX82WUBWXSOozTuduAxEeMYChU0hJpusOBxcJ37q
2IRPxgXuj1653XDABlq4jmIDV4z3It0VvfYPY2ytF7rUOICnTwPlOVvG3G4o5LY5
Y3m6nsoqY/4594+N1wTIzlSLkXL9Oghj/xxdnZFhIoDSXxpv9Yxf+2ADa5IeuGde
jYhAMMVLfb5+fI7bgrPLgqzGl0aeFh0qQKF7KHRPAOqns1Sw9g27Pw6FenVYHNk4
kV1e8r//EM80n9M=
=gw5G
-----END PGP SIGNATURE-----




Reply sent to tony mancill <tmancill@debian.org>:
You have taken responsibility. (Tue, 08 Sep 2020 04:51:07 GMT) (full text, mbox, link).


Notification sent to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Tue, 08 Sep 2020 04:51:07 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 951573-close@bugs.debian.org
Subject: Bug#951573: fixed in javatools 0.77
Date: Tue, 08 Sep 2020 04:48:22 +0000
Source: javatools
Source-Version: 0.77
Done: tony mancill <tmancill@debian.org>

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

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated javatools 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: Mon, 07 Sep 2020 21:17:47 -0700
Source: javatools
Architecture: source
Version: 0.77
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 935244 935849 951573
Changes:
 javatools (0.77) unstable; urgency=medium
 .
   * More consistent indentation jh_depends
   * Uploading to unstable after rebuilding all build r-deps.
 .
 javatools (0.76) experimental; urgency=medium
 .
   * Uploading to experimental because options have been removed
   * Remove short -o option for --javacopts from jh_build (Closes: #951573)
   * Remove short -o option for --javaopts from jh_manifest
   * Fix jh_depends "-j headless" having no effect (Closes: #935244)
   * Update dh_link example in tutorial (Closes: #935849)
   * Use debhelper-compat 13
   * Add myself to Uploaders
   * Note: merging master into experimental introduced whitespace changes
Checksums-Sha1:
 3a41b149a165a61d0ad1a57d3e5b3679221d7406 1932 javatools_0.77.dsc
 ac9bec2a1e5932c9b48d5c7a7736df0cb9921f3d 54556 javatools_0.77.tar.xz
 5b6bafa84cac6e88fd620e35ba125cd625980725 9822 javatools_0.77_amd64.buildinfo
Checksums-Sha256:
 f6eb658b3e78e000e1ec01d8150d75f210b04e36b170b782a2bbe48454ed79a3 1932 javatools_0.77.dsc
 d32f2683466be05f307b01a512f0097816d5a40a51090f873fd3f7f977258a04 54556 javatools_0.77.tar.xz
 5f9671238cbe0a8c49efa0d137b9dbfcbf34cccab9c316f8ed0ce188f85b560d 9822 javatools_0.77_amd64.buildinfo
Files:
 8315301c026fcd028b2d61fa02d58c20 1932 java optional javatools_0.77.dsc
 28e87d60edb287f224e238d5d5fa559d 54556 java optional javatools_0.77.tar.xz
 bba98628ce5240141dc96e851d88c971 9822 java optional javatools_0.77_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAl9XCOQUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpaHkA/8CJ1euOcuhNHuiWskc0/L69f7R8fp
l2MExwSbWqAqDbuqs2TtqiOgEGDQyUE2yVM7XN5qkK6YQyHEavqsW1+eav5Ah2Gh
rhFSb/LqGxVEXE3Eexo+ufJh0vcKVs89Gz4/W+MnWYWRBG3zvMSMQWNz0AOrz1uY
We9D9WAQFpD6z3IomBaNBJvT5cm5MmTuvOzV41nRCoqjTY1HtXZwNj9jao47eelp
HLdEkGlHPnK57L+fOZiKVlfg0bvkYQMafRQ6arBJfAkvUgktmQmgHx74ICVEMpkw
rq5a02Qxzs6uCGsydyS6Q6uQd/kOdfwB+z04GM6p7xuWFn3LJQ2aXtDSq8RkoLqm
9YuS0DLknMB9To6jHcmRks0HOhyFdL48RTD+EOS3YxVleRhqrcgG6nOifP5OWut1
8yznGPB8D/MF2qSO/WJUDr/iVG/PxiOkhCEOcE7Hc1VbhR79v0aLDkhiJp5jOmRI
5epp+19X7BZdquXi81tMap9CMjns50g09bcL58pev/o+JUoEuhfYjMkjnLCKPoOV
u9jb/uP90GqwkHokXp1mmSF4VGKg9AKrBK6TlfgmPN6a+6VlcTcgU1JTkEfMoe2I
gq5mU0cHFr6mgIDRg87l9EKWWGpbcLOQ8Z7PtaylihVRtNxA32CsPXw7BY5PM2Zt
e+4U6OPMybSNtOI=
=LGCj
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 06 Oct 2020 07:28:50 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:16:39 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.