Date: Thu, 30 Apr 2026 10:14:36 -0700 From: Mark Millard <marklmi@yahoo.com> To: freebsd-pkg@freebsd.org, Baptiste Daroussin <bapt@FreeBSD.org> Subject: Re: pkg 2.7.5 : I got a couple of: fstat() failed for(//usr/home/root/usr/local/lib/compat/pkg/* (libruby33.so.33 and librustc_driver-8506aeeac480f8b3.so) Message-ID: <4d17e8b8-a83f-432c-bae5-8fac70177291@yahoo.com> In-Reply-To: <ab6c680c-74be-4846-a211-93eb2c6614ef@yahoo.com>
index | next in thread | previous in thread | raw e-mail
On 4/29/26 17:39, Mark Millard wrote: > While logged in a root: > > . . . > [22/25] Upgrading ruby from 3.3.11,1 to 3.4.9,1... > [22/25] Extracting ruby-3.4.9,1: 100% > pkg: fstat() failed > for(//usr/home/root/usr/local/lib/compat/pkg/libruby33.so.33): No such > file or directory > . . . > [24/25] Upgrading rust from 1.94.0 to 1.95.0... > [24/25] Extracting rust-1.95.0: 100% > pkg: fstat() failed > for(//usr/home/root/usr/local/lib/compat/pkg/librustc_driver-8506aeeac480f8b3.so): > No such file or directory > . . . > > # ls -lodT /usr/home/root/usr/ > ls: /usr/home/root/usr/: No such file or directory > > But I've no clue why it would be forming such a path in the first place. > Hmm. Ignoring the odd/non-existent path pkg version reports: # pkg-static version -U -rFreeBSD-base -rmain-amd64-default -vRl\? ruby-backup-libruby33.so.33-20260429172717 ? orphaned: lang/ruby33-backup-libruby33.so.33 rust-backup-librustc_driver-8506aeeac480f8b3.so-20260429172720 ? orphaned: lang/rust-backup-librustc_driver-8506aeeac480f8b3.so And pkg query reports: # pkg-static query '%R %o' | grep ^unknown-repository unknown-repository lang/ruby33-backup-libruby33.so.33 unknown-repository lang/rust-backup-librustc_driver-8506aeeac480f8b3.so Such files are present to find, as follows: # find -s / -name 'libruby33.so.33' -print /usr/local/lib/compat/pkg/libruby33.so.33 # find -s / -name 'librustc_driver-8506aeeac480f8b3.so' -print /usr/local/lib/compat/pkg/librustc_driver-8506aeeac480f8b3.so So: no use of //usr/home/root as a path-prefix as the difference vs. the paths in the fstat related messages. -- === Mark Millard marklmi at yahoo.comhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d17e8b8-a83f-432c-bae5-8fac70177291>
