Your message dated Thu, 23 Nov 2017 13:04:47 +0000
with message-id <e1ehrbp-0002jg...@fasolo.debian.org>
and subject line Bug#862183: fixed in libjgroups-java 2.12.2.Final-5
has caused the Debian Bug report #862183,
regarding libjgroups-java: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
862183: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862183
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libjgroups-java
Version: 2.12.2.Final-4
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that libjgroups-java could not be built reproducibly due to it
outputing results by iterating over a non-deterministic data
structure.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/02_reproducible_build.patch        1970-01-01 
01:00:00.000000000 +0100
--- b/debian/patches/02_reproducible_build.patch        2017-05-09 
15:33:46.683278749 +0100
@@ -0,0 +1,39 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-05-09
+
+--- 
libjgroups-java-2.12.2.Final.orig/src/org/jgroups/util/XMLSchemaGenerator.java
++++ libjgroups-java-2.12.2.Final/src/org/jgroups/util/XMLSchemaGenerator.java
+@@ -7,8 +7,8 @@ import java.lang.reflect.Field;
+ import java.lang.reflect.Method;
+ import java.lang.reflect.Modifier;
+ import java.net.URL;
+-import java.util.HashSet;
+-import java.util.Set;
++import java.util.TreeSet;
++import java.util.SortedSet;
+ 
+ import javax.xml.parsers.DocumentBuilder;
+ import javax.xml.parsers.DocumentBuilderFactory;
+@@ -74,7 +74,7 @@ public class XMLSchemaGenerator {
+          allType.setAttribute("maxOccurs", "unbounded");
+          complexType.appendChild(allType);
+ 
+-         Set<Class<?>> classes = getClasses("org.jgroups.protocols", 
Protocol.class);
++         SortedSet<Class<?>> classes = getClasses("org.jgroups.protocols", 
Protocol.class);
+          for (Class<?> clazz : classes) {
+             classToXML(xmldoc, allType, clazz, "");
+          }
+@@ -99,10 +99,10 @@ public class XMLSchemaGenerator {
+       }
+    }
+ 
+-   private static Set<Class<?>> getClasses(String packageName, Class<?> 
assignableFrom)
++   private static SortedSet<Class<?>> getClasses(String packageName, Class<?> 
assignableFrom)
+             throws IOException, ClassNotFoundException {
+       ClassLoader loader = Thread.currentThread().getContextClassLoader();
+-      Set<Class<?>> classes = new HashSet<Class<?>>();
++      SortedSet<Class<?>> classes = new TreeSet<Class<?>>();
+       String path = packageName.replace('.', '/');
+       URL resource = loader.getResource(path);
+       if (resource != null) {
--- a/debian/patches/series     2017-05-09 14:57:00.438646581 +0100
--- b/debian/patches/series     2017-05-09 15:17:54.003369976 +0100
@@ -1 +1,2 @@
 01_disable_diagnostics.patch
+02_reproducible_build.patch

--- End Message ---
--- Begin Message ---
Source: libjgroups-java
Source-Version: 2.12.2.Final-5

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

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated libjgroups-java 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 23 Nov 2017 13:30:12 +0100
Source: libjgroups-java
Binary: libjgroups-java
Architecture: source
Version: 2.12.2.Final-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 libjgroups-java - Toolkit for Reliable Multicast Communication
Closes: 862183
Changes:
 libjgroups-java (2.12.2.Final-5) unstable; urgency=medium
 .
   * Applied Chris Lamb's patch to make the build reproducible (Closes: #862183)
   * Build with Maven instead of Ant
   * Removed the unused build dependency on glassfish-javaee
   * Moved the package to Git
   * Standards-Version updated to 4.1.1
   * Switch to debhelper level 10
Checksums-Sha1:
 f75e0e0a6e0899d42ec6c99ec1970f53e134e099 2392 
libjgroups-java_2.12.2.Final-5.dsc
 7dce8436ed5122ca0481427979ca45c8843651ce 5156 
libjgroups-java_2.12.2.Final-5.debian.tar.xz
 1b88b8ba9500458006fcf63d2f55495c1886379a 15263 
libjgroups-java_2.12.2.Final-5_source.buildinfo
Checksums-Sha256:
 f3d920ac4bbac2e9f06affd1da0601ae229323216c7887a4296be8e070b37c9b 2392 
libjgroups-java_2.12.2.Final-5.dsc
 510f9b232c77e701dd93758aac3589b464d8ed39add619fdb5a65c25afab9296 5156 
libjgroups-java_2.12.2.Final-5.debian.tar.xz
 8fc2a9d7caa88b76f66a9c8f2f06386b3f2ce99907627d5bff660eff7d7f11c7 15263 
libjgroups-java_2.12.2.Final-5_source.buildinfo
Files:
 16822bd0c4daab18dc749e0d7541b14b 2392 java optional 
libjgroups-java_2.12.2.Final-5.dsc
 e6585f6e880c9aa222f25d2c3466875c 5156 java optional 
libjgroups-java_2.12.2.Final-5.debian.tar.xz
 93800a1762506897bf38b4d51f59e105 15263 java optional 
libjgroups-java_2.12.2.Final-5_source.buildinfo

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

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAloWwQgSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsmmEP/A1Nq6JH3t2JIwYXAzSqQkPhJ+KXEsa7
3XRaLG0VwaVn4DNzM++N3FiCs+VN0kN1GM3p0FduQ8R5+AY3Oaor/IFXUty+zgDp
i2dwJH8V1CXqP1Q94IdWgHk7iTN6jiaxk4HF0QgVJQQxxccKyw82/aq3gOS2+mWp
PxrReKBqAU4hGfPCoOROhUiRduCVwaAcdwylKp6uMOaCS2yQ0/iqnsP6F+2z4BhW
YkIs7p2EBF7hFpCL3bHOF8vb2OpHxxfty8vM1t44J6cLt4u7EZEDGfpFNnLE3uY+
FH/9UPCtaGz3VPuW3xAkPvG48t7tMl5WrS+ECGjrpvuWuvFkf2Q+O99VtkrbccNX
S4bz6IHYMYX1ozTJj5VOEq0UsdjQZ8sF1Jf39lLdwgpeIzvrPk1Z1H0JU06FeaC2
HGjL2Gh/+Q44G5tA5M9YOrXWJCV85QjZAZSrYzaPuk4x+hKeCebkNyNQfNBdQj61
JcbmiTa05skxXzptaiOgQ5PqIeSppi2B/X2Noij+KvJ+ZDyU66CS2nvIan5LBF35
aQjX1JhL0y5MqI958PRPMOp0s0wUfnlxe3wFs5v8pvO+L37X56E+bCvb7i3Wq3o/
uBWUEFHzrEeVMaX8710rEsvCuGTzDullyMCQ2awCHDVog9UAT8iTBTNQmW9fpC44
CvtXzhMLMftG
=InRl
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to