Hi, Debian-Java,

I've never posted to this list before.   Probably I should also report
this is as a bug, but first I wanted to ask a few questions.

Question #1:
---
When a package moves from Unstable to Testing, does it get rebuilt
(from scratch) in Testing?   Do packages ever get rebuilt from scratch
for a target distribution?


I suspect they don't, hence this bug (described below):
---
In Wheezy the jar file (as currently built)
"/usr/share/java/itext.jar" contains a dependency on
"org.bouncycastle.asn1.ASN1ObjectIdentifier" in
"/usr/share/java/bcprov.jar", but that class doesn't appear until
newer versions of bcprov.jar compared to the one in Wheezy.   This is
due to bcprov.jar evolving in a non-reverse-compatible way from a
runtime point of view, but it is reverse-compatible from a
compile-time point of view.

Specifically, bcprov-1.44 contains several static final constants like
this one, and itext.jar references some of them:

org.bouncycastle.asn1.x509.X509Extensions.AuthorityInfoAccess (type is
DERObjectIdentifier).

bcprov-1.46 contains the same static final constants, but their types
have changed to the new ASN1ObjectIdentifier class not present in
bcprov-1.44.



To fix the bug I suspect you have two choices:

1.)  Either rebuild itext.jar from scratch in Wheezy.  No code changes
are necessary.   But recompiling in Testing will then cause the
package to break in Unstable!

2.)  Migrate the newer Bouncy-Castle into Wheezy.



Question #2:
---
Why doesn't the libitext-java package make its runtime dependency on
libbcprov-java explicit in the package meta-data?



P.S./Off-Topic....   Any idea where this is at?   "RFS:
not-yet-commons-ssl".
http://lists.debian.org/debian-mentors/2012/01/msg00640.html   Just
curious, since I'm upstream for that one, and happened to notice the
RFS.   :-) :-) :-)



-- 
yours,

Julius Davies
604-222-3310 (Home)

$ sudo apt-get install cowsay
$ echo "Moo." | cowsay | cowsay -n | cowsay -n
http://juliusdavies.ca/cowsay/


-- 
To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cannf_p1_8sde-hphb3wrr0qew_6z8sp5bbydxkochhg7gst...@mail.gmail.com

Reply via email to