Re: On/for main [so: 15], ftp/curl 's config: "ld: error: unable to find library -lgssapi" (via poudriere-devel)

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 11 Aug 2025 15:39:07 UTC
On Aug 11, 2025, at 04:51, Herbert J. Skuhra <herbert@gojira.at> wrote:

> On Mon, Aug 11, 2025 at 01:21:58PM +0200, Dag-Erling Smørgrav wrote:
>> Cy Schubert <Cy.Schubert@cschubert.com> writes:
>>> ftp/curl must be rebuilt.
>> 
>> Cy, https://reviews.freebsd.org/D51842 is still blocked waiting for your
>> input.  Building ftp/curl won't be possible again until it or something
>> like it goes in.
> 
> Really? I am running main-n279539-5853a9971a50 and could build ftp/curl
> with GSSAPI_BASE=on:
> 
> $ ldd `which curl`|grep krb5
>        libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x3935891dc000)
>        libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x39358aa86000)
> 
> 'poudriere testport -j main ftp/curl' was also OK.

What METHOD does for poudriere jail -l for your -j main ?
Mine shows pkgbase and:

# poudriere jail -j main-amd64 -u

was not adding the missing file /usr/libexec/krb5kdc
to the poudriere jail. For reference:

# poudriere jail -l
JAILNAME         VERSION      OSVERSION ARCH  METHOD  TIMESTAMP           PATH
. . .
main-amd64       15.0-CURRENT           amd64 pkgbase 2025-08-09 20:27:14 /usr/local/poudriere/jails/main-amd64

# ls /usr/local/poudriere/jails/main-amd64/usr/libexec/krb5kdc
ls: /usr/local/poudriere/jails/main-amd64/usr/libexec/krb5kdc: No such file or directory

> But yes, there was an error about (a) missing .pc file(s)... bug 288770?


===
Mark Millard
marklmi at yahoo.com