From nobody Mon Sep 15 10:13:47 2025 X-Original-To: freebsd-current@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 4cQLTq1KsNz68Mpf for ; Mon, 15 Sep 2025 10:13:51 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (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 (prime256v1) client-digest SHA256) (Client CN "mail.oetec.com", Issuer "E8" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cQLTp3vTSz3pcP for ; Mon, 15 Sep 2025 10:13:50 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blastwave.org header.s=default header.b=n+H1gyXJ; dmarc=pass (policy=quarantine) header.from=blastwave.org; spf=pass (mx1.freebsd.org: domain of dclarke@blastwave.org designates 108.160.241.186 as permitted sender) smtp.mailfrom=dclarke@blastwave.org Received: from [172.16.35.3] (pool-99-253-118-250.cpe.net.cable.rogers.com [99.253.118.250]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.17.1) with ESMTPSA id 58FADlRf044848 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 15 Sep 2025 06:13:47 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1757931227; bh=2TyD8Ar2OFlk20NSqpETZAHk2TMhv28J9+wrtTYr+bU=; h=Date:Subject:To:References:From:In-Reply-To; b=n+H1gyXJR/YisFOegCIxiDl/QQfekn1KHlV3lSwhdIT723YUoZc9pUkZTT0V6bAbu HJYVR3lNGUrmdUyTubQqYE4KJd5Y/bCux47vKRxml9IqCcDpZMqZUAxmN98yiJsyOY k6HRjqixKi4I+4vqebtzG8ssc/ybGi70jz3G5ZOJB6thxhD1n6e+g61z0QHCq48HPZ hPjykYcIzEYSJaZob2BFVSl171NIFadB+lNrJF2GosTOq/UheiCky+ELSCtH1JZAoj eEiP0rmMtLceC5PmfPCjbS+gssHH0rflarPlKKcp/DAk1LN105xHq3jpC0M1PPNXOs szXh2br+oG47w== Message-ID: <997e0d5d-a257-4088-9f6f-aae7c56ad554@blastwave.org> Date: Mon, 15 Sep 2025 06:13:47 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git is broken because curl is broken which stops me in my tracks Content-Language: en-CA To: freebsd-current@freebsd.org References: From: Dennis Clarke Organization: GENUNIX In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 58FADlRf044848 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[blastwave.org,quarantine]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[blastwave.org:s=default]; R_SPF_ALLOW(-0.20)[+mx:c]; RCVD_IN_DNSWL_MED(-0.20)[108.160.241.186:from]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[blastwave.org:+] X-Rspamd-Queue-Id: 4cQLTp3vTSz3pcP On 9/14/25 23:15, Mark Millard wrote: > [Note: do not have access to a riscv64 context, > limiting my ability to detect expected > differences.] > > Dennis Clarke wrote on > Date: Mon, 15 Sep 2025 01:00:06 UTC : > >> Well I am not sure how to get around this mess : > > uname -apKU output for the failing context? For > the poudriere jail's world? > Both the system itself and the poudriere jail are based on the same sources. enceladus# uname -apKU FreeBSD enceladus 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE main-n279980-004ce88ad1ef GENERIC riscv riscv64 1500063 1500063 enceladus# enceladus# poudriere jails -l JAILNAME VERSION ARCH METHOD TIMESTAMP PATH 150rv64 15.0-PRERELEASE 1500063 riscv.riscv64 src=/usr/src 2025-09-02 17:06:01 /poudriere/jails/150rv64 enceladus# > On main 16 for amd64, for example: > > /usr/lib/libkrb5.so.122 > > Does that file exist in your failing context? Well this is funny. The file exists in the poudriere jail and NOT on the system itself : enceladus# ls -l /usr/lib/libkrb5.so.122 ls: /usr/lib/libkrb5.so.122: No such file or directory enceladus# enceladus# ls -l /poudriere/jails/150rv64/usr/lib/libkrb5.so.122 -r--r--r-- 1 root wheel 723424 Sep 4 07:51 /poudriere/jails/150rv64/usr/lib/libkrb5.so.122 enceladus# > So, presuming use of the system libraries for such, > not a ports-build of such a library, the missing > or unloadble library is a system library. Are > you in fact trying to use the system library? > I am ( in fact ) using packages built with poudriere on this machine with that jail. > Are you sure that you have your system and your > poudriere jail's world configurations matching, > such as for WITH_MITKRB5 vs. WITHOUT_MITKRB5 ? I am not aware of any such tweaks and where would they hide? >> enceladus# cd /usr/src >> enceladus# git pull origin main >> ld-elf.so.1: Shared object "libkrb5.so.122" not found, required by >> "libcurl.so.4" >> fatal: remote helper 'https' aborted session > > I'll note that "ldd -a PATH" gives a lot more > information about the dependency structure > that causes libraries to be listed. Sometimes > that is handy. yep .. the package built last night for git and curl is broken as far as the system is concerned : enceladus# enceladus# ls -l /usr/local/bin/curl -rwxr-xr-x 1 root wheel 245688 Sep 14 22:07 /usr/local/bin/curl enceladus# ldd -a /usr/local/bin/curl /usr/local/bin/curl: libcurl.so.4 => /usr/local/lib/libcurl.so.4 (0x6afcc6000) libnghttp2.so.14 => /usr/local/lib/libnghttp2.so.14 (0x6b0a8a000) libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0x6b18d6000) libssh2.so.1 => /usr/local/lib/libssh2.so.1 (0x6af328000) libpsl.so.5 => /usr/local/lib/libpsl.so.5 (0x6b3107000) libssl.so.35 => /usr/lib/libssl.so.35 (0x6b2867000) libcrypto.so.35 => /lib/libcrypto.so.35 (0x6b3a20000) libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0x6b4a01000) libbrotlidec.so.1 => /usr/local/lib/libbrotlidec.so.1 (0x6b6152000) libbrotlicommon.so.1 => /usr/local/lib/libbrotlicommon.so.1 (0x6b52f8000) libz.so.6 => /lib/libz.so.6 (0x6b7235000) libkrb5.so.122 => not found (0) libgssapi_krb5.so.122 => not found (0) libthr.so.3 => /lib/libthr.so.3 (0x6b66f7000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libcurl.so.4: libnghttp2.so.14 => /usr/local/lib/libnghttp2.so.14 (0x6b0a8a000) libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0x6b18d6000) libssh2.so.1 => /usr/local/lib/libssh2.so.1 (0x6af328000) libpsl.so.5 => /usr/local/lib/libpsl.so.5 (0x6b3107000) libssl.so.35 => /usr/lib/libssl.so.35 (0x6b2867000) libcrypto.so.35 => /lib/libcrypto.so.35 (0x6b3a20000) libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0x6b4a01000) libbrotlidec.so.1 => /usr/local/lib/libbrotlidec.so.1 (0x6b6152000) libbrotlicommon.so.1 => /usr/local/lib/libbrotlicommon.so.1 (0x6b52f8000) libz.so.6 => /lib/libz.so.6 (0x6b7235000) libkrb5.so.122 => not found (0) libgssapi_krb5.so.122 => not found (0) libthr.so.3 => /lib/libthr.so.3 (0x6b66f7000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libnghttp2.so.14: libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libidn2.so.0: libunistring.so.5 => /usr/local/lib/libunistring.so.5 (0x6b9849000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libssh2.so.1: libcrypto.so.35 => /lib/libcrypto.so.35 (0x6b3a20000) libz.so.6 => /lib/libz.so.6 (0x6b7235000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libpsl.so.5: libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0x6b18d6000) libunistring.so.5 => /usr/local/lib/libunistring.so.5 (0x6b9849000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/lib/libssl.so.35: libcrypto.so.35 => /lib/libcrypto.so.35 (0x6b3a20000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /lib/libcrypto.so.35: libthr.so.3 => /lib/libthr.so.3 (0x6b66f7000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libzstd.so.1: libthr.so.3 => /lib/libthr.so.3 (0x6b66f7000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libbrotlidec.so.1: libm.so.5 => /lib/libm.so.5 (0x6ba323000) libbrotlicommon.so.1 => /usr/local/lib/libbrotlicommon.so.1 (0x6b52f8000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /usr/local/lib/libbrotlicommon.so.1: libm.so.5 => /lib/libm.so.5 (0x6ba323000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /lib/libz.so.6: libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /lib/libthr.so.3: libc.so.7 => /lib/libc.so.7 (0x6b86c8000) libsys.so.7 => /lib/libsys.so.7 (0x6bb012000) /lib/libc.so.7: libsys.so.7 => /lib/libsys.so.7 (0x6bb012000) /usr/local/lib/libunistring.so.5: libthr.so.3 => /lib/libthr.so.3 (0x6b66f7000) libc.so.7 => /lib/libc.so.7 (0x6b86c8000) /lib/libm.so.5: libc.so.7 => /lib/libc.so.7 (0x6b86c8000) enceladus# >> >> I am not sure how to dig out of this rathole. > The problem that I ponder over coffee this morning is that I have a system built from sources. From the stuff in /usr/src which I use git to fetch. That works. Then I build a new jail from those same sources. That works. Then I build packages with poudriere using the jail. That works with a pile of exceptions because RISC-V is just a lab bench experiment. Then I run "pkg upgrade -Ffy" followed closely by "pkg upgrade -fy". At this point I have packages that are self hosted on this board and I expect things to "just work" within those packages. That does not work. This is the problem I ponder over coffee this morning. -- -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken