[Bug 283477] graphics/drm-61-kmod cannot rebuild using portmaster

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Dec 2024 20:00:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283477

--- Comment #5 from rkoberman@gmail.com ---
(In reply to web from comment #4)
First, this is an issue on all versions. I have it and I am running 15, though
it's almost 2 months old.

The issue is with the auto-generated index files. You can generate the index by
'make -C /usr/ports index'. This works fine, but 'make fetchindex' just
downloads an automatically generated index the is including the OSVERSION which
triggers pkg version to see the version with the new OSVERSION to be seen as
newer (showing a < separator).

If this issue does not get fixed soon, I will start generating the index
locally. Once I do that, the bogus output of 'pkg version' is gone.

Since the OSVERSION does not indicate that the port has been changed, only that
the packaging system will build packages for any release that results in a bump
in OSVERSION, so that an updated package is required. This fixes the long
standing problem with packages only being built for the oldest minor release of
a major version. Without this change, essentially flavoring the port, kernel
module packages might not work with a subsequent minor release. While this does
not apply to main (15) or stable, the auto-build of the index does build an
index containing the irrelevant OSVERSION.

That said, portmaster does the right thing and reinstalles the correct version.

-- 
You are receiving this mail because:
You are the assignee for the bug.