From: SourceForge.net <no...@so...> - 2013-01-30 06:13:10
|
Bugs item #3599098, was opened at 2013-01-01 04:53 Message generated for change (Comment added) made by pawel_sikora You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3599098&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 54. Configuration Reporting Group: current: 8.5.13 Status: Open Resolution: None Priority: 6 Private: No Submitted By: Pawel Sikora (pawel_sikora) Assigned to: Andreas Kupries (andreas_kupries) Summary: platform::identify returns wrong result for glibc-2.17 Initial Comment: # rpm -q glibc glibc-2.17-1.i686 glibc-2.17-1.x86_64 # echo 'package require platform; set p [platform::identify]; puts $p' | tclsh linux-glibc6.-x86_64 ^^^ should be 2.17 instread of "6." the recent glibc versions allows to ./conifgure --with-pkgversion=PKG' (use PKG in the version string in place of "GNU libc"). so finally, the /lib64/libc-2.17.so returns e.g.: $ /lib64/libc-2.17.so GNU C Library (glibc-6:2.17-1) stable release version 2.17, by Roland McGrath et al. Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.7.2 20121104 (release). Compiled on a Linux 3.7.0 system on 2012-12-26. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B libc ABIs: UNIQUE IFUNC For bug reporting instructions, please see: <http://bugs.pld-linux.org/>. tcl's platform packages needs better regexp for matching libc version. ---------------------------------------------------------------------- >Comment By: Pawel Sikora (pawel_sikora) Date: 2013-01-29 22:13 Message: the glibc sources contains following banner in csu/version.c: (...) static const char __libc_release[] = RELEASE; static const char __libc_version[] = VERSION; static const char banner[] = "GNU C Library "PKGVERSION RELEASE" release version "VERSION", by Roland McGrath et al.\n\ (...) extending regexp to e.g.: regexp {version ([0-9]+(\.[0-9]+)*), by } $vdata -> v should be enough to correct version matching. ---------------------------------------------------------------------- Comment By: Andreas Kupries (andreas_kupries) Date: 2013-01-29 13:57 Message: Can we assume that the 'version' string just before the 2.17 is fixed ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3599098&group_id=10894 |