From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-97225-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MKGjO-0000zZ-Qw
	for garchives@archives.gentoo.org; Fri, 26 Jun 2009 19:05:03 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AAC7EE044C;
	Fri, 26 Jun 2009 19:05:01 +0000 (UTC)
Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7EF83E044C
	for <gentoo-user@lists.gentoo.org>; Fri, 26 Jun 2009 19:05:01 +0000 (UTC)
Received: by gxk27 with SMTP id 27so7021554gxk.10
        for <gentoo-user@lists.gentoo.org>; Fri, 26 Jun 2009 12:05:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=MNxTMQ9IewPBHYXlE1SC+lOKLgwNCzyRK3BmiCweZC0=;
        b=gjpqG4SL+XiIuN0qm4Aq3qvuICo6BNEhDG0Sx7U34MwLT/XWNlZnHbhkWzrphbblq3
         dChlyOI9RL8hceOZb+k/p3X166LYxaJK/gzExMvLVRLw8LnIRsJExzLfIh1b9+MJrvN/
         BrPxXioDhIiz5FkGBUN7sUGu8nKkKpni7ncpI=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=o7DnsE3eTqf6J5aNUnoEPT3HdUG//ilM9d4HH3RTSRYzPoSE/IDfDJTXGmSOi7E61m
         RHPURDuuOSggAmGONpl3jdrNpve7BORyag/SIQENeZwcLxsfwm9tVAuw5hTzr7pRFR8B
         N7Z0/0n7ktBBMmusKlCrb5/41p9UvOdnGg9yc=
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
Received: by 10.151.68.3 with SMTP id v3mr7371193ybk.165.1246043101244; Fri, 
	26 Jun 2009 12:05:01 -0700 (PDT)
In-Reply-To: <5bdc1c8b0906261131g593bd913rcb9a591eb168819b@mail.gmail.com>
References: <5bdc1c8b0906260816w2e028a7v8759a4d3e3a48504@mail.gmail.com>
	 <200906261817.38529.alan.mckinnon@gmail.com>
	 <5bdc1c8b0906260943r7f8cdd48h20955c91022e757c@mail.gmail.com>
	 <200906261957.44815.alan.mckinnon@gmail.com>
	 <5bdc1c8b0906261123o5dea7f6eq982420318af0f576@mail.gmail.com>
	 <5bdc1c8b0906261131g593bd913rcb9a591eb168819b@mail.gmail.com>
Date: Fri, 26 Jun 2009 12:05:01 -0700
Message-ID: <5bdc1c8b0906261205r32fa0506m7bdd7b19717aadcc@mail.gmail.com>
Subject: Re: [gentoo-user] mesa build failure
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: ac93756b-2c11-4960-89ec-e75041560beb
X-Archives-Hash: 4d0f8ec877fc20e4a9f6f93a4a66c470

On Fri, Jun 26, 2009 at 11:31 AM, Mark Knecht<markknecht@gmail.com> wrote:
> On Fri, Jun 26, 2009 at 11:23 AM, Mark Knecht<markknecht@gmail.com> wrote=
:
>> On Fri, Jun 26, 2009 at 10:57 AM, Alan McKinnon<alan.mckinnon@gmail.com>=
 wrote:
