Debian Bug report logs - #1005954
jcabi-aspects: please make the build partly reproducible

version graph

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

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

Date: Fri, 18 Feb 2022 01:45:04 UTC

Severity: wishlist

Tags: patch

Found in version jcabi-aspects/0.22.6-1

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-bugs@lists.alioth.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#1005954; Package src:jcabi-aspects. (Fri, 18 Feb 2022 01:45:06 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>. (Fri, 18 Feb 2022 01:45:06 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: jcabi-aspects: please make the build partly reproducible
Date: Thu, 17 Feb 2022 17:43:25 -0800
[Message part 1 (text/plain, inline)]
Source: jcabi-aspects
Version: 0.22.6-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

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

This is because it embedded a builddef-jcabi-aspects.lst in the
generated .JAR file via the aspectj:compile plugin [1] defined in the
package's pom.xml file. This .lst file contained contents based on the
fileystem ordering.

Patch attached that strips this file from the .jar, but it may be
possible and simpler to drop this <plugin>...</plugin> from the
pom.xml entirely; I am just not sure it is used.

An alternative approach could be to patch this plugin to make it (or,
more likely whatever drives *its* input) to iterate over the sorted
order.

 [0] https://reproducible-builds.org/
 [1] https://www.mojohaus.org/aspectj-maven-plugin/compile-mojo.html#argumentFileName


Regards,

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

[jcabi-aspects.diff.txt (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:18:31 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.