From owner-freebsd-ports@freebsd.org Wed Jan 25 08:26:06 2017 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 B6BC8CC0940 for ; Wed, 25 Jan 2017 08:26:06 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-14.reflexion.net [208.70.210.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B142F54 for ; Wed, 25 Jan 2017 08:26:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20694 invoked from network); 25 Jan 2017 08:25:59 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 25 Jan 2017 08:25:59 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Wed, 25 Jan 2017 03:25:59 -0500 (EST) Received: (qmail 2011 invoked from network); 25 Jan 2017 08:25:59 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 25 Jan 2017 08:25:59 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id A4C3DEC867E; Wed, 25 Jan 2017 00:25:58 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: 11.0-RC1 unsupported by ports? From: Mark Millard In-Reply-To: <20170125075459.GL85666@cicely7.cicely.de> Date: Wed, 25 Jan 2017 00:25:57 -0800 Cc: Kurt Jaeger , freebsd-arm , Bernd Walter , freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <87BFEE93-7617-4131-832B-BE697D352E0D@dsl-only.net> References: <20170125042413.GK85666@cicely7.cicely.de> <20170125062045.GS13006@home.opsec.eu> <20170125075459.GL85666@cicely7.cicely.de> To: ticso@cicely.de X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 08:26:06 -0000 On 2017-Jan-24, at 11:55 PM, Bernd Walter = wrote: On Wed, Jan 25, 2017 at 07:20:45AM +0100, Kurt Jaeger wrote: > Hi! >=20 >>> [61]cnc# make install >>> /!\ ERROR: /!\ >>>=20 >>> Ports Collection support for your FreeBSD version has ended, and no = ports are >>> guaranteed to build on this system. Please upgrade to a supported = release. >>>=20 >>> No support will be provided if you silence this message by defining >>> ALLOW_UNSUPPORTED_SYSTEM. >>=20 >> 11.0-RC1 was superseded by 11.0-REL, so while that message is a bit >> drastic, there's a point to it. >=20 > With that argument only the latest version would be supported. > That said, it is a release candidate and as such one could argue that > there never had been any official support at all. > In that case however the message is wrong, because when a support has > ended it implies that there was support. >=20 > The check in the code is this one: > .if (${OPSYS} =3D=3D FreeBSD && (${OSVERSION} < 1003000 || = (${OSVERSION} >=3D 1100000 && ${OSVERSION} < 1100122))) || \ > (${OPSYS} =3D=3D DragonFly && ${DFLYVERSION} < 400400) >=20 > It is not about RC as such, it is explicitly about 11.0-RC. > My OSVERSION is 1100121. > So obviously support starts with the first release. > Fair enough, but then the message is still wrong unless it was = supported. >=20 > --=20 > B.Walter http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. This is a new check as of -r431746 (Jan 17). The wording is simply not explicit about prior history from before the check was added. For as "as if the check had been in place for a long time" interpretation I'd guess: A) 11.0-RC1 would be considered supported when first created. https://www.freebsd.org/security/security.html#sup says: In the run-up to a release, a number of -BETA and -RC releases may be = published for testing purposes. These releases are only supported for a = few weeks, as resources permit, and will not be listed as supported on = this page. Users are strongly discouraged from running these releases on = production systems. B) 11.0-RELEASE would have made 11.0-RC1 not be supported (if 11.0-RC1 was even supported for that long). C) stable/11 is supported D) head is "supported" (no complaint anyway). That last (head) is despite: https://www.freebsd.org/security/security.html#sup reporting as currently supported: stable/10 releng/10.3 (10.3-RELEASE) stable/11 releng/11.0 (11.0-RELEASE) (head is not mentioned.) Quoting https://svnweb.freebsd.org/ports/head/Mk/bsd.port.mk?view=3Dlog . . . Revision 431746 - (view) (download) (annotate) - [select for diffs]=20 Modified Tue Jan 17 15:49:16 2017 UTC (7 days, 16 hours ago) by amdmi3=20= File length: 181933 byte(s)=20 Diff to previous 431681 - Refuse (overridable) to build ports on unsupported system version Unfortunately, it's not uncommon for FreeBSD users to not update their systems timely and thus end up using unsupported FreeBSD release. These users continue to update ports tree as usual and expect it to work, either unaware of the release EoL, or not clearly understanding the consequences, which results in unexpected build failures, bogus bug reports, attempts to bring back removed legacy support bits and general discontent. This change introduces system version check which makes ports refuse to build anything on unsupported system. This makes users aware of EoL of their system and makes it clear that no port is guaranteed to build. The error message tells how to override the check (by defining ALLOW_UNSUPPORTED_SYSTEM, in which case it's turned into a simple warning), additionally stressing that this configurartion is not supported. Currently outdated are OSVERSION < 1003000 (pre 10.3-RELEASE) and 1100000 <=3D OSVERSION < 1100122 (from 11-CURRENT'2013 to = 11.0-PRERELEASE) I expect these to be kept up to date with base system lifetimes, be updated BEFORE removing any support for outdated release from the tree and also serve as a reference of which OSVERSION checks may be removed. Approved by: portmgr (swills, mat) Differential Revision: D9210 =3D=3D=3D Mark Millard markmi at dsl-only.net