Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2025 14:31:36 +0100
From:      void <void@f-m.fm>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Undefined symbol "setgroups@FBSD_1.8"
Message-ID:  <aO-iOK4pBzufi8Gv@int21h>
In-Reply-To: <2EC26A5F-3FEF-4D18-986D-A5106B164C64@yahoo.com>
References:  <aO7qm_KW_hTFCzll@int21h> <11DE790B-4E98-4D42-A281-E0B669474C89@yahoo.com> <aO8iH0OI61BCPBn_@int21h> <2EC26A5F-3FEF-4D18-986D-A5106B164C64@yahoo.com>

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

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?
-- 



home | help

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