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: Tue, 12 Aug 2025 13:59:22 UTC
On Aug 11, 2025, at 18:37, Mark Millard <marklmi@yahoo.com> wrote:

> On Aug 11, 2025, at 09:06, Lexi Winter <ivy@freebsd.org> wrote:
> 
>> Mark Millard:
>>> # 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
>> 
>> this is probably caused by not having the FreeBSD-kerberos-kdc package
>> installed in the jail.  either install it (or recreate the jail), or
>> update to ports d30d5dfae517 or later which no longer uses
>> /usr/libexec/krb5kdc to determine the base Kerberos version.
>> 
>> you also need to be running src 0c13e9c3c464 or later; see [0], but in
>> short if you don't have /usr/libdata/pkgconfig/mit-krb5.pc in your jail
>> then the jail is too old.
>> 
>> [0] https://lists.freebsd.org/archives/freebsd-ports/2025-August/008256.html.
> 
> The system and the jail are both updated.
> 
> # ls /usr/local/poudriere/jails/main-amd64/usr/libdata/pkgconfig/mit-krb5.pc 
> /usr/local/poudriere/jails/main-amd64/usr/libdata/pkgconfig/mit-krb5.pc
> 
> ftp/curl     built okay.
> net/libproxy built okay.
> 
> But devel/libsoup3 (defaults) . . .

FYI: devel/libsoup3 was updated and now builds.

> . . .
> ---Begin OPTIONS List---
> ===> The following configuration options are available for libsoup3-3.6.5_2:
>     VAPI=on: Build VALA API files
> ====> GSSAPI Security API support: you have to select exactly one of them
>     GSSAPI_BASE=on: GSSAPI support via base system (needs Kerberos)
>     GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
>     GSSAPI_MIT=off: GSSAPI support via security/krb5
>     GSSAPI_NONE=off: Disable GSSAPI support
> ===> Use 'make config' to modify these settings
> ---End OPTIONS List---
> . . .
> ld: error: unable to find library -lgssapi
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> 
> [00:00:25] [02] [00:00:00] Building   devel/libsoup3 | libsoup3-3.6.5_2
> [00:00:35] [02] [00:00:10] Finished   devel/libsoup3 | libsoup3-3.6.5_2: Failed: build TMPFS: 1.71 GiB usr/local/ SIZE: 0.53 GiB
> [00:00:35] [02] [00:00:10] Skipping   net/geoclue | geoclue-2.7.2: Dependent port devel/libsoup3 | libsoup3-3.6.5_2 failed
> [00:00:35] [02] [00:00:10] Skipping   math/gnuplot | gnuplot-5.4.10_3: Dependent port devel/libsoup3 | libsoup3-3.6.5_2 failed
> [00:00:35] [02] [00:00:10] Skipping   www/webkit2-gtk@40 | webkit2-gtk_40-2.46.6_1: Dependent port devel/libsoup3 | libsoup3-3.6.5_2 failed
> [00:00:35] [02] [00:00:10] Skipping   x11-toolkits/wxgtk30@gtk3 | wx30-gtk3-3.0.5.1_6: Dependent port devel/libsoup3 | libsoup3-3.6.5_2 failed
> 
> 
> It may be that an exp run would be appropriate to finding
> all the breakage.
> 
> 
> I've not tried aarch64 yet. Nor armv7. Just amd64.
> 
> For reference:
> 
> # uname -apKU
> FreeBSD 7950X3D-ZFS 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE main-n279547-b89104dfd5cf GENERIC-NODEBUG amd64 amd64 1500059 1500059
> 
> # ~/fbsd-based-on-what-commit.sh -C /usr/ports/
> f8cd147ba77e (HEAD -> main, freebsd/main, freebsd/HEAD) misc/susv*: maintenance
> Author:     Matthias Andree <mandree@FreeBSD.org>
> Commit:     Matthias Andree <mandree@FreeBSD.org>
> CommitDate: 2025-08-11 16:41:07 +0000
> branch: main
> merge-base: f8cd147ba77efe45b563f08fda2ec3b99b30cec5
> merge-base: CommitDate: 2025-08-11 16:41:07 +0000
> n715533 (--first-parent --count for merge-base)
> 



===
Mark Millard
marklmi at yahoo.com