Bug#923364: FTBS: Can't build against bouncy-castle build with newer jdk

2019-03-13 Thread Markus Koschany
Control: severity -1 important

On Sat, 2 Mar 2019 15:38:51 +0100 Markus Koschany  wrote:
[...]
> Could you elaborate on why this is a bug in libitext-java and how this
> is connected to bouncycastle?

Unfortunately you haven't responded to my last email. I can't reproduce
this behavior in libitext-java but I will gladly apply any patch that
fixes RC issues if further information are provided.

Regards,

Markus




signature.asc
Description: OpenPGP digital signature


Bug#923364: FTBS: Can't build against bouncy-castle build with newer jdk

2019-03-02 Thread Markus Koschany
Control: tags -1 moreinfo

On Tue, 26 Feb 2019 23:07:43 +0100 Sjoerd Simons  wrote:
> Package: libitext-java
> Version: 2.1.7-12
> Severity: serious
> Tags: patch
> 
> Hey,
> 
> When rebuilding bouncy-castle the jar doesn't seem to have the same classpath

Hello, I guess you meant libitext-java?

> built-in as older builds did; specifically comparing a rebuild with an old
> debian build the MANIFEST.MF has the following diff (among other bits):
>   -Class-Path: bcprov.jar bcpkix.jar javax.mail.jar
>   +Class-Path: /usr/share/java/javax.mail.jar

I have just successfully rebuilt libitext-java and installed it. The
MANIFEST file of itext.jar looks normal to me:

Class-Path: /usr/share/java/bcprov.jar /usr/share/java/bcmail.jar /usr/s
 hare/java/bcpkix.jar

The classpath is defined in debian/libitext-java.classpath

Could you elaborate on why this is a bug in libitext-java and how this
is connected to bouncycastle?



signature.asc
Description: OpenPGP digital signature


Bug#923364: FTBS: Can't build against bouncy-castle build with newer jdk

2019-02-26 Thread Sjoerd Simons
Package: libitext-java
Version: 2.1.7-12
Severity: serious
Tags: patch

Hey,

When rebuilding bouncy-castle the jar doesn't seem to have the same classpath
built-in as older builds did; specifically comparing a rebuild with an old
debian build the MANIFEST.MF has the following diff (among other bits):
  -Class-Path: bcprov.jar bcpkix.jar javax.mail.jar
  +Class-Path: /usr/share/java/javax.mail.jar

This makes the build fail as it cannot find symbols provides by e.g.
bcpkix.jar. The attach patch fixes that.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'proposed-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libitext-java depends on:
ii  libbcmail-java  1.60-1
ii  libbcpkix-java  1.60-1
ii  libbcprov-java  1.60-1

libitext-java recommends no packages.

libitext-java suggests no packages.

-- no debconf information
diff -Nru libitext-java-2.1.7/debian/ant.properties 
libitext-java-2.1.7/debian/ant.properties
--- libitext-java-2.1.7/debian/ant.properties   2018-03-25 18:42:52.0 
+0200
+++ libitext-java-2.1.7/debian/ant.properties   2019-02-26 22:54:56.0 
+0100
@@ -5,8 +5,10 @@
 lib.bcmail=bcmail.jar
 lib.bcprov=bcprov.jar
 lib.bctsp=bctsp.jar
+lib.bcpkix=bcpkix.jar
 lib.dom4j=dom4j.jar
 lib.pdf-renderer=pdfrenderer.jar
+lib.javax.mail=javax.mail.jar
 
 itext.jar=../lib/iText.jar
 itext.rtf.jar=../lib/iText-rtf.jar
diff -Nru libitext-java-2.1.7/debian/patches/extend-classpath.patch. 
libitext-java-2.1.7/debian/patches/extend-classpath.patch.
--- libitext-java-2.1.7/debian/patches/extend-classpath.patch.  1970-01-01 
01:00:00.0 +0100
+++ libitext-java-2.1.7/debian/patches/extend-classpath.patch.  2019-02-26 
22:54:20.0 +0100
@@ -0,0 +1,11 @@
+--- a/ant/compile.xml
 b/ant/compile.xml
+@@ -16,6 +16,8 @@
+   
+   
+   
++  
++  
+   
+   
+   
diff -Nru libitext-java-2.1.7/debian/patches/series 
libitext-java-2.1.7/debian/patches/series
--- libitext-java-2.1.7/debian/patches/series   2018-03-25 18:42:52.0 
+0200
+++ libitext-java-2.1.7/debian/patches/series   2019-02-26 22:53:50.0 
+0100
@@ -3,3 +3,4 @@
 03_bouncycastle-1.51.patch
 04_tibco-changes.patch
 encoding.patch
+extend-classpath.patch.