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-123276-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QQ2AE-0004QD-J5
	for garchives@archives.gentoo.org; Fri, 27 May 2011 18:53:38 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2151F1C06A;
	Fri, 27 May 2011 18:51:54 +0000 (UTC)
Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id E5B221C06A
	for <gentoo-user@lists.gentoo.org>; Fri, 27 May 2011 18:51:53 +0000 (UTC)
Received: by vxb39 with SMTP id 39so2004854vxb.40
        for <gentoo-user@lists.gentoo.org>; Fri, 27 May 2011 11:51:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:in-reply-to:references:from
         :date:x-google-sender-auth:message-id:subject:to:content-type;
        bh=X6miHuyzsfcrUDWrTU8USgGoL4LDA6ClXMs0WDSncfI=;
        b=WN1ONDcsdthMt7O5uiSbeM92k4Mw+iKTQN/KBUOIZlOAx+NMl+tbh8BMyR5VgeEec9
         i6MAZK+1/P2dffDfnIAcZATrUZeir3pElaI5DYupuNpLuza23hnnILv55L74/zuRKb10
         S840earDjHWU602MVTtXgM+KuvcA2O273iavU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:content-type;
        b=enAtRH1DHOGEDFgyhzohdFlDiiSthEy8e4P3xKPBuDO5kZAmgDJS0wN/McgSUbQaVu
         D4eq5DcTLXwS49NV43/36AbS8k/6GI/y6VZrJGMtttdu/EmECKhrFpREm+qDt7o5GaLK
         diCtFeh0BO7MyzG37PDAxFoSsfRmV/NQADcpI=
Received: by 10.52.180.201 with SMTP id dq9mr3475701vdc.245.1306522313268;
 Fri, 27 May 2011 11:51:53 -0700 (PDT)
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
Sender: paul.hartman@gmail.com
Received: by 10.52.157.234 with HTTP; Fri, 27 May 2011 11:51:33 -0700 (PDT)
In-Reply-To: <874o4g3yas.fsf@eps142.cdf.udc.es>
References: <874o4g3yas.fsf@eps142.cdf.udc.es>
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
Date: Fri, 27 May 2011 13:51:33 -0500
X-Google-Sender-Auth: rp2U7Y6Ae8k3F2GvwhbYGvR4Xfg
Message-ID: <BANLkTimWVRStwEzUEy6sK_LqYbUL6EPVQw@mail.gmail.com>
Subject: Re: [gentoo-user] ebuild not inserting soname, therefore emerging
 zlib fails
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 
X-Archives-Hash: 1e4c59c4c9de500045bec0469209dbb0

On Fri, May 27, 2011 at 11:26 AM, Alberto Luaces <aluaces@udc.es> wrote:
> Hello,
>
> I have searched quite a bit for an error I'm having when emerging
> current zlib-1.2.5-r2. The problem is that somehow the soname is not
> written in the .so file, and the build process fails. I attach all the
> build logs in case I have some obvious misconfiguration that I should be
> aware of. I have not changed my CHOSTS or things like that.
>
> I recompiled the previous version and happened the same, but it seems
> at that time not having a soname was not forbidden by the ebuild and I
> got just a QA notice.
>
> If I try to compile zlib from the /var/tmp/portage... directory the
> library compiles fine and, in addition, the soname is included this
> time. I tried to trace the eclasses in order to know what was happening
> but I couldn't.

Hi,

Based on your settings I am guessing you have used distcc in the past,
even though you have disabled it now. I think zlib's configure makes
some changes based on if it thinks you use distcc or not. I would try
to unset CC in environment and remove -m32 from your CFLAGS and see if
it is any different. It's only a guess and you can change it back if
it doesn't work.

I would also select again your preferences in gcc-config and
binutils-config, run env-update and source /etc/profile just to be
sure everything is in working order. :)