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 1QQwrs-0007mX-Ve for garchives@archives.gentoo.org; Mon, 30 May 2011 07:26:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 972291C005; Mon, 30 May 2011 07:25:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 69F231C005 for ; Mon, 30 May 2011 07:25:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A222E2AC0B4 for ; Mon, 30 May 2011 07:25:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -4.629 X-Spam-Level: X-Spam-Status: No, score=-4.629 required=5.5 tests=[AWL=1.970, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] 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 KKf-hACkvZsl for ; Mon, 30 May 2011 07:24:56 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 8FA382AC0B5 for ; Mon, 30 May 2011 07:24:54 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QQwqI-00051o-5v for gentoo-user@gentoo.org; Mon, 30 May 2011 09:24:50 +0200 Received: from eps142.cdf.udc.es ([193.144.52.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 May 2011 09:24:50 +0200 Received: from aluaces by eps142.cdf.udc.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 May 2011 09:24:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Alberto Luaces Subject: [gentoo-user] Re: ebuild not inserting soname, therefore emerging zlib fails Date: Mon, 30 May 2011 09:24:55 +0200 Message-ID: <87aae4hcqg.fsf@eps142.cdf.udc.es> References: <874o4g3yas.fsf@eps142.cdf.udc.es> 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 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: eps142.cdf.udc.es User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:x44n9MK+333znWMuMRRmWN8Nges= X-Archives-Salt: X-Archives-Hash: 8cd20f200110f65705a3400b62b3e4a5 Hi Paul, Paul Hartman writes: > On Fri, May 27, 2011 at 11:26 AM, Alberto Luaces 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. You are right, well spotted! > 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. > My environment CC was empty or already unset, I removed the `-m32' tag but it happens the same. > > 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. :) > I followed your advice. I have only another compiler, the mingw cross compiler, but I checked that is not selected byb default. Nevertheless, thank you for your help. You gave me the idea on focusing on zlib's configure script in order to see what is failing in the detection process. -- Alberto