Re: Undefined symbol "setgroups@FBSD_1.8"

From: void <void_at_f-m.fm>
Date: Wed, 15 Oct 2025 13:31:36 UTC
On Tue, Oct 14, 2025 at 11:40:26PM -0700, Mark Millard wrote:
>On Oct 14, 2025, at 21:25, void <void@f-m.fm> wrote:

>> So, what you're saying makes sense.
>> But, I cannot install sccache for 13.5 on a stable/15 host.
>
>Yes you can, presuming the usual compat support is included in
>the kernel. 

Both the stable/15 server and the releng/13.5 poudriere builder
use unmodified GENERIC. They both have the compat support.

>stable/15 can use older @FBSD_1.* symbols that it
>was designed to also be compatible with since the old interfaces
>were known at the time 15 was designed and implemented and, so,
>the compatibility code can be there to be referenced. That
>includes supporting 13.5 programs and libraries.

so it seems the compatibility code isn't being referenced
by sccache(-overlay). A bug in those ports? Or in the compatibility
code? Both?

ccache is also used (ccache4 built with -static), which
is called/copied from the server to be used internally in the builder.

ccache does not error like this. It was also built on the stable/15 host.

>sccache(-overlay) needs to be built to use the @FBSD_1.0 compatible
>symbol in order to get the old beahvaior that it was designed for.

This seems to apply to sccache(-overlay) only and I don't understand
why it is only this or how to overcome it. Unless it is/are sccache(-overlay)
bug(s).

>One way to do that is to be built for 13.5 instead of 15.* and
>to run that 13.5 based code on on 15+ .

I don't know how and can't find any instructions on how to do this.
I can guess, maybe. 
Build it in the releng/13.5 poudriere jail and install it to stable/15 
server? I guess I can do this. It seems odd to have to manually do 
this, though. Do I need to revert when the stable/15 builders run?

And why for just these two ports on the host?
--