From nobody Thu Jun 26 05:54:03 2025 X-Original-To: dev-commits-src-main@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 4bSSYg2gncz606Hw; Thu, 26 Jun 2025 05:54:15 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bSSYg24MVz3HDJ; Thu, 26 Jun 2025 05:54:15 +0000 (UTC) (envelope-from olivier@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750917255; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=latC5g9Z36OyvGdhJEn13KynnKvpGU91Ejq7bttls30=; b=b9haaCwucdw1vCEn6G9d8X+IzNACRxjjG7bo6Sr3fo6gmhgQugLRPpjZ12skA2xdudwtQF eNWJQgYVhZlnJcNtxUGlDwI2RnjpxbiVmLfFRLtR5nNg0JhGLADxyAMA4UFIEeux6czhaL Rquw3iGozNUEkI4prtcLn3CRH8FlAMIrU9OFbA2s7WuhnWbynKpm4EkyaGcFcnFvi/BG4t 54i9lRpNWgnl3DOGCiuqBdmc/gPMY6Q+0XgSuIlNZCx2WTlfsoLy36MgLr2M4qqO9zBBLr SvEc/w0pJRL3OeY5bwrFn5k/W4i65XYCjgWgNYF7JS5mPoeEkZZg1zTtjbryNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750917255; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=latC5g9Z36OyvGdhJEn13KynnKvpGU91Ejq7bttls30=; b=a8eL3kth0tP2+ypBULZYStVnzDO4uaRwiANrR7JZGDKjUfx/R/R8Bf2ybKIsNnshpAFfyF PSxwDZgD0Ze/ngx9O+zARRr0J6jYQe7fCzNHS2Mpnjy1Y/PfjeDDy22CB+OGhS4Bic9We0 AHKdX8fryMWorpWlFBHxLW0XqTQIn1Vr8WPM33uGa8yvCqg/xHCyL0BDB0AYjFa/1gHRAm wVA+RD3xQ+HDQNkkxMdrw7TuhkIJvKd6m25uH9AY8gOBxpsdQqZlacTPHoClZvQYMay3Fr OvsjokSBbhfp7+UZOArB2pLK1J0F7iWfOkE/2e873GZuDaMZ9Gj1XpLr19v42A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750917255; a=rsa-sha256; cv=none; b=HTMSgR8n3WXB0G0rG17iPxmmVZrx+W4S5nj6c/6ltCbh4Y5o0YGvT8puKEQkeLSsz88HVw DkFGCVtm/nefX/xsj4mZRrEemGgeoz/FIXg5za7t3ErmL6laClwFLBA+6R+/I/kEu4EOSG 8T56KR7CC/UiiV0qsbHEz0WSjVc7gHkWdfXf+2JAtwtPOQ47zSjDM4w8cHoOJzumhDhIzE z5wp7RHLEANljlBuNOeXbP+uZTEXixckbM4hLbKlqr3iMclOSreOmtryskbFZRQ1WFMplQ 5dHYVRoesoyvKhawDip4OhKNfoTBs72J+W/iYm2ulzv9yuudHx3Ku0vpIPiDAA== Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: olivier/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bSSYg1M6kzN5R; Thu, 26 Jun 2025 05:54:15 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-4a745fc9bafso19481261cf.1; Wed, 25 Jun 2025 22:54:15 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCU16V7gE2WRPhzSEXH1s6IT+c6rXVeoZCPl0a5s/YJQu5pTOX0YBdco11kwDTCAe3xzNv7iCvmWwb7gFD6ADkj97faj@freebsd.org, AJvYcCVhrEs3RdOOAIUXewiTxehjpQIFDdwRt8n6YP7+UTu1KVd/euIB1ZOdJgVE22slDLEBD5l6an9Laq7lQQEoiJUXx03fPlI=@freebsd.org X-Gm-Message-State: AOJu0YwoJ3MWmo2W7Pufedj9WMfFao2SlXIYVnz+ROQVpVyf2CBiVKIa KK8xfzaIuMo/9JX6/tzowu0cp5Op1UA8hfzNImIGdI2uCSlseVS+RywwZ9/6jM/HA+XF+APqgAh ONBq3+ndYpQk4IhywdQFO+6f7eiTEZ3o= X-Google-Smtp-Source: AGHT+IG+MLUrOHf4gkWPmNZSMV3tui2aVvqBJTS1X1Vu/494l8m2L2vcRYo1Gk3dDYmBIN3TpWmYKdLeoi2UxdnDy28= X-Received: by 2002:a05:620a:430c:b0:7d3:e648:5f5 with SMTP id af79cd13be357-7d43bb7ec9fmr305413085a.1.1750917254677; Wed, 25 Jun 2025 22:54:14 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 References: <202506151602.55FG2SHe047772@gitrepo.freebsd.org> In-Reply-To: <202506151602.55FG2SHe047772@gitrepo.freebsd.org> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Thu, 26 Jun 2025 07:54:03 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXyAhSsOJrmksHCU1eB3cnNwMQqtzC-8Exvg2ABmR9yGzWRlin8-3ZhsT_w Message-ID: Subject: Re: git: 5c1ba994a8bc - main - Add a regression test for a libtpool bug To: Alan Somers Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ff0aa206387330ac" --000000000000ff0aa206387330ac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Alan, On Sun, Jun 15, 2025 at 6:02=E2=80=AFPM Alan Somers w= rote: > The branch main has been updated by asomers: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=3D5c1ba994a8bcb6676ea3d1bb21b072b= 90e2d3ae9 > > commit 5c1ba994a8bcb6676ea3d1bb21b072b90e2d3ae9 > Author: Alan Somers > AuthorDate: 2024-05-07 17:48:33 +0000 > Commit: Alan Somers > CommitDate: 2025-06-15 16:01:37 +0000 > > Add a regression test for a libtpool bug > > > It seems this commit is the cause of preventing all my (freshly installed) ZFS systems from booting than stop with: Mounting local filesystems:. ld-elf.so.1: Shared object "libtpool.so.2" not found, required by "zfs" Because liptpool.so.2 isn=E2=80=99t no more in /lib (belong to the / datase= t), but in another dataset (/usr/lib) but it needs to use zfs to mount this one. Could the added include in its Makefile modified the installed directory of libtpool.so.2 ? Here is the bisect script used: #!/bin/sh set -eu WRKDIR=3D/tmp/bisec mkdir -p $WRKDIR/lib $WRKDIR/usr/lib $WRKDIR/usr/include make -C cddl/lib/libtpool make -C cddl/lib/libtpool install DESTDIR=3D$WRKDIR if [ -f $WRKDIR/lib/libtpool.so.2 ]; then rm -rf $WRKDIR exit 0 else rm -rf $WRKDIR exit 1 fi And my bisect session pointed me to this commit. git bisect start HEAD 9ce5410b9094 -- git bisect run /tmp/bisec.libtpool.sh git bisect reset Regards, Olivier --000000000000ff0aa206387330ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Alan,
=


On Sun, Jun 15, 2025 at 6:02=E2=80=AFPM Alan Somers <= ;asomers@freebsd.o= rg> wrote:
https://cgit.= FreeBSD.org/src/commit/?id=3D5c1ba994a8bcb6676ea3d1bb21b072b90e2d3ae9
commit 5c1ba994a8bcb6676ea3d1bb21b072b90e2d3ae9
Author:=C2=A0 =C2=A0 =C2=A0Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2024-05-07 17:48:33 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Alan Somers <asomers@FreeBSD.org>
CommitDate: 2025-06-15 16:01:37 +0000

=C2=A0 =C2=A0 Add a regression test for a libtpool bug



It seems this commit is the c= ause of preventing all my (freshly installed) ZFS systems from booting than= stop with:

Mounting local filesystems:.=
ld-elf.so.1: Shared object "libtpool.so.2" not found, require= d by "zfs"

Because liptpool.so= .2 isn=E2=80=99t no more in /lib (belong to the / dataset), but in another = dataset (/usr/lib) but it needs to use zfs to mount this one.
Could the added include<src.opts.mk> in its Makefile modified the ins= talled directory of=C2=A0libtpool.so.2 ?

Here is the bisect script used:

#!/bin/sh
set -euWRKDIR=3D/tmp/bisec
mkdir -p $WRKDIR/lib $WRKDIR/usr/lib $WRKDIR/usr/in= clude
make -C cddl/lib/libtpool
make -C cddl/lib/libtpool install DES= TDIR=3D$WRKDIR
if [ -f $WRKDIR/lib/libtpool.so.2 ]; then
=C2=A0 =C2= =A0 rm -rf $WRKDIR
=C2=A0 =C2=A0 exit 0
else
=C2=A0 =C2=A0 rm -rf = $WRKDIR
=C2=A0 =C2=A0 exit 1
fi

= And my bisect session pointed me to this commit.
git bisect = start HEAD 9ce5410b9094 --
git bisect run /tmp/bisec.libtpool.sh
git bisect reset

Regards,
Olivier
--000000000000ff0aa206387330ac--