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-111825-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OPPLC-0005jH-Tf
	for garchives@archives.gentoo.org; Fri, 18 Jun 2010 00:21:51 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 20FAFE062C;
	Fri, 18 Jun 2010 00:20:58 +0000 (UTC)
Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 18252E062C
	for <gentoo-user@lists.gentoo.org>; Fri, 18 Jun 2010 00:20:57 +0000 (UTC)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0FAENZGkzO+LJt/2dsb2JhbACSXYwfcsIXhRoEiWuDKg
X-IronPort-AV: E=Sophos;i="4.53,435,1272859200"; 
   d="scan'208";a="68314463"
Received: from 206-248-178-109.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.178.109])
  by ironport2-out.pppoe.ca with SMTP; 17 Jun 2010 20:20:53 -0400
Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 17 Jun 2010 20:23:18 -0400
From: "Walter Dnes" <waltdnes@waltdnes.org>
Date: Thu, 17 Jun 2010 20:23:18 -0400
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Unable to emerge kdebase/kfilereplace-4.3.5
Message-ID: <20100618002318.GA4357@waltdnes.org>
References: <4C194224.7030007@foo-bar.co.uk>
 <hvbq7p$t94$1@dough.gmane.org>
 <4C1A3901.4000508@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=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
In-Reply-To: <4C1A3901.4000508@gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-Archives-Salt: fc78053d-8bb2-4b28-802a-fa6caaf8c721
X-Archives-Hash: 32d2625c84de747b54a8195550ea9a57

On Thu, Jun 17, 2010 at 08:02:25AM -0700, Bill Longman wrote
> On 06/16/2010 05:33 PM, walt wrote:
> > On 06/16/2010 02:29 PM, Thomas Revell wrote:
> >> Hi everyone,
> >>
> >> I've got a bit of a problem with a new Gentoo install that I'm current=
ly
> >> trying to install KDE on. The installation of kdebase/kfilereplace-4.3=
=2E5
> >> is failing, apparently due to a missing header file in its sources.
> >=20
> >   <snip>
> >> [ 11%] =1B[34m=1B[1mGenerating koptionsdlgs.h
> >   <snip>
> >> =1B[0mmoc:
> >> /var/tmp/portage/kde-base/kfilereplace-4.3.5/work/kfilereplace-4.3.5_b=
uild/kfilereplace/koptionsdlgs.h:
> >>
> >> No such file
> >=20
> > I have no idea what's going wrong, but I'm willing to make suggestions
> > anyway :)
>=20
> I have no better suggestion than to change your ricer CFLAGS and see if
> "-O2 -pipe -march=3Dcore2" works first. Especially since you have:
>=20
>  "-mno-align-stringops -minline-stringops-dynamically"
>=20
> and kfilereplace.cpp:37 warns about QStringList& and further along, it
> creates kaddstringdlgs.h.
>=20
> BTW, -march=3Dcore2 implies -mmmx -msse -msse2 and -msse3 (and -mssse3).

  Even better is "-march=3Dnative", and let the compiler figure out what
features are available/safe.  I use the following...

CFLAGS=3D"-O2 -march=3Dnative -mfpmath=3Dsse -fomit-frame-pointer -pipe"

If you're building 64-bit Gentoo, the "-mfpmath=3Dsse" gets picked up by
"-march=3Dnative" and you can drop the explicit mention.

  And you wouldn't believe how many weird build problems are solved by...

MAKEOPTS=3D"-j1"

=2E..even on multi-core cpus.  The *BUILD PROCESS* is a bit slower, but
the final binary is identical with -j8 or whatever.  And the time you
"save" by a faster build in a tty will be lost the first time you start
bashing your head into a brick wall over some weird build problem.

--=20
Walter Dnes <waltdnes@waltdnes.org>