Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2025 18:32:18 +0100
From:      Lexi Winter <ivy@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, FreeBSD-pkgbase@freebsd.org
Subject:   Re: An odd vital FreeBSD-set-* result?
Message-ID:  <aM2TohXPoE5roJD_@amaryllis.le-fay.org>
In-Reply-To: <D00275AE-2E13-45AC-AAF4-D5410E07553E@yahoo.com>
References:  <780BB42C-1EBE-4847-ADE6-F8F6730617B8.ref@yahoo.com> <780BB42C-1EBE-4847-ADE6-F8F6730617B8@yahoo.com> <aM17O4zQDo606x9V@amaryllis.le-fay.org> <D00275AE-2E13-45AC-AAF4-D5410E07553E@yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Mark Millard wrote in <D00275AE-2E13-45AC-AAF4-D5410E07553E@yahoo.com>:
> But the following indicates that the cached *.pkg files themselves
> agree with the just-4-vitals status:

do you build your packages with "make update-packages"?  if so, can you
try deleting your ${REPODIR} and rebuilding, so all packages are
recreated?

i'm wondering if adding the vital flag (but not changing anything else)
doesn't cause update-packages to actually update the package.

> Also of note is the lack of a new-line between the prior } and the
> name: for most of the above. An example of a surrounding context is:
> 
> categories: [
>     "base"
> ]
> annotations: {
>     FreeBSD_version: "1600000"
> }name: "FreeBSD-set-base-dbg"
> origin: "base"

it looks the UCL output from 'pkg info' doesn't have a trailing newline.
i think this is a pkg(8) bug, but it shouldn't have anything to do with
this issue.

to confirm, this is the full output i get for the set-src package, using
'echo' to force a trailing newline:

# pkg info -R -F /build/packages/base/FreeBSD:16:amd64/latest/FreeBSD-set-src-16.snap20250919160159.pkg; echo
name: "FreeBSD-set-src"
origin: "base"
version: "16.snap20250919160159"
comment: "System source code"
maintainer: "re@FreeBSD.org"
www: "https://www.FreeBSD.org"
abi: "FreeBSD:16:amd64"
arch: "freebsd:16:x86:64"
prefix: "/"
flatsize: 0
licenselogic: "single"
licenses: [
    "BSD2CLAUSE"
]
vital: true
desc: "This metapackage installs source code for the base system and kernel."
deps: {
    FreeBSD-src: {
        origin: "base",
        version: "16.snap20250919160159"
    },
    FreeBSD-src-sys: {
        origin: "base",
        version: "16.snap20250919160159"
    }
}
categories: [
    "base"
]
annotations: {
    FreeBSD_version: "1600000"
}
#

other than the vital flag, does this match what you have?

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaM2TnwAKCRD1nT63mIK/
YGQlAQDDRskv6bVqas0tEOB9Jfot5VXlWUkQJoiXpCncb/ByzAEAsFBunqvW0J+I
pT4hErmFkjJA+ILKKtKsgZ0NkyVy4AQ=
=P7KR
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aM2TohXPoE5roJD_>