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

Cy Schubert <[email protected]>
Newsgroups gmane.os.freebsd.devel.pkgbase,gmane.os.freebsd.devel.ports,gmane.os.freebsd.current
Message-ID <[email protected]>
In message <[email protected]>, Mark Millard 
write
s:
> On Aug 10, 2025, at 23:13, Herbert J. Skuhra <[email protected]> wrote:
>
> > On Sun, Aug 10, 2025 at 10:31:16PM -0700, Mark Millard wrote:
> >> For the most part my attempt to build my normal packages
> >> has worked after my system and ports-tree upgrades.
> >>=20
> >> But not ftp/curl . That, in turn, blocks a lot of other
> >> packages from being built.
> >>=20
> >>=20
> >> # ~/fbsd-based-on-what-commit.sh -C /usr/ports/
> >> 78939953d5e7 (HEAD -> main, freebsd/main, freebsd/HEAD) =
> databases/py-pg8000: Update to 1.31.4
> >> Author:     Wen Heping <[email protected]>
> >> Commit:     Wen Heping <[email protected]>
> >> CommitDate: 2025-08-11 02:14:14 +0000
> >> branch: main
> >> merge-base: 78939953d5e7bfcdcbd3bccb789531be3637c6dc
> >> merge-base: CommitDate: 2025-08-11 02:14:14 +0000
> >> n715497 (--first-parent --count for merge-base)
> >>=20
> >> # uname -apKU
> >> FreeBSD 7950X3D-ZFS 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE =
> main-n279519-7a9834041c91 GENERIC-NODEBUG amd64 amd64 1500059 1500059
> >>=20
> >> ftp/curl fails for:
> >>=20
> >> configure:4974: checking whether the C compiler works
> >> configure:4996: cc -I/usr/include -O2 -pipe  -fstack-protector-strong =
> -isystem /usr/local/include -fno-strict-aliasing  -I/usr/include =
> -I/usr/include -isystem /usr/local/include    -L/usr/lib -L/usr/l
> >> ib -L/usr/local/lib  conftest.c -lkrb5 -lgssapi -lgssapi_krb5 -lkrb5 =
> -lgssapi -lgssapi_krb5 >&5
> >> ld: error: unable to find library -lgssapi
> >> ld: error: unable to find library -lgssapi
> >> cc: error: linker command failed with exit code 1 (use -v to see =
> invocation)
> >=20
> > This was fixed in e38b33060387830da36ca834dee9365995fe06dc, wasn't it?
>
>
> That change does not fix the content of the poudriere jail
> world having the file missing that is in the test structure:
>
> .if exists(/usr/libexec/krb5kdc)
> MIT KRB5 HERE (includes e38b330603878 change)
> .else
> Heimdal KRB5 HERE (this is what is being used)
> .endif
>
> Overall e38b330603878 is necessary but not sufficient
> for:
>
> # 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
> . . .
>
> There ended up being no:
>
> /usr/local/poudriere/jails/main-amd6/usr/libexec/krb5kdc
>
>
> =3D=3D=3D
> Mark Millard
> marklmi at yahoo.com

ftp/curl must be rebuilt. After applying the patch rebuild curl using 
poudriere-bulk with the -C flag.


-- 
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
NTP:           <[email protected]>    Web:  https://nwtime.org

			e**(i*pi)+1=0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.