Bug#224665: misleading error text `FATAL: cannot determine library version'
Package: libc6
Version: 2.3.2.ds1-10
Severity: minor
Hello, Debian GLibc maintainers,
sysdeps/unix/sysv/linux/dl-osinfo.h read:
....
#define DL_SYSDEP_OSCHECK(FATAL) \
do { \
/* Test whether the kernel is new enough. This test is only \
performed if the library is not compiled to run on all \
kernels. */ \
if (__LINUX_KERNEL_VERSION > 0) \
{ \
....
/* Try the uname syscall */ \
if (__uname (&uts)) \
{ \
/* This was not successful. Now try reading the /proc \
filesystem. */ \
ssize_t reslen; \
int fd = __open ("/proc/sys/kernel/osrelease", O_RDONLY); \
if (fd == -1 \
|| (reslen = __read (fd, bufmem, sizeof (bufmem))) <= 0) \
/* This also didn't work. We give up since we cannot \
make sure the library can actually work. */ \
FATAL ("FATAL: cannot determine library version\n"); \
__close (fd); \
buf[MIN (reslen, (ssize_t) sizeof (bufmem) - 1)] = '\0'; \
} \
Either the comments are grossly misleading or the error message should be
"FATAL: cannot determine kernel version" instead.
Also it seems to not be a l6able string.
Cheers,
Bill.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pari 2.4.22-skas #1 SMP jeu déc 11 15:01:26 CET 2003 i686
Locale: LANG=français, LC_CTYPE=français
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
Reply to: