[Bug 287738] ports-mgmt/pkg: pkg-static upgrade -f segmentation fault

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Sep 2025 11:01:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287738

--- Comment #18 from Lukas Engelhardt <lukas.engelhardt@gmx.de> ---
(In reply to Mark Millard from comment #14)
Okay, so i tried again.
Freshly installed Host with FreeBSD 14.2-RELEASE.
Used pkgbasify to convert it to pkgbased.
Upgraded to 14.3p2 using packages built from releng/14.3 using `make buildworld
&& make buildkernel && make packages` with commit Hash
5982521fe3dd3f1627bbe29ee8c3b190a24e3963

Created a FreeBSD 14.3 Jail with poudriere and built pkg, vim, tmux and htop.

Configured my repository on the client and installed these.
Pkg Version 2.3.1.
Built packages with stable/15, commit hash
c2427a67c7af60bd4d07acce0ab4f0c4be2258c2

installed the kernel package using 
`env ABI=FreeBSD:15:amd64 pkg-static upgrade -r FreeBSD-base -g
'FreeBSD-kernel*'`

rebooted, now: 
`uname -apKU
FreeBSD pkgbase 15.0-ALPHA2 FreeBSD 15.0-ALPHA2 stable/15-n280148-c2427a67c7af
GENERIC amd64 amd64 1500064 1403000`

upgraded the other packages:
`env ABI=FreeBSD:15:amd64 pkg-static upgrade -r FreeBSD-base`

still segfaulted:

[18/413] Deleting files for FreeBSD-ufs-dev-14.3p2: 100%
[19/413] Upgrading FreeBSD-vt-data from 14.3p2 to 15.0.a2.20250916101338...
[19/413] Extracting FreeBSD-vt-data-15.0.a2.20250916101338: 100%
[20/413] Upgrading FreeBSD-zoneinfo from 14.3p2 to 15.0.a2.20250916101338...
[20/413] Extracting FreeBSD-zoneinfo-15.0.a2.20250916101338: 100%
Child process pid=1109 terminated abnormally: Segmentation fault

-- 
You are receiving this mail because:
You are the assignee for the bug.