From owner-freebsd-ports@freebsd.org Sat Jun 4 17:55:25 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9665B6AA96 for ; Sat, 4 Jun 2016 17:55:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 81AC2110A; Sat, 4 Jun 2016 17:55:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u54HtJSi075547 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 4 Jun 2016 20:55:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u54HtJSi075547 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u54HtJRJ075546; Sat, 4 Jun 2016 20:55:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 4 Jun 2016 20:55:19 +0300 From: Konstantin Belousov To: Matthew Seaman Cc: freebsd-ports@freebsd.org Subject: Re: old ports/packages Message-ID: <20160604175519.GC38613@kib.kiev.ua> References: <5809f808-8b16-93ed-5351-828a7d68eb2b@unsane.co.uk> <574ED144.1050603@quip.cz> <9D785F08-AB0B-4324-B1B3-286D90AF9BF7@lastsummer.de> <20160603172313.3b2353b0@raksha.tavi.co.uk> <2d6eddea-0de7-6963-c1ca-a734aaa5a75a@FreeBSD.org> <3ae2f03e-2753-0a75-0123-9f85c05b0eaf@hiwaay.net> <57530DD8.9070605@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57530DD8.9070605@FreeBSD.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2016 17:55:25 -0000 On Sat, Jun 04, 2016 at 06:20:24PM +0100, Matthew Seaman wrote: > On 2016/06/04 16:14, William A. Mahaffey III wrote: > > One point of order if I may: It was stated earlier in the thread that > > binary compatibility throughout a major release cycle (X.n-R, as 'n' > > varies) is a specification. That is not explicitly addressed in the > > above URL's, as far as I can see. Is that indeed considered a > > specification ? If so, it would seem to satisfy the LTS desire > > implicitly. TIA & have a good one. > > At the moment we have a guarantee of binary compatibility for any > software compiled on release X.n to be able to run on any release X.m > where m >= n. This is not going to change with the new support model. > > ie. Something compiled for 11.0 will run on any subsequent 11.x release, > but something compiled on 11.3 (say) would not necessarily run on 11.2. > Now, in fact, that sort of backwards compatibility usually does work, > but it isn't guaranteed. Putting in this sort of backwards incompatible > change is something that is avoided unless there is some very good > reason to introduce it. > > Also recognize that libc.so in 11.x will support ABI multi-versions -- > so you can run anything that needs an earlier ABI version without any > special configuration[*]. This does not apply to all of the shlibs > provided by the system, so you may get mixed results depending on what > your applications link against. We ship libc.so+libpthread.so+libm.so+rtld which support backward compatibility up to FreeBSD 7.0. This means that the 'core' C runtime is ABI-stable. It is not true for the less 'core' FreeBSD shlibs indeed, but that other libraries are typically OS-depended and are used for system management or configuration. More severe cause of ABI breakage are the third-party shlibs, which ABI is not maintained by the project and which updates cause at least incompatible shlib version bumps. Examples are openssl and ncurses. This explains the reason why the packages are still have to be build per major branch. > > This is why the FreeBSD packages are always built on the earliest still > supported release from the same major branch. The difference implied by > the new support model is that the package building machines would be > updated more frequently as they track the earliest still-supported > release. Practically speaking, as a pkg user you're unlikely to > experience any difficulties even if you aren't up to date with your OS > patching, but there may be some rare occasions where you will need to > update your OS before you can update your ports. > > Cheers, > > Matthew > > [*] IIRC the available version history goes back to 10.0-RELEASE; you'll > definitely need compat libs for anything compiled earlier than that, but > you may well be able to run 10.x applications on an 11.x system with no > compatibility shims required. >