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 1RfS7U-0004v4-EQ for garchives@archives.gentoo.org; Tue, 27 Dec 2011 08:10:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07E1321C1CE; Tue, 27 Dec 2011 08:10:37 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D9ACEE02CE for ; Tue, 27 Dec 2011 08:09:30 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EANp8+U5FpZ+e/2dsb2JhbABCrEeBBoFyAQEFOhwzCzQSFCU3vQWDfYR4gjdjBIg3hHkBh1CFX4gihFI X-IronPort-AV: E=Sophos;i="4.71,415,1320642000"; d="scan'208";a="154255513" Received: from 69-165-159-158.dsl.teksavvy.com (HELO waltdnes.org) ([69.165.159.158]) by ironport2-out.teksavvy.com with SMTP; 27 Dec 2011 03:09:29 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 27 Dec 2011 03:08:56 -0500 From: "Walter Dnes" Date: Tue, 27 Dec 2011 03:08:56 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Build problems due to invalid libtool arguments Message-ID: <20111227080856.GA23625@waltdnes.org> References: <4EF8BB9F.1060200@wonkology.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <4EF8BB9F.1060200@wonkology.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 537fba30-14c1-42d0-9c73-290ec68c16f4 X-Archives-Hash: 4aa848293ae10c52953dfe9695cab6db On Mon, Dec 26, 2011 at 07:23:27PM +0100, Alex Schuster wrote > Hi there! > > I'm currently upgrading my little sister's PC from an x86 Sempron to an > x86_64 AMDS A6 processor. So Gentoo is being installed from scratch. > > But some packages fail to build. I filed a bug [1] for > media-libs/libggi-2.2.2, but a similar problem is happening for > pygtksourceview now, and I do not find a simple workaround. > > The problem is that in the libtool linking phase the arguments "/usr/bin > /usr/sbin /bin /sbin" are given along the libraries and library paths. I > have no idea why this happens, and how to solve this. Something must be > wrong on my system. But what? For libggi, emerging with USE=-aalib sort > of solved this. But I have no idea what to do about pygtksourceview. As > all gthe KDE stuff seems to depend on this, I cannot continue I notice that you have 'MAKEOPTS="-j4"'. You wouldn't believe how many problems you can solve by changing to 'MAKEOPTS="-j1"'. Yes, the build process may take a bit longer, but the final executable runs just as fast. Change to 'MAKEOPTS="-j1"' and see what happens. The concept of parallel jobs is nice in theory, and you can *USUALLY* get away with it. The problem is that if a job tries to use an intermediate file before it's fully created, or if the "destructor" (file deletion) does it's thing before the scratch file has been used, things get very fouled up. My attitude is that the first time you spend hours trying to trace down a non-replicatable bug, you will lose more time than you "save" by speeding up builds with 'MAKEOPTS="-j4"'. -- Walter Dnes