From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 733FA13877A for ; Sat, 14 Jun 2014 17:14:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B4F6E0B47; Sat, 14 Jun 2014 17:14:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E4C7E0B1E for ; Sat, 14 Jun 2014 17:14:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A0C5533FF21 for ; Sat, 14 Jun 2014 17:14:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -0.94 X-Spam-Level: X-Spam-Status: No, score=-0.94 tagged_above=-999 required=5.5 tests=[AWL=-0.287, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7P3KyZbJzYV5 for ; Sat, 14 Jun 2014 17:14:19 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE16033FF13 for ; Sat, 14 Jun 2014 17:14:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WvrWw-0001zQ-FS for gentoo-dev@gentoo.org; Sat, 14 Jun 2014 19:14:14 +0200 Received: from ppp118-209-144-136.lns20.mel6.internode.on.net ([118.209.144.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Jun 2014 19:14:14 +0200 Received: from kensington by ppp118-209-144-136.lns20.mel6.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 14 Jun 2014 19:14:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Michael Palimaka Subject: [gentoo-dev] Re: Subslots: should they be bumped like SONAME or on any ABI changes? Date: Sun, 15 Jun 2014 03:13:59 +1000 Message-ID: References: <20140614164151.45afb5ca@pomiot.lan> <1402764656.16949.7.camel@rook> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp118-209-144-136.lns20.mel6.internode.on.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <1402764656.16949.7.camel@rook> X-Archives-Salt: a4d86dd9-0805-46f4-828a-5b8823bc03a7 X-Archives-Hash: 3f1216d0781b63d86b264a74a123f2b8 On 06/15/2014 02:50 AM, Alexandre Rostovtsev wrote: > On Sat, 2014-06-14 at 16:41 +0200, Michał Górny wrote: >> Considering the libtool versioning, there are two kinds of library >> bumps relevant to us: >> >> 1) when ABI is altered in backwards-compatible way (so old stuff is not >> touched), >> >> 2) when ABI is altered in backwards-incompatible way. > > The situation is more nuanced. I have also seen the following cases: > > 3) a package provides multiple libraries or entry points, and only some > of them have their ABI altered in a backwards-incompatible way. > Examples: xorg-server changes ABI for video drivers, but not for input > drivers; poppler changes ABI for libpoppler, but not libpoppler-glib. It depends on the package, but with packages like poppler a consumer should only use a sub-slot dependency operator if it's using the unstable interface. > 4) a package alters a "private" ABI which matters for a small number of > closely-tied packages, but is transparent to normal users of the > library. Example: glib and gobject-introspection. Since the "normal" interface is stable I certainly hope no other consumers are making use of that subslot.