From nobody Mon Aug 11 10:27:54 2025 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4c0rSp1BNvz63G6f; Mon, 11 Aug 2025 10:28:26 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "prime.gushi.org", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c0rSn31BZz3wWx; Mon, 11 Aug 2025 10:28:25 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple ([IPv6:2001:500:6b:200:c000:0:0:13]) (authenticated bits=0) by prime.gushi.org (8.18.1/8.18.1) with ESMTPSA id 57BAS9EO024096 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Aug 2025 10:28:10 GMT (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 57BAS9EO024096 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1754908091; bh=H/k+LVE7mK1YYYZ0IWp8eT5ual0A3hvkb7sGcmqid9A=; h=From:Subject:Date:In-Reply-To:Cc:To:References; z=From:=20"Dan=20Mahoney=20(Ports)"=20|Subject:= 20Re:=20On/for=20main=20[so:=2015],=20ftp/curl=20's=20config:=20"l d:=20error:=20unable=20=20to=0D=0A=20find=20library=20-lgssapi"=20 (via=20poudriere-devel)|Date:=20Mon,=2011=20Aug=202025=2003:27:54= 20-0700|In-Reply-To:=20<20250811074250.2F271202@slippy.cwsent.com> |Cc:=20Mark=20Millard=20,=0D=0A=20"Herbert=20J. =20Skuhra"=20,=0D=0A=20FreeBSD-pkgbase@freebsd. org,=0D=0A=20Baptiste=20Daroussin=20,=0D=0A=20Br yan=20Drewery=20,=0D=0A=20FreeBSD=20Mailing= 20List=20,=0D=0A=20FreeBSD=20Current=20 ,=0D=0A=20"sunpoet@freebsd.org"=20|To:=20Cy=20Schubert=20|References:=20=0D=0A=20=0D=0A =20=0D=0A=20<37F1FA4E-EF28-474C -87C1-57C1BDC7F7BD@yahoo.com>=0D=0A=20<20250811074250.2F271202@sli ppy.cwsent.com>; b=r8XJED4AbDZAQwXYlBw9YwMaZydSX90ofakr+vTDDXtsxgdMfdr4XqAHGEnEuZvgz xt3j7d8cujkLD8LXb6wX8LPsoYqweSOKqvWzOj1Er4X6+1+2iFgJZ00vcTwbm8u6LB RvJkqt17PgDVpKzhLtwSwsA+vSZmKBeG29WDMjZrdB74NGRu12cHVpnJt+dWxp/MWi i0raVO9IutmVDVKmE7/JfZKtbDhFmR68QQcmBLGkTrHabJzkJslyuswicN3QrLpQMA dQpGKRJw9oFL+yaJ5oEu+u0s4VFyu/yvL60YIBHmmVs5H/oit6lRO+XJZ6Fde+1hRR 0BuSjZEO5tuzw== X-Authentication-Warning: prime.gushi.org: Host [IPv6:2001:500:6b:200:c000:0:0:13] claimed to be smtpclient.apple From: "Dan Mahoney (Ports)" Message-Id: <53FCDFAC-8091-408E-BCC0-A774CB2A45C6@gushi.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_DDC07CCD-5E25-4B0F-A41B-AF06156FEB15" List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3863.100.1\)) Subject: Re: On/for main [so: 15], ftp/curl 's config: "ld: error: unable to find library -lgssapi" (via poudriere-devel) Date: Mon, 11 Aug 2025 03:27:54 -0700 In-Reply-To: <20250811074250.2F271202@slippy.cwsent.com> Cc: Mark Millard , "Herbert J. Skuhra" , FreeBSD-pkgbase@freebsd.org, Baptiste Daroussin , Bryan Drewery , FreeBSD Mailing List , FreeBSD Current , "sunpoet@freebsd.org" To: Cy Schubert References: <37F1FA4E-EF28-474C-87C1-57C1BDC7F7BD@yahoo.com> <20250811074250.2F271202@slippy.cwsent.com> X-Mailer: Apple Mail (2.3863.100.1) X-Rspamd-Queue-Id: 4c0rSn31BZz3wWx X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US] --Apple-Mail=_DDC07CCD-5E25-4B0F-A41B-AF06156FEB15 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 11, 2025, at 12:42=E2=80=AFAM, Cy Schubert = wrote: >=20 > In message <37F1FA4E-EF28-474C-87C1-57C1BDC7F7BD@yahoo.com = >, Mark Millard=20= > write > s: >> On Aug 10, 2025, at 23:13, Herbert J. Skuhra > wrote: >>=20 >>> 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. >>>> =3D20 >>>> But not ftp/curl . That, in turn, blocks a lot of other >>>> packages from being built. >>>> =3D20 >>>> =3D20 >>>> # ~/fbsd-based-on-what-commit.sh -C /usr/ports/ >>>> 78939953d5e7 (HEAD -> main, freebsd/main, freebsd/HEAD) =3D >> databases/py-pg8000: Update to 1.31.4 >>>> Author: Wen Heping > >>>> Commit: Wen Heping > >>>> 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) >>>> =3D20 >>>> # uname -apKU >>>> FreeBSD 7950X3D-ZFS 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE =3D >> main-n279519-7a9834041c91 GENERIC-NODEBUG amd64 amd64 1500059 1500059 >>>> =3D20 >>>> ftp/curl fails for: >>>> =3D20 >>>> configure:4974: checking whether the C compiler works >>>> configure:4996: cc -I/usr/include -O2 -pipe = -fstack-protector-strong =3D >> -isystem /usr/local/include -fno-strict-aliasing -I/usr/include =3D >> -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 =3D >> -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 =3D >> invocation) >>> =3D20 >>> This was fixed in e38b33060387830da36ca834dee9365995fe06dc, wasn't = it? >>=20 >>=20 >> That change does not fix the content of the poudriere jail >> world having the file missing that is in the test structure: >>=20 >> .if exists(/usr/libexec/krb5kdc) >> MIT KRB5 HERE (includes e38b330603878 change) >> .else >> Heimdal KRB5 HERE (this is what is being used) >> .endif >>=20 >> Overall e38b330603878 is necessary but not sufficient >> for: >>=20 >> # poudriere jail -l >> JAILNAME VERSION OSVERSION ARCH METHOD TIMESTAMP = =3D >> PATH >> . . . >> main-amd64 15.0-CURRENT amd64 pkgbase 2025-08-09 =3D >> 20:27:14 /usr/local/poudriere/jails/main-amd64 >> . . . >>=20 >> There ended up being no: >>=20 >> /usr/local/poudriere/jails/main-amd6/usr/libexec/krb5kdc >>=20 >>=20 >> =3D3D=3D3D=3D3D >> Mark Millard >> marklmi at yahoo.com >=20 > ftp/curl must be rebuilt. After applying the patch rebuild curl using=20= > 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. =20 # 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 >=20 >=20 > --=20 > Cheers, > Cy Schubert > > FreeBSD UNIX: > Web: = https://FreeBSD.org > NTP: > Web: = https://nwtime.org >=20 > e**(i*pi)+1=3D0 --Apple-Mail=_DDC07CCD-5E25-4B0F-A41B-AF06156FEB15 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Aug 11, 2025, at 12:42=E2=80=AFAM, Cy Schubert = <Cy.Schubert@cschubert.com> wrote:

