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 ) id 1QrIuT-0001TT-MP for garchives@archives.gentoo.org; Thu, 11 Aug 2011 00:14:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 514D821C2A5; Thu, 11 Aug 2011 00:13:56 +0000 (UTC) Received: from oproxy7-pub.bluehost.com (oproxy7-pub.bluehost.com [67.222.55.9]) by pigeon.gentoo.org (Postfix) with SMTP id 62B0921C197 for ; Thu, 11 Aug 2011 00:13:05 +0000 (UTC) Received: (qmail 23454 invoked by uid 0); 11 Aug 2011 00:13:04 -0000 Received: from unknown (HELO box347.bluehost.com) (69.89.31.147) by oproxy7.bluehost.com with SMTP; 11 Aug 2011 00:13:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lotussevencars.com; s=default; h=Content-Transfer-Encoding:Mime-Version:Message-ID:Date:Content-Type:References:In-Reply-To:To:Reply-To:From:Subject; bh=3/B9Iz01athdTgFijTVzB9mE25YhCVtVjLtATGimDoU=; b=PIDrNEemD61x0MX70ufjXYMo2nI6oXa5JiY0ITtwiz8boCJsYpglpAPEHHdDBSPRgO/06cWe2qUZ1flEdjp5FKoX2sSpWxIb6a8pTeLWq2COM1EWejVvkm4f5+uh1U1B; Received: from adsl-74-242-230-152.rmo.bellsouth.net ([74.242.230.152] helo=[192.168.3.100]) by box347.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QrItU-0006xF-3j for gentoo-user@lists.gentoo.org; Wed, 10 Aug 2011 18:13:04 -0600 Subject: Re: [gentoo-user] Re: Plasma-runtime compilation problems From: Jeff Cranmer To: gentoo-user@lists.gentoo.org In-Reply-To: References: <1312947259.12939.4.camel@laptop.limeyworld> <10767017.YZF3DYoQc4@pc> Content-Type: text/plain; charset="UTF-8" Date: Wed, 10 Aug 2011 20:14:25 -0400 Message-ID: <1313021665.8574.11.camel@laptop.limeyworld> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 Content-Transfer-Encoding: 7bit X-Identified-User: {793:box347.bluehost.com:lotussev:lotussevencars.com} {sentby:smtp auth 74.242.230.152 authed with jeff@lotussevencars.com} X-Archives-Salt: X-Archives-Hash: 6232499338100355990898698b4e89b9 On Wed, 2011-08-10 at 16:16 -0700, walt wrote: > On 08/10/2011 03:04 PM, Michael Schreckenbauer wrote: > > Hi, > > > > Am Mittwoch, 10. August 2011, 14:40:31 schrieb walt: > >> On 08/09/2011 08:34 PM, Jeff Cranmer wrote: > >>> Hi all, > >>> > >>> I'm trying to upgrade kde from 4.4 to 4.6, and I've run into a problem. > >>> > >>> Plasma-runtime-4.6.3 is failing. The error appears to be > >>> redefinition of 'struct QMetaTypeID' > >> > >> I don't use kde so I can't be specific, but usually a redefinition is > >> just a warning -- unless the package is compiled with the -Wall flag or > >> equivalent. > > (Of course I meant -Werror, sorry.) > > > No, this is plain wrong. Redefinition of a struct is an error in C and C++ > > > > ~$cat foo.c > > struct foo { > > int i; > > }; > > > > struct foo { > > char* v; > > }; > > > > ~$gcc foo.c -o foo > > foo.c:5:8: error: redefinition of 'struct foo' > > foo.c:1:8: note: originally defined here > > Hm. I know I've seen compiler redefinition messages thousands of times > over the years. Is it really possible that all of those thousands were > errors instead of warnings? If that's true then I've wasted a lot more > time tracking them down than I care to think about :) > > I've seen lots of compiler warnings in the past. This one, however, was flagged as an 'Error', not as a warning. It was the last message before the compile failed, so I think it's reasonable to assume that therein lies the problem? I have emerged all system files, as well as a lot of the world files that are currently out of date. This particular compilation failure happened late in an emerge -NDuav kdebase-meta, as the first part of the upgrade from kde4.4 to kde4.6 Running revdep-rebuild following the emerge didn't help. I still have some world files that are out of date, but all of those are allegedly not deep dependencies of kdebase-eta. Last time I tried to do a full emerge -NDuav world, however, I was then unable to operate my HDPVR unit, as it suffered a lot of usb failures. I had to recover my system from an earlier clonezila backup, so now I'm trying to sneak up on the problem by doing as little as possible each emerge, then checking everything works and running another OS clone before continuing. Unfortunately, kde is now broken, so I'm operating my mythtv interface via gnome while I attempt to recover kde. It's probable that the fault lies in one of the other packages within world that are still to be upgraded, but it would be nice to get some clues as to which one is the culprit, so I can continue to inch up on whatever is breaking my HDPVR based mythtv. Jeff