[Bug 275051] [pkgbase] Package versions for 14.0-RELEASE should be "14.0", not "14"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Nov 2023 08:42:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275051

            Bug ID: 275051
           Summary: [pkgbase] Package versions for 14.0-RELEASE should be
                    "14.0", not "14"
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dfr@rabson.org

There is a problem with the pkgbase package versions for 14.0-RELEASE. Looking
at my overnight builds and comparing releng/14.0 with releng/13.2, I see that
the package versions for 14 don't include the minor revision:

# ls releng/13.2/repo/FreeBSD:13:amd64/latest/FreeBSD-runtime-13*
releng/13.2/repo/FreeBSD:13:amd64/latest/FreeBSD-runtime-13.2p5.pkg
# ls releng/14.0/repo/FreeBSD:14:amd64/latest/FreeBSD-runtime-14*
releng/14.0/repo/FreeBSD:14:amd64/latest/FreeBSD-runtime-14.pkg

This is a surprising change from the versioning used for earlier releases and
will cause package version conflicts in the future for 14.1 and later.

The problem seems to be caused by commit
a1e3fb8fa0a4652bc345bd284c32d6630a8dbe08 which changes PKG_VERSION to use
${MAJOR_REVISION} instead of ${_REVISION}.

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