From nobody Fri Sep 2 10:20:03 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4MJv5y365Nz4bdf1 for ; Fri, 2 Sep 2022 10:19:18 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4MJv5w5qSmz3sw1 for ; Fri, 2 Sep 2022 10:19:16 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 0000000000F13FD7.000000006311D8A1.00004791; Fri, 02 Sep 2022 12:19:13 +0200 Date: Fri, 2 Sep 2022 12:20:03 +0200 From: Milan Obuch To: ports@freebsd.org Subject: Re: Ports Collection support for your FreeBSD version has ended... Message-ID: <20220902122003.3ff6bc17@zeta.dino.sk> In-Reply-To: References: <20220902080913.3049eb0e@zeta.dino.sk> <8rn2-cii8-wny@FreeBSD.org> <20220902102510.562724ee@zeta.dino.sk> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4MJv5w5qSmz3sw1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-ports@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-ports@dino.sk X-Spamd-Result: default: False [-1.27 / 15.00]; NEURAL_HAM_SHORT(-0.97)[-0.969]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[dino.sk]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, 02 Sep 2022 12:01:42 +0200 Jan Beich wrote: > Milan Obuch writes: > > > On Fri, 02 Sep 2022 10:01:19 +0200 > > And what about 12.3-STABLE? > > # 12.3-RELEASE > $ git show release/12.3.0:sys/sys/param.h | grep define.\*_version > #define __FreeBSD_version 1203000 /* Master, propagated to > newvers */ > > # 12.3-STABLE > $ git show origin/stable/12:sys/sys/param.h | grep define.\*_version > #define __FreeBSD_version 1203507 /* Master, propagated to > newvers */ > > > Where is this version constant defined in ports tree? > > From Mk/bsd.port.mk > > . if ${OPSYS} == FreeBSD && (${OSVERSION} < 1203000 || > (${OSVERSION} >= 1300000 && ${OSVERSION} < 1301000)) > _UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your > ${OPSYS} version has ended, and no ports\ are guaranteed to build on > this system. Please upgrade to a supported release. . if > defined(ALLOW_UNSUPPORTED_SYSTEM) WARNING+= > "${_UNSUPPORTED_SYSTEM_MESSAGE}" . else > show-unsupported-system-error: @${ECHO_MSG} "/!\\ ERROR: /!\\" > @${ECHO_MSG} > @${ECHO_MSG} "${_UNSUPPORTED_SYSTEM_MESSAGE}" | ${FMT_80} > @${ECHO_MSG} > @${ECHO_MSG} "No support will be provided if you silence this > message by defining ALLOW_UNSUPPORTED_SYSTEM." | ${FMT_80} > @${ECHO_MSG} @${FALSE} > . endif > . endif > > > How can this version be inspected using just binaries installed? > > "sysctl kern.osreldate". It's not used by ports/ since 2014-09-30 > (9576bda6137e). > > If you want to build ports/ then /usr/include must exist, and > kern.osreldate must not be older than or . > Otherwise, freshly built binaries may not be able to run. > > poudriere records kern.osreldate as "Host OSVERSION" and > as "Jail OSVERSION". For example, package cluster build > logs often have "Host OSVERSION" matching -CURRENT kernel around the > time. > Thanks for great explanation. It really helps. Ports collection is really a monster, so some hints are really needed at times. Even if can find it myself, experience could be gained this way, still, it would require much more time... having some support is often invaluable. Regards, Milan