Source: jbbp
Version: 2.0.2-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because the pom.xml embeds the absolute build path.

Patch attached that removes this part of the file; it cannot relate
to anything at runtime (and I can't see how/where the runtime code
uses this path) so it feels safe to remove.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/03-drop-basedir.patch      1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/03-drop-basedir.patch      2020-12-07 10:42:16.102990199 
+0000
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2020-12-07
+
+--- jbbp-2.0.2.orig/pom.xml
++++ jbbp-2.0.2/pom.xml
+@@ -123,11 +123,6 @@
+         </profile>
+         <profile>
+             <id>bundle</id>
+-            <activation>
+-                <file>
+-                    <exists>${basedir}/src/assemble</exists>
+-                </file>
+-            </activation>
+             <build>
+                 <plugins>
+                     <plugin>
--- a/debian/patches/series     2020-12-07 10:38:49.463599264 +0000
--- b/debian/patches/series     2020-12-07 10:42:15.134974974 +0000
@@ -1,2 +1,3 @@
 01-updated.patch
 02-updated.patch
+03-drop-basedir.patch

Reply via email to