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

2012-05-09 Thread Julien Cristau
On Mon, Apr 23, 2012 at 08:08:43 +0200, Ondřej Surý wrote:

 On Sun, Apr 22, 2012 at 15:19, Julien Cristau jcris...@debian.org 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

JAR files are zip archives, so I'm guessing they may or may not be
arch-independent depending on their content.

 not the case,
 could you please point me to packaging instructions (or existing package) how 
 to
 pack multiarch java archives?
 
I know nothing about java, sorry.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#669992: libdb5.3-java: arch-dependent files in, multiarch: same package

2012-04-30 Thread Niels Thykier
 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ý ond...@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




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2012-04-23 Thread Ondřej Surý
On Sun, Apr 22, 2012 at 15:19, Julien Cristau jcris...@debian.org 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ý ond...@sury.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669992: libdb5.3-java: arch-dependent files in multiarch: same package

2012-04-22 Thread Julien Cristau
Package: libdb5.3-java
Version: 5.3.15-3
Severity: important
User: multiarch-de...@lists.alioth.debian.org
Usertags: multiarch

Hi,

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

Cheers,
Julien


signature.asc
Description: Digital signature