Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 13:51:49 +0000
From:      Lexi Winter <lexi@le-fay.org>
To:        void <void@f-m.fm>
Cc:        freebsd-current@freebsd.org
Subject:   Re: meta mode
Message-ID:  <ZbUKdeuXK92TOeV7@ilythia.eden.le-fay.org>
In-Reply-To: <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com>
References:  <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com>

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

[-- Attachment #1 --]
void:
> But, from time to time, one might be required to make
> cleanworld && make cleandir (to be sure) && make clean (to be *really* sure)
 
> What circumstances & notices in /usr/src/UPDATING would require it?

one case this is required in non-meta mode is if you use pkg(8) (e.g.,
with poudriere), which determines the 'running kernel' version by
looking at the ELF notes of /usr/bin/uname.  if __FreeBSD_version is
bumped but that binary isn't rebuilt, which is normal with an
incremental build then pkg will report a version mismatch error.

the (easiest) fix for that is to do a full rebuild every time
__FreeBSD_version changes.

pkg(8) bug report: https://github.com/freebsd/pkg/issues/2162

i don't know if meta mode will catch this and rebuild correctly, but
since this confused me the first time i ran into it, i thought it was
worth mentioning.

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

iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmW1CnMACgkQDHqbqZ41
x5kI8gv+Pcziqs2x7at22lV0NQcy9HzAqm/ap8539xa42XQBINpBuGXZZgi/9I4R
L2Zxq4jhyw7hIGudAcAMrU7U6nnw5meqFgQrAWdir/2TIYilkkaJB5tJ9gsBpOgL
kOySwmma+YSHlEZTIlJsI0oE1+boCLXj1EgcdN8hEU80sVfSPTswIYZNiEUADEhQ
Pgg2JAsE96BnCg19X3FRC7Pc1T1CURLeNMCDNGjjyTCPEigFfmWweGxtW19KnO59
cL9iOVDyafsxoi3nTIvKBDjBOuQo/TH7QfJot9HqKH/U1UtmSQEV213YmxQE6jid
RBcJRuidndxhb5GaLQThDNCXVNiRduSGHwn6vEiitUxx/jhhm8YSeMgGLEsK+nm/
a48SqIDsJwc1RdsJOXhNQz3dKa8h7Ywp9nrHkIcfrV/6uyzhhk0SsHa4LnMl7T2e
A+98H6aHaBf7UWsh8xJ7vuK2xM1NfULDYB3FduLMsZ39NT0m4up/kbkVwlqxMMWs
2ApU2cXc
=e5GV
-----END PGP SIGNATURE-----
help

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