>>> On Friday 26 June 2009 18:43:37 Mark Knecht wrote:
>>>> Yep. did all those earlier and saw this OpenGL problem with eselect.
>>>> Sort of disregarded it at the time and figured it would get worked out
>>>> later but now it's in the way.
>>>
>>> So what exactly did eselect say at the time?
>>>
>>> Therein likely lies the solution to your problem.
>>
>> Well, at the time it seems I remember two options for eselect list
>> opengl, but at this point I'm seeing only 1. Anyway, trying to set it
>> to 1 causes the same error message I remember:
>>
>> myth12 ~ # eselect opengl list
>> Available OpenGL implementations:
>> =C2=A0[1] =C2=A0 xorg-x11
>> myth12 ~ # eselect opengl set 1
>> Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
>> `./libglx.so': File exists
>> !!! Error: Failed to create lib/libglx.so
>> Killed
>> myth12 ~ #
>>
>> myth12 ~ # slocate libglx
>> /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> /usr/lib/xorg/modules/extensions/libglx.so
>> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> -rwxr-xr-x 1 root root 338584 Jun 23 16:41
>> /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
>> total 344
>> drwxr-xr-x 2 root root =C2=A0 4096 Jun 23 16:42 .
>> drwxr-xr-x 5 root root =C2=A0 4096 Jun 23 16:42 ..
>> -rwxr-xr-x 1 root root 338584 Jun 23 16:41 libglx.so
>> myth12 ~ #
>>
>>
>> myth12 ~ # equery belongs /usr/lib/opengl/xorg-x11/extensions/libglx.so
>> [ Searching for file(s) /usr/lib/opengl/xorg-x11/extensions/libglx.so in=
 *... ]
>> x11-base/xorg-server-1.5.3-r6 (/usr/lib/opengl/xorg-x11/extensions/libgl=
x.so)
>> myth12 ~ #
>>
>> So the file is there and owned by xorg-server which is in the list to
>> get rebuilt.
>>
>>>
>>>> I'm trying a kernel rebuild and will reinstall modules, reboot, etc.
>>>
>>> What do you hope to achieve with that? OpenGL runs in user-space, and y=
ou have
>>> a problem with a missing header file - totally unrelated to the kernle =
and
>>> it's modules.
>>
>> I made a mistake earlier when I built this new kernel. (Updating from
>> 2.6.19 to 2.6.29) I forgot to include ext2 support in the kernel so
>> for a little while I had newer modules than the kernel because I
>> couldn't mount the boot directory to install the kernel. I decide this
>> morning to rebuild the whole kernel, rewrite the modules and get the
>> whole thing consistent. Nothing more than cleaning up an earlier
>> mistake.
>>
>> I've just rebuilt python and run python-updater just to make sure that
>> I didn't miss rebuilding something that was required.
>>
>> I have no issues at all completely removing xorg-server and everything
>> it loads and rebuilding it from scratch if folks think that might
>> help.
>>
>> thanks,
>> Mark
>>
>
> Humm...removing xorg-server allowed me to set OpenGL to xorg-x11
> without an error:
>
>
> myth12 ~ # emerge -C xorg-server
>
> =C2=A0x11-base/xorg-server
> =C2=A0 =C2=A0selected: 1.5.3-r6
> =C2=A0 protected: none
> =C2=A0 =C2=A0 omitted: none
>
>>>> 'Selected' packages are slated for removal.
>>>> 'Protected' and 'omitted' packages will not be removed.
>
>>>> Waiting 5 seconds before starting...
>>>> (Control-C to abort)...
>>>> Unmerging in: 5 4 3 2 1
>>>> Unmerging x11-base/xorg-server-1.5.3-r6...
>
> =C2=A0* GNU info directory index is up-to-date.
> myth12 ~ # updatedb
> myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
> ls: cannot access /usr/lib/opengl/xorg-x11/extensions/: No such file
> or directory
> myth12 ~ # eselect opengl list
> Available OpenGL implementations:
> =C2=A0[1] =C2=A0 xorg-x11
> myth12 ~ # eselect opengl set 1
> Switching to xorg-x11 OpenGL interface... done
> myth12 ~ #
>
> and now mesa seems to be building.
>
> Problem solved - sort of. ;-)
>
> Cheers,
> Mark
>

So the weirdness continues. mesa built but then xorg-server failed
with the same failure:

>>> Installing (4 of 11) x11-base/xorg-server-1.5.3-r6
 * >>> SetUID: [chmod go-r] /usr/bin/Xorg ...
                       [ ok ]

Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
`./libglx.so': File exists
!!! Error: Failed to create /lib/libglx.so
/var/tmp/portage/x11-base/xorg-server-1.5.3-r6/temp/environment: line
3403: 32139 Killed                  eselect opengl set ${OLD_IMPLEM}
 * Users of reduced blanking now need:
 *    Option "ReducedBlanking"
 * In the relevant Monitor section(s).
 * Make sure your reduced blanking modelines are safe!

 * You must rebuild all drivers if upgrading from xorg-server 1.4.1
 * or earlier, because the ABI changed. If you cannot start X because
 * of module version mismatch errors, this is your problem.

 * You can generate a list of all installed packages in the x11-drivers
 * category using this command:
 * emerge portage-utils; qlist -I -C x11-drivers/

- Mark