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.77) (envelope-from ) id 1SnbTe-0004GE-Ip for garchives@archives.gentoo.org; Sat, 07 Jul 2012 20:19:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D107BE030B; Sat, 7 Jul 2012 20:19:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6A174E0212 for ; Sat, 7 Jul 2012 20:18:39 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id DD10F1B40D0 for ; Sat, 7 Jul 2012 20:18:38 +0000 (UTC) Message-ID: <4FF8999D.2080508@gentoo.org> Date: Sat, 07 Jul 2012 13:18:37 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:13.0) Gecko/20120607 Thunderbird/13.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] About forcing rebuilds of other packages issue References: <1338845178.23212.1.camel@belkin4> <4FCDFF18.3080600@gentoo.org> <4FCEA99E.4090700@gentoo.org> <4FCEBDD9.8000604@gentoo.org> <1338972375.2706.23.camel@belkin4> <4FCF1ADE.5010502@gentoo.org> <1338973845.2706.31.camel@belkin4> <4FCF2333.3090900@gentoo.org> <20120707112927.21169.qmail@stuge.se> <4FF84362.8030101@gentoo.org> <20120707185429.22395.qmail@stuge.se> In-Reply-To: <20120707185429.22395.qmail@stuge.se> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archives-Salt: f3789a56-394f-4e46-91da-dc8063da954f X-Archives-Hash: fb42fdd31ee5ded09ef743f5f347983f On 07/07/2012 11:54 AM, Peter Stuge wrote: > Ian Stakenvicius wrote: >>> Is it unrealistic to assume that upstream ABI providers will mark >>> their ABIs by using sonames correctly? >>> >>> Maybe that is at least the common case, then ABI_SLOT could be set >>> automatically. >> >> Although we have a lot of this information available (which is why/how >> @preserved-libs works, for instance), there is no way for portage to >> know *prior to emerging the update* if abi has changed. > > Knowing that a library changes ABI before building is nice, but not > relying on a human to encode this is nicer still. > > After compile, before install, there is an opportunity to show the > effects of installing the package. > > I'm only talking about the context of the developer who is adding the > new ebuild. So ABI_SLOT (or / SLOT) would be set automatically just > once, in the process of committing the ebuild. Well, if you're talking about having portage automatically edit the ebuild, I don't think we want to do that. If developers use portage-2.2_alpha with preserve-libs, then they'll know automatically when there's an SONAME change that triggers preserve-libs. Part of the beauty of the approach used in EAPI 4-slot-abi is that that it can be used to trigger rebuilds in cases that don't even involve SONAME dependencies (consider a "pure" perl module that only needs to be rebuilt in order to install its interpreted *.pm files in a different directory for a new version of perl). > No need to repeat the > binary analysis - except if one source package has different ABI for > different ARCHes. Fun! It might be nice to add some binary analysis things beyond preserve-libs in the future. However, EAPI 4-slot-abi should work quite well even without that. It just automates rebuilds [1] that the user was previously required to handle manually, when prompted by elog messages, or by running tools like revdep-rebuild and perl-cleaner. It's being tested in the axs overlay [2], and it seems to be working pretty well. [1] http://blogs.gentoo.org/zmedico/2012/06/23/automatic-rebuilds-with-experimental-eapi-4-slot-abi/ [2] http://git.overlays.gentoo.org/gitweb/?p=dev/axs.git;a=summary -- Thanks, Zac