From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-85703-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KvUty-0001jS-RN
	for garchives@archives.gentoo.org; Thu, 30 Oct 2008 10:37:19 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 41B46E041B;
	Thu, 30 Oct 2008 10:37:17 +0000 (UTC)
Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.156])
	by pigeon.gentoo.org (Postfix) with ESMTP id 15003E041B
	for <gentoo-user@lists.gentoo.org>; Thu, 30 Oct 2008 10:37:17 +0000 (UTC)
Received: by yw-out-1718.google.com with SMTP id 5so181822ywm.46
        for <gentoo-user@lists.gentoo.org>; Thu, 30 Oct 2008 03:37:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=y9ZEQck+qI8JWW3ERhMjIT1P2rUu8KjYp4thsPR0hvw=;
        b=camhFIGFGlx+Odwu0Jkx0+MaYDzBvAraro/RCrCQ/xB1krlFswAWSwO/H2yDKRc4eH
         Rkw4IBj01M8hDlcdq/FqdzwdVKidz+f4Lgl/eRBxIpX4fTSb1WLP2enFuhK8i0PbmJlo
         p6BXurOWj3rEqCJCfsiDyzKThRBcXFjr0Mo6o=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=googlemail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=IL5MXBAiPRWWtEnpGmhdYcWlx2AvV5PVjOVLyULcMblicoHHElPyl2TMSJJfL9AbNb
         /7js0KE4V+emZaaJ+IF5Iqj/mAFfPYIGgAC9vPTp2yt50XAhe+cYQyfYIJrrk7XfwkpP
         PL/8jVFCDVllXlJvs2MLnAx2kltebUmgU8A18=
Received: by 10.90.27.10 with SMTP id a10mr3570101aga.31.1225363035476;
        Thu, 30 Oct 2008 03:37:15 -0700 (PDT)
Received: by 10.90.79.13 with HTTP; Thu, 30 Oct 2008 03:37:15 -0700 (PDT)
Message-ID: <fbdd0e50810300337s285f793ar3fc6b513ec85667a@mail.gmail.com>
Date: Thu, 30 Oct 2008 11:37:15 +0100
From: Geralt <usr.gentoo@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] A question about emerge --info
In-Reply-To: <e38d12ff0810291902i6de9f496vda71215796a12776@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <58965d8a0810291553x50e4068ehc58834dfdbce285b@mail.gmail.com>
	 <e38d12ff0810291613t6205b80em1294991c930ce1cf@mail.gmail.com>
	 <350fc7cf0810291623j5fb5608rf311cd0d2a371d2a@mail.gmail.com>
	 <e38d12ff0810291632gde628e5p5edadfc87f2704a8@mail.gmail.com>
	 <e38d12ff0810291641t7bb26b6fo1ea6ecc2aa4ef19c@mail.gmail.com>
	 <e38d12ff0810291651y245cba2k89b9cb2b8ee39dd9@mail.gmail.com>
	 <350fc7cf0810291657t20e74d6ag70b05bf8e23973ba@mail.gmail.com>
	 <e38d12ff0810291703m2fa38c97ld7d3731e12bc85c4@mail.gmail.com>
	 <350fc7cf0810291715q6a0aaeebmbfbaa2ccf60e65f6@mail.gmail.com>
	 <e38d12ff0810291902i6de9f496vda71215796a12776@mail.gmail.com>
X-Archives-Salt: 4c745efc-ae9e-4439-a544-608b47020bdd
X-Archives-Hash: 12c7f8304e0df5e8896b3dc5cf925b99

Hi,
I don't know if this is clear by now, but apparently the glibc version
which is printed is the glibc version used to built python, because
>libcname,libcversion = libc_ver(sys.executable)
in this line the version is determined of sys.executable which is the
python interpreter used to run the script.

But I'm not sure if libc_ver is working correctly, since platform.py
says on my system "with-glibc2.0", but my current version is 2.6.1 and
I doubt that my python 2.5 was built with 2.0.

Some checking:
$ ldd $(which python)
        linux-gate.so.1 =>  (0xb7efb000)
        libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7dcf000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7db7000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7db3000)
        libutil.so.1 => /lib/libutil.so.1 (0xb7daf000)
        libm.so.6 => /lib/libm.so.6 (0xb7d86000)
        libc.so.6 => /lib/libc.so.6 (0xb7c34000)
        /lib/ld-linux.so.2 (0xb7efc000)

and
$ ls -l /lib/libc.so.6
 lrwxrwxrwx 1 root root 13 2008-09-28 01:38 /lib/libc.so.6 -> libc-2.6.1.so
$ qfile /lib/libc.so.6
 sys-libs/glibc (/lib/libc.so.6)

$ eix -s glibc
[I] sys-libs/glibc
     Available versions:  (2.2)  [P]2.2.5-r10!s [P]2.3.2-r12!s
[P]2.3.5-r3!s [P]2.3.6-r4!s [P]2.3.6-r5!s 2.4-r4!s 2.5-r2!s 2.5-r3!s
2.5-r4!s **2.5.1!s ~2.6!s 2.6.1!s ~2.7-r2!s ~2.8_p20080602!s
        {build crosscompile_opts_headers-only debug erandom gd
glibc-compat20 glibc-omitfp hardened linuxthreads-tls multilib nls
nptl nptlonly pic profile selinux userlocales vanilla}
     Installed versions:  2.6.1(2.2)!s(01:38:10 AM
09/28/2008)(glibc-omitfp nls -crosscompile_opts_headers-only -debug
-gd -hardened -multilib -profile -selinux -vanilla)
     Homepage:            http://www.gnu.org/software/libc/libc.html
     Description:         GNU libc6 (also called glibc2) C library


As you can see 2.6.1 is installed and python is using this version of glibc.

That's why I'm wondering if it's not libc_ver which is buggy.





Geralt.