Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2024 17:42:40 +0200
From:      Erichans <erichanskrs@gmail.com>
To:        freebsd-pkg@freebsd.org
Subject:   Optional sub-indexing by FreeBSD minor version for packages
Message-ID:  <CAM9dGPt067Bwm1L=SnQQxpDqPZrEAwJMs83qUis%2BC2Z9Eo1tQw@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
During the three months overlap period of two successive minor versions of
supported FreeBSD-RELEASE versions, packages for supported architectures
are built only for the soon-to-be-EOL minor version until its final EOL
date, after which only the highest minor version of the two is supported
(and for which packages are then build). This can be a problem for a small
number of packages, especially kernel modules.

Why can't we have an optional sub-indexing by minor version; something like
${ABI}-minor_version?
Or is this problem with incompatible packages during the three month
overlap of a new released FreeBSD minor version something that "doesn't
need fixing"?

As I see it, we have the following issues during an overlap period:

- It affects a significant number of (package) users, new and experienced
ones alike
(seems a recurring topic here on the forums in one form or another).
- It is rather antithetical to the general objective of planning and
executing updates carefully as it "forces" users to wait for a minor
version update just until the old minor version goes EOL
(The only resolve is to resort to building the port(s) in question).
- IMO it does not help in making FreeBSD more attractive for new users and
general use, o.a. desktop oriented users.
(especially when (graphics) kernel modules are "chasing" current
technological updates, be it adapted from Linux or from elsewhere).
- Looking at the FreeBSD handbook this particular package problem during
the overlap period and how to work with or around it isn't addressed or
explained.
- (As far as I know this has nothing to do with the "pkgbase" that is being
developed.)


For a solution of "package minor-version sub-indexing", I see the following
aspects:
1) Software development & implementation of adding optional FreeBSD RELEASE
minor version sub-indexing to packages.
2) Identification and tagging of all ports for specific packages that could
benefit from this minor version sub-indexing.
3) Additional *temporary* build-time for the overhead of extra packages.
4) Additional  *temporary* storage for extra packages.

The *temporary* aspect relates to the three months overlap period during
the transition period of two successive FreeBSD minor versions. Initially I
feared #3 & #4 could be a problem, but based on replies:
https://forums.freebsd.org/threads/13-2-13-3-amdgpu-doesnt-work.93433/post-655071

and
https://forums.freebsd.org/threads/13-2-13-3-amdgpu-doesnt-work.93433/post-655072
that does not seem an issue. I think the number of packages and storage
requirements do double because for each supported minor version you have
the quarterly and latest branch.

A solution would result in getting/updating a FreeBSD minor version
specific package version when there is one available, for example
13.2-RELEASE versions of the port graphics/drm-kmod (plus related ports)
and the port emulators/virtualbox-ose-kmod, or 13.3-RELEASE versions.

Kind regards,
Eric

[-- Attachment #2 --]
<div dir="ltr">During the three months overlap period of two successive minor versions of supported FreeBSD-RELEASE versions, packages for supported architectures are built only for the soon-to-be-EOL minor version until its final EOL date, after which only the highest minor version of the two is supported (and for which packages are then build). This can be a problem for a small number of packages, especially kernel modules.<br><br>Why can&#39;t we have an optional sub-indexing by minor version; something like ${ABI}-minor_version?<br>Or is this problem with incompatible packages during the three month overlap of a new released FreeBSD minor version something that &quot;doesn&#39;t need fixing&quot;?<br><br>As I see it, we have the following issues during an overlap period:<br><br>- It affects a significant number of (package) users, new and experienced ones alike<br>(seems a recurring topic here on the forums in one form or another).<br>- It is rather antithetical to the general objective of planning and executing updates carefully as it &quot;forces&quot; users to wait for a minor version update just until the old minor version goes EOL<br>(The only resolve is to resort to building the port(s) in question).<br>- IMO it does not help in making FreeBSD more attractive for new users and general use, o.a. desktop oriented users.<br>(especially when (graphics) kernel modules are &quot;chasing&quot; current technological updates, be it adapted from Linux or from elsewhere).<br>- Looking at the FreeBSD handbook this particular package problem during the overlap period and how to work with or around it isn&#39;t addressed or explained.<br>- (As far as I know this has nothing to do with the &quot;pkgbase&quot; that is being developed.)<br><br><br>For a solution of &quot;package minor-version sub-indexing&quot;, I see the following aspects:<br>1) Software development &amp; implementation of adding optional FreeBSD RELEASE minor version sub-indexing to packages.<br>2) Identification and tagging of all ports for specific packages that could benefit from this minor version sub-indexing.<br>3) Additional *temporary* build-time for the overhead of extra packages.<br>4) Additional  *temporary* storage for extra packages.<br><br><div>The *temporary* aspect relates to the three months overlap period during the transition period of two successive FreeBSD minor versions. Initially I feared #3 &amp; #4 could be a problem, but based on replies: </div><div><a href="https://forums.freebsd.org/threads/13-2-13-3-amdgpu-doesnt-work.93433/post-655071">https://forums.freebsd.org/threads/13-2-13-3-amdgpu-doesnt-work.93433/post-655071</a> </div><div>and </div><div><a href="https://forums.freebsd.org/threads/13-2-13-3-amdgpu-doesnt-work.93433/post-655072">https://forums.freebsd.org/threads/13-2-13-3-amdgpu-doesnt-work.93433/post-655072</a></div>that does not seem an issue. I think the number of packages and storage requirements do double because for each supported minor version you have the quarterly and latest branch.<br><br><div>A solution would result in getting/updating a FreeBSD minor version specific package version when there is one available, for example 13.2-RELEASE versions of the port graphics/drm-kmod (plus related ports) and the port emulators/virtualbox-ose-kmod, or 13.3-RELEASE versions.</div><div><br></div><div>Kind regards,</div><div>Eric<br></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM9dGPt067Bwm1L=SnQQxpDqPZrEAwJMs83qUis%2BC2Z9Eo1tQw>