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 1Q1cd3-00067g-Gb for garchives@archives.gentoo.org; Mon, 21 Mar 2011 10:46:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18AD91C046; Mon, 21 Mar 2011 10:44:50 +0000 (UTC) Received: from mta-2.ms.rz.rwth-aachen.de (mta-2.ms.rz.RWTH-Aachen.DE [134.130.7.73]) by pigeon.gentoo.org (Postfix) with ESMTP id D10331C046 for ; Mon, 21 Mar 2011 10:44:49 +0000 (UTC) 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-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0LIE00788LUPGP40@mta-2.ms.rz.RWTH-Aachen.de> for gentoo-user@lists.gentoo.org; Mon, 21 Mar 2011 11:44:49 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.63,218,1299452400"; d="scan'208";a="101489358" Received: from relay-2.ms.rz.rwth-aachen.de (HELO relay.rwth-aachen.de) ([134.130.7.75]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Mon, 21 Mar 2011 11:44:47 +0100 Received: from numa-i.igpm.rwth-aachen.de (numa-i.igpm.RWTH-Aachen.DE [134.130.161.252]) by relay.rwth-aachen.de (8.14.4+Sun/8.13.8/1) with ESMTP id p2LAiksi012193 for ; Mon, 21 Mar 2011 11:44:46 +0100 (CET) Received: from numa-i (localhost [127.0.0.1]) by numa-i.igpm.rwth-aachen.de (Postfix) with ESMTP id 6BA24A23 for ; Mon, 21 Mar 2011 11:44:47 +0100 (CET) Date: Mon, 21 Mar 2011 11:44:47 +0100 From: Helmut Jarausch Subject: Re: [gentoo-user] Re: broken system - get_libdir returns an emtpy string - please help To: gentoo-user@lists.gentoo.org In-reply-to: X-Mailer: Balsa 2.4.9 Message-id: <1300704287.3059.2@numa-i> X-Archives-Salt: X-Archives-Hash: d613db9dedfa84e253f9409e11afedf6 On 03/21/2011 11:13:36 AM, walt wrote: > On 03/21/2011 02:19 AM, Helmut Jarausch wrote: > > Hi, > > > > probably, portage-2.2.0_alpha28 has broken my system. > > > > I have reinstalled a binary version of portage-2.2.0_alpha27, but > ... > > > > For many packages, portage installs libraries into /usr instead of > > /usr/lib64 or /usr/lib32 > > > > Probably, the function get_libdir > > (defined in /usr/portage/eclass/multilib.eclass) > > returns an empty string. > > Seems that some important definitions are stored in > /usr/portage/profiles/features/multilib/make.defaults and for some > reason they are not being honored. > > That file should be sourced during every emerge, depending on your > selected portage profile. What "does eselect profile list" say? > Is the selected profile the correct one? > > Maybe using the -d flag with emerge will give you a hint where things > are going wrong. Thanks, Walt. /usr/portage/profiles/features/multilib/make.defaults looks OK The selected profile is default/linux/amd64/10.0/desktop which is OK, as well. I should have mentioned that after installing portage-2.2.0_alpha28 the search path included /usr/portage/bin which doesn't exist. I have no idea where this came from. The debugging run revealed that the 'multilib' USE flag got lost. I've just emerged a package both on my machine and a very similar machine but which hasn't been updated the last few days. Diffing the two log files showed that the multilib USE flag isn't in effect on my machine (only). I've compared /etc/make.conf on both machines and there isn't any difference. So, it looks like a broken profile here. What to do about that? Thanks, Helmut.