Re: FYI: "pkg: Fail to create temporary directory: /usr/share/.pkgtemp.atf.1JLR7UARNjUj:Read-only file system" ; more
Date: Sat, 05 Jul 2025 15:44:35 UTC
On Jul 4, 2025, at 22:02, Mark Millard <marklmi@yahoo.com> wrote:
> Inside a poudriere bulk with -i session I attempted to get debug information via:
>
> # pkg install -U -rpkgbase -g '*-dbg*'
> . . .
> [ZNV4optb_ZFS] [92/100] Installing FreeBSD-tests-14.3p1...
> [ZNV4optb_ZFS] [92/100] Extracting FreeBSD-tests-14.3p1: 0%
> pkg: Fail to create temporary directory: /usr/share/.pkgtemp.atf.1JLR7UARNjUj:Read-only file system
> pkg: Fail to create temporary file for /usr/share/atf/libatf-sh.subr:No such file or directory
> [ZNV4optb_ZFS] [92/100] Extracting FreeBSD-tests-14.3p1: 100%
>
> It then went to the command prompt., not completing 93..100 .
>
> It appears so far that 1..91 installed/extracted okay.
Another example extraction with such a message
in a bulk -i context:
# pkg install -U -rpkgbase -g '*-src'
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
FreeBSD-src: 14.3p1 [pkgbase]
Number of packages to be installed: 1
The process will require 854 MiB more space.
122 MiB to be downloaded.
Proceed with this action? [y/N]: y
[ZNV4optb_ZFS] [1/1] Fetching FreeBSD-src-14.3p1.pkg: 100% 122 MiB 42.6MB/s 00:03
Checking integrity... done (0 conflicting)
[ZNV4optb_ZFS] [1/1] Installing FreeBSD-src-14.3p1...
[ZNV4optb_ZFS] [1/1] Extracting FreeBSD-src-14.3p1: 0%
pkg: Fail to create temporary file for /usr/src/.arcconfig:Read-only file system
[ZNV4optb_ZFS] [1/1] Extracting FreeBSD-src-14.3p1: 100%
My hope is that pkg install's extractions can avoid such
for bulk -i contexts --in order to help with investigating
problems with builders. In this case: cond_wait_user
in:
lib/libthr/thread/thr_cond.c
is getting stuck looping when it is indirectly used
via:
node::NodePlatform::DrainTasks(v8::Isolate*)
and I'm looking at:
(gdb) bt
#0 _umtx_op_err () at /home/pkgbuild/worktrees/releng/14.3/lib/libthr/arch/i386/i386/_umtx_op_err.S:37
#1 0x2499f897 in _thr_umtx_timedwait_uint (mtx=0x249a365c, id=0, clockid=4, abstime=0x0, shared=0) at /home/pkgbuild/worktrees/releng/14.3/lib/libthr/thread/thr_umtx.c:233
#2 0x24995b26 in _thr_sleep (curthread=0x24d36004, clockid=4, abstime=0x0) at /home/pkgbuild/worktrees/releng/14.3/lib/libthr/thread/thr_kern.c:197
#3 0x24990beb in cond_wait_user (cvp=0x24dfa8a0, mp=0x24d38d04, abstime=<optimized out>, cancel=<optimized out>) at /home/pkgbuild/worktrees/releng/14.3/lib/libthr/thread/thr_cond.c:317
#4 cond_wait_common (cond=<optimized out>, mutex=<optimized out>, abstime=0x0, cancel=1) at /home/pkgbuild/worktrees/releng/14.3/lib/libthr/thread/thr_cond.c:377
#5 0x24990e8f in __thr_cond_wait (cond=0x23b9b4f4, mutex=0x23b9b4ec) at /home/pkgbuild/worktrees/releng/14.3/lib/libthr/thread/thr_cond.c:392
#6 0x23be1e4b in uv_cond_wait () from /usr/local/lib/libuv.so.1
#7 0x024bd497 in node::NodePlatform::DrainTasks(v8::Isolate*) ()
#8 0x0232f5b6 in node::SpinEventLoopInternal(node::Environment*) ()
#9 0x02485bf0 in node::NodeMainInstance::Run() ()
#10 0x023eaba1 in node::Start(int, char**) ()
#11 0x24a1da85 in __libc_start1 (argc=5, argv=0xffffda3c, env=0xffffda54, cleanup=0x23b73020 <rtld_nop_exit>, mainX=0x314a720 <main>)
at /home/pkgbuild/worktrees/releng/14.3/lib/libc/csu/libc_start1.c:157
#12 0x0232d0a8 in _start ()
===
Mark Millard
marklmi at yahoo.com