Re: On/for main [so: 15], ftp/curl 's config: "ld: error: unable to find library -lgssapi" (via poudriere-devel)
- Reply: Herbert J. Skuhra: "Re: On/for main [so: 15], ftp/curl 's config: "ld: error: unable to find library -lgssapi" (via poudriere-devel)"
- In reply to: Cy Schubert : "Re: On/for main [so: 15], ftp/curl 's config: "ld: error: unable to find library -lgssapi" (via poudriere-devel)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Aug 2025 10:27:54 UTC
> On Aug 11, 2025, at 12:42 AM, Cy Schubert <Cy.Schubert@cschubert.com> wrote: > > In message <37F1FA4E-EF28-474C-87C1-57C1BDC7F7BD@yahoo.com <mailto:37F1FA4E-EF28-474C-87C1-57C1BDC7F7BD@yahoo.com>>, Mark Millard > write > s: >> On Aug 10, 2025, at 23:13, Herbert J. Skuhra <herbert@gojira.at <mailto:herbert@gojira.at>> 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 <wen@FreeBSD.org <mailto:wen@FreeBSD.org>> >>>> Commit: Wen Heping <wen@FreeBSD.org <mailto:wen@FreeBSD.org>> >>>> 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 <http://yahoo.com/> > > ftp/curl must be rebuilt. After applying the patch rebuild curl using > poudriere-bulk with the -C flag. Yeah, this recent hilarity is fun. Breaking curl also breaks git, which breaks the ability to update ports trees in poudriere. # poudriere ports -u -p default_git [00:00:00] Updating portstree "default_git" with git+https...ld-elf.so.1: Shared object "libssl.so.30" not found, required by "libcurl.so.4" fatal: remote helper 'https' aborted session [00:00:00] Error: fail Something else has changed the major of libcrypto.so older binaries no longer work. # poudriere bulk -c -j freebsd:15:x86:64 -p default_git ftp/curl [00:00:00] Creating the reference jail... done [00:00:00] Mounting system devices for freebsd:15:x86:64-default_git [00:00:00] Warning: Using packages from previously failed, or uncommitted, build: /usr/local/poudriere/data/packages/freebsd:15:x86:64-default_git/.building [00:00:00] Mounting ports from: /usr/local/poudriere/ports/default_git [00:00:00] Mounting packages from: /usr/local/poudriere/data/packages/freebsd:15:x86:64-default_git [00:00:00] Mounting distfiles from: /usr/ports/distfiles [00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf /etc/resolv.conf -> /usr/local/poudriere/data/.m/freebsd_15_x86_64-default_git/ref/etc/resolv.conf [00:00:00] Starting jail freebsd:15:x86:64-default_git Updating /var/run/os-release done. [00:00:01] Will build as nobody:nobody (65534:65534) ld-elf.so.1: Shared object "libcrypto.so.30" not found, required by "cpdup" [ERROR] Unhandled error! [00:00:01] Cleaning up [00:00:01] Unmounting file systems Exiting with status 1 (want to guess how many invocations of -c I tried before I realized poudriere keeps its own copy of cpdup?) ... Also, is it normal that on 15, I don't see poudriere in pkg? # pkg search poudriere # I strongly suspect that if I just breathe and wait a few days, all these pkg trees will coalesce and I'll get things that expect modern libraries. It just feels like various parts of the world are out of sync with each other. And the pkg tree was built last on...looks like August 4th? I suspect something's stuck. -Dan > > > -- > Cheers, > Cy Schubert <Cy.Schubert@cschubert.com <mailto:Cy.Schubert@cschubert.com>> > FreeBSD UNIX: <cy@FreeBSD.org <mailto:cy@FreeBSD.org>> Web: https://FreeBSD.org <https://freebsd.org/> > NTP: <cy@nwtime.org <mailto:cy@nwtime.org>> Web: https://nwtime.org <https://nwtime.org/> > > e**(i*pi)+1=0