[Bug 278631] pkg update fails when explicitly providing ABI (since 1.21.2)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Apr 2024 10:32:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278631

--- Comment #3 from crest@rlwinm.de ---
I can't speak for Markus, but my use-case isn't that I explicitly set the ABI.
Instead I invoke `make packages` on a releng/14.0 tree and Makefile.inc1 sets
the ABI which triggers the changed behaviour in pkg-1.21.2 resulting broken
repos with the kernel packages annotated as FreeBSD_version="0". When `pkg
update -r local_base` tries to update from the corrupted it detects the
corruption and refuses to update the local database for the repo. To me this a
regression that should be fixed: `make packages` used to generate a valid repo
and now it doesn't.

What's the motivation behind the change in pkg version 1.21.[0-2]? Was it just
a cleanup attempt with unforeseen fallout or is it required to solve a more
important problem and the Makefiles have to change to set either all or
nothing? Is there some mail/issue/documentation I can read to learn more?

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