I took the more drastic step and attempted to upgrade to 11 beta.  But, failed 
at the following snippet.

The installation I had was built from source in a pkgsrc environment that had 
the previous jpeg library.

Is there a way to make this come up as 11 beta after reboot?

   # sysupgrade etcupdate
   sysupgrade: I: Upgrading /etc interactively
   *** Creating /tmp/temproot
   *** Populating /tmp/temproot from /var/cache/sysupgrade/etc.tar.xz
   *** Populating /tmp/temproot from /var/cache/sysupgrade/xetc.tar.xz
   *** Ignoring files: /etc/group /etc/master.passwd
   *** Checking for new directories
   [1]   Bad system call (core dumped) /usr/sbin/etcupdate -a -l ${sflags}
   # sysupgrade postinstall
   ...
   postinstall checks failed: defaults fontconfig makedev mtree periodic 
ptyfsoldnodes rc
   To fix, run:
       sh /usr/sbin/postinstall -s /var/cache/sysupgrade/etc.tar.xz -s 
/var/cache/sysupgrade/xetc.tar.xz -d / fix defaults fontconfig makedev mtree 
periodic ptyfsoldnodes rc
   # sh /usr/sbin/postinstall -s /var/cache/sysupgrade/etc.tar.xz -s 
/var/cache/sysupgrade/xetc.tar.xz -d / fix defaults fontconfig makedev mtree 
periodic ptyfsoldnodes rc
   ...
   ptyfsoldnodes fix:
   [1]   Bad system call         ${HOST_SH} "${MAKEDEV_DIR}/MAKEDEV" -s pty0 
2>...
         Done                    ${AWK} "\
               BEGIN { before_re = \".*device=...
           Cannot find device major numbers for pty master and slave
   ...
   postinstall fixes passed: defaults fontconfig makedev mtree periodic rc
   postinstall fixes failed: ptyfsoldnodes

RVP <r...@sdf.org> writes:

> [1:text/plain Hide]
>
> On Fri, 15 Aug 2025, Van Ly wrote:
>
>> The daily `makemandb -Q' drops core and gdb reads as follows.
>>
>> Could that #2 line item be related to pkgsrc? as I've had to reset pkgsrc db 
>> and re‑install in response to `pkgin ug' dropping core.
>>
>
> That's very likely a function called by parse_escape[1] which abort()s.
>
>>   Core was generated by `makemandb'.
>>   Program terminated with signal SIGABRT, Aborted.
>>   (gdb) bt
>>   #0  0x00007030ab57eeea in _lwp_kill () from /usr/lib/libc.so.12
>>   #1  0x00007030ab5846e0 in abort () from /usr/lib/libc.so.12
>>   #2  0x0000000185249cf5 in ?? ()
>>   #3  0x000000018522b165 in parse_escape ()
>>   #4  0x000000018522b307 in append ()
>>   #5  0x000000018522b826 in pman_parse_node ()
>>   #6  0x000000018522ac19 in proff_node ()
>>   #7  0x000000018522abe2 in proff_node ()
>>   #8  0x000000018524af12 in main ()
>>
>
> Can you unpack the debug set (even makemandb alone might do) and then run this
> command:
>
> ```
> # makemandb -fv > /tmp/m.txt 2>&1
> ```
>
> That should show what file it's choking on.
>
> Do the backtrace with the debug symbol unpacked, too.
>
> -RVP
>
> [1]: 
> https://github.com/NetBSD/src/blob/trunk/usr.sbin/makemandb/makemandb.c#L1995

-- 
vl

Reply via email to