Bug#1065108: java3d: FTBFS: missing build-dep on libnsl-dev

Aurelien Jarno aurel32 at debian.org
Thu Feb 29 21:03:49 GMT 2024


Source: java3d
Version: 1.5.2+dfsg-17
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-glibc at lists.debian.org
Usertags: libnsl-dev

Dear maintainer,

Starting with glibc 2.31, support for NIS (libnsl library) has been
moved to a separate libnsl2 package. In order to allow a smooth
transition, a libnsl-dev has been added to the libc6-dev package.

This dependency has been temporarily dropped in the 2.37-15.1 NMU, as
part of the 64-bit time_t transition. This causes java3d to FTBFS in sid
with:

|      [exec] In file included from /usr/include/GL/gl.h:2050,
|      [exec]                  from /<<PKGBUILDDIR>>/j3d-core/src/native/ogl/gldefs.h:68:
|      [exec] /usr/include/GL/glext.h:35: note: this is the location of the previous definition
|      [exec]    35 | #define GL_GLEXT_VERSION 20220530
|      [exec]       | 
|      [exec] ld: cannot find -lnsl: No such file or directory
|      [exec] Result: 1

This could be fixed by adding an explicit Build-Depends on libnsl-dev.
The glibc change will likely be reverted in the short term, but given
its a change we want to do for Trixie, this will only lower the severity
of the bug.

Regards
Aurelien



More information about the pkg-java-maintainers mailing list