Package: liblwjgl-java-jni
Version: 2.9.3+dfsg-1
Severity: important

Hello,

I was trying to set up my debian for a vintage minecraft test play and I had to 
use not bundled
lwjgl library for it (unsupported architecture). After a quick setup the java 
failed with unsatisfied
link error because of missing symbols in native library. A look into 
liblwjgl.so and a compare with
the bundled version revealed a big differences in library size. The debian one 
is about 37kB and
the bundled one is over 300kB. Some of the missing symbols are: getJNIVersion, 
nLockAWT and many
openGL wrappers. The symbols/native methods calls are present in java classes.

The problem doesn't depend on system architecture (verified on 386, amd64 and 
mipsel) and exists
on actual stretch and sid (probably doesn't depend on this too).

I've tried to compile my local version, but the problem doesn't get resolved. I 
suppose the problem
is in original build system. I've tried to fix the problem with copying all .c 
and .h files into
a single directory at src/native/linux, which resulted in the working version 
of the library.

It seems the build system ignores the (sub)directories other than 
src/native/linux. I'm not familiar
with java development (and ant) nor patching in debian build system so I'm not 
able to make a fix.


Petr Cvek

-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: mipsel

Kernel: Linux 4.9.0-7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages liblwjgl-java-jni depends on:
ii  libc6        2.24-11+deb9u3
ii  libx11-6     2:1.6.4-3
ii  libxcursor1  1:1.1.14-1+deb9u1
ii  libxrandr2   2:1.5.1-1
ii  libxxf86vm1  1:1.1.4-1+b2

liblwjgl-java-jni recommends no packages.

liblwjgl-java-jni suggests no packages.

-- no debconf information

Reply via email to