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 1MsF1P-0006bW-N3 for garchives@archives.gentoo.org; Mon, 28 Sep 2009 12:08:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37141E0769; Mon, 28 Sep 2009 12:07:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0D4DFE0769 for ; Mon, 28 Sep 2009 12:07:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id AF03D67824 for ; Mon, 28 Sep 2009 12:07:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.282 X-Spam-Level: X-Spam-Status: No, score=-3.282 required=5.5 tests=[AWL=-0.683, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hKBxMasXSe7c for ; Mon, 28 Sep 2009 12:07:50 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 089AB65152 for ; Mon, 28 Sep 2009 12:07:49 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MsF14-0006tX-5n for gentoo-user@gentoo.org; Mon, 28 Sep 2009 14:07:42 +0200 Received: from adsl-69-234-198-5.dsl.irvnca.pacbell.net ([69.234.198.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 14:07:42 +0200 Received: from w41ter by adsl-69-234-198-5.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 14:07:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: glibmm 2.20.1 emerge fails to compile Date: Mon, 28 Sep 2009 05:07:17 -0700 Message-ID: References: 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-198-5.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090928 Shredder/3.0pre In-Reply-To: Sender: news X-Archives-Salt: 7d084679-fa36-4d2f-8cae-b2582ce85348 X-Archives-Hash: ffcad61154bd99fec02ded0e3ee9a5a3 On 09/27/2009 09:38 PM, Grant Edwards wrote: > I tried doing an upgrade (the usual emerge -auvND world), and > it choked on glibmm 2.20.1. The compile failed the basic error > seems to be this: > > generate_defs_glib.o: In function `main': > generate_defs_glib.cc:(.text+0x6b): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' > > I've done a revdep-rebuild to make sure things are consistent, > and it says things are OK. Google doesn't seem to know that > error message, and I couldn't find anything relevent at > bugs.gentoo.org. > > The only thing I can think of is that it has to do with some > libraries having been compiled with an older version of gcc, > but I'm not sure how to check for that... Those undefined references are supplied by libstdc++, so it looks like you have a classic case of duelling library versions. The error messages mention gcc-3.4.6, which is actually quite old now, so perhaps you've switched to gcc-4.x.x now? The fix is to go back and re-emerge all packages that linked against the old libstdc++. One way to find them is to run fix_libtool_files.sh and note which ones get fixed. You still need to re-emerge those packages, though, if you're now using gcc-4.x I would actually just grep through all the .la files for "3.4.6" (assuming that's your *old* version of gcc) and re-emerge the packages that own those files. Maybe someone else knows an easier way.