[pkg-db-devel] Bug#669992: libdb5.3-java: arch-dependent files in, multiarch: same package

Niels Thykier niels at thykier.net
Mon Apr 30 14:39:51 UTC 2012


> On Sun, Apr 22, 2012 at 15:19, Julien Cristau wrote:
> > libdb5.3-java is marked as Multi-Arch: same, but contains files in
> > arch-independent paths with arch-specific contents:
> >
> > [libdb5.3-java 5.3.15-3]
> > usr/share/java/db-5.3.15.jar
>
> Hmm, I always thought that JAR files are arch-independent. If that's
> not the case,
> could you please point me to packaging instructions (or existing
>  package) how to pack multiarch java archives?
>
> O.
> --
> Ondřej Surý <ondrej at sury.org>

Hi,

Presumably, the issue is the "timestamp" of files packed in the jar file
(which will differ between architectures due to different build times).
  In rare cases upstreams actually do put different content/bytecode in
the JARs based on the architecture (SWT is a known example).

Assuming it is architecture independent, it may make sense to move the
JAR file to an architecture independent package (or move the SO files to
an architecture dependent package and make libdb5.3-java arch:all).

~Niels






More information about the pkg-db-devel mailing list