Bug#912631: liblwjgl-java-jni: Missing symbols in liblwjgl.so, stretch-sid, 386, amd64, mips

Markus Koschany apo at debian.org
Fri Dec 28 22:12:17 GMT 2018


Control: severity -1 grave

Hello,

first of all both of you, thank you very much for the report and
investigation and sorry for the late response.

Unfortunately we can't remove the javah.patch because we have to use
OpenJDK 11 to build lwjgl. But we have to improve it if we want to
compile the missing sources anyway. With the applied patch the build
fails with:

compiledeb:
    [mkdir] Created dir: /build/lwjgl-2.9.3+dfsg/bin/lwjgl/deb
    [apply]
/build/lwjgl-2.9.3+dfsg/src/native/linux/org_lwjgl_opengl_LinuxKeyboard.c:
In function 'Java_org_lwjgl_opengl_LinuxKeyboard_keycodeToKeySym':
    [apply]
/build/lwjgl-2.9.3+dfsg/src/native/linux/org_lwjgl_opengl_LinuxKeyboard.c:81:2:
warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
    [apply]   KeySym key_sym = XKeycodeToKeysym(disp, key_code, 0);
    [apply]   ^~~~~~
    [apply] In file included from
/build/lwjgl-2.9.3+dfsg/src/native/linux/org_lwjgl_opengl_LinuxKeyboard.c:43:
    [apply] /usr/include/X11/Xlib.h:1687:15: note: declared here
    [apply]  extern KeySym XKeycodeToKeysym(
    [apply]                ^~~~~~~~~~~~~~~~
    [apply] /build/lwjgl-2.9.3+dfsg/src/native/linux/opengl/context.c:
In function 'chooseVisualGLXFromBPP':
    [apply]
/build/lwjgl-2.9.3+dfsg/src/native/linux/opengl/context.c:237:9:
warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    [apply]          if ( colorSamples > 0 )
    [apply]          ^~
    [apply]
/build/lwjgl-2.9.3+dfsg/src/native/linux/opengl/context.c:238:60: note:
...this statement, but the latter is misleadingly indented as if it were
guarded by the 'if'
    [apply]              putAttrib(&attrib_list, GLX_COLOR_SAMPLES_NV);
putAttrib(&attrib_list, colorSamples);
    [apply]
^~~~~~~~~
    [apply]
/build/lwjgl-2.9.3+dfsg/src/native/linux/opengl/org_lwjgl_opengl_Pbuffer.c:44:10:
fatal error: org_lwjgl_opengl_Pbuffer.h: No such file or directory
    [apply]  #include "org_lwjgl_opengl_Pbuffer.h"
    [apply]           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    [apply] compilation terminated.


We need to fix this as well. Could you explain in more detail why you
omit the opengles directory?

Regards,

Markus





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20181228/17a47d8c/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list