In message <37F1FA4E-EF28-474C-87C1-57C1BDC7F7BD@yahoo.com>, Mark Millard 
write
s:
On Aug 10, 2025, at 23:13, Herbert J. Skuhra = <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.
=3D20
But not ftp/curl . That, = in turn, blocks a lot of other
packages from being = built.
=3D20
=3D20
# ~/fbsd-based-on-what-commit.sh -C = /usr/ports/
78939953d5e7 (HEAD -> main, freebsd/main, = freebsd/HEAD) =3D
databases/py-pg8000: = Update to 1.31.4
Author:     Wen Heping <wen@FreeBSD.org>
Commit: =     Wen Heping <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)
=3D20
# uname -apKU
FreeBSD 7950X3D-ZFS = 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE = =3D
main-n279519-7a9834041c91 = GENERIC-NODEBUG amd64 amd64 1500059 1500059
=3D20
ftp/curl fails = for:
=3D20
configure:4974: checking whether the C compiler = works
configure:4996: cc -I/usr/include -O2 -pipe =  -fstack-protector-strong =3D
-isystem = /usr/local/include -fno-strict-aliasing  -I/usr/include = =3D
-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 = =3D
-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 =3D
invocation)
=3D20
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 =          =3D
PATH
. . = .
main-amd64       15.0-CURRENT =           amd64 = pkgbase 2025-08-09 =3D
20:27:14 = /usr/local/poudriere/jails/main-amd64
. . .

There ended up = being = no:

/usr/local/poudriere/jails/main-amd6/usr/libexec/krb5kdc

=3D3D=3D3D=3D3D
Mark Millard
marklmi at 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>
FreeBSD = UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP: =           <cy@nwtime.org> =    Web:  https://nwtime.org

= e**(i*pi)+1=3D0

= --Apple-Mail=_DDC07CCD-5E25-4B0F-A41B-AF06156FEB15--