Re: git: 66f36c368676 - main - packages: Add meta-package sets [ a pkgbase poudriere jail creation got a populated /usr/local/poudriere/jails/main-amd64/usr/src/ ], not just sys/

From: Mark Millard <marklmi_at_yahoo.com>
Date: Wed, 17 Sep 2025 16:35:35 UTC
On Sep 17, 2025, at 08:32, Lexi Winter <ivy@freebsd.org> wrote:

> Mark Millard wrote in <DF30C420-3469-4120-8C33-43D1913F6469@yahoo.com>:
>> One thing that is now worse for poudriere(devel) jails is that the
>> bundling of man pages with -dev means that such man pages are installed
>> in all poudriere(-devel) jails during creation. poudreire(-devel)
>> definitely does need -dev but does not need the related man pages.
> 
> we decided to disable MANSPLITPKG by default because it's annoying for
> users having to install manpages by hand for every package, and because
> they're very small: for FreeBSD-set-base (excluding lib32) the installed
> size is 815MB, of which 8MB (i.e., 1%) are manpages.

I'll note that I'm trying to report differences in what is
installed in poudiere(-devel) jails that used to not be.
I'm just trying to avoid unnoticed additions from being
implicitly accepted/installed.

I'm not objecting if the overall choice ends up being that
some of the additions are okay to leave in place. (I
might be surprised in various cases, but that is not the
same as trying to require a lack of surprise.)

As far as the choices go, it appears to me that such is
between Byran D., Baptiste D., you, and possibly others.
Not me.

> if you really don't want to install manpages, you can rebuild world with
> WITH_MANSPLITPKG=1, or you can tell pkg(8) not to install manpages:
> 
> # pkg -r /my/jail -o FILES_IGNORE_GLOB='/usr/share/man/*' install freebsd-set-base
> 
> it might be worth poudriere doing that by default, i don't really have
> any strong opinion there.

I'm not going to object to what Byran D., Baptiste D., you,
and possibly others end up choosing for the tradeoffs: if
they are noticed, considered, and left in place in a way
that I know was an explicit choice across those folks, I'm
not going to be trying override such.

If I can not tell that an explicit choice was made across
that set of folks for some type of addition, then I'm
likely to report the change in behavior for consideration
(if I noticed it, anyway).

>> poudriere(-devel) does not not yet filter out FreeBSD-set-kernels-* 
>> as the plural form is not matched by poudriere(-devel)'s filtering:
>> 
>> grep -vE -- '-man|-dbg|-kernel-|-tests|-src-'
>> 
>> So, as stands, the individual kernel packages are filtered out but
>> the FreeBSD-set-kernels-* is not filtered out, causing the kernels
>> to end up being installed into the jail.
> 
> the simplest solution here would be for poudriere to just install
> FreeBSD-set-base, which does not include any kernels.  it may also
> need FreeBSD-set-lib32, i'm not sure if any ports need that to build.
> 
> we may be adding a FreeBSD-set-base-jail later which will exclude things
> only required for physical hosts (like dhclient and WPA) but the actual
> size difference between that and set-base will probably be fairly small.

Good notes for Bryan and Bapt to consider relative to poudriere
operation.

===
Mark Millard
marklmi at yahoo.com