pkg segfault

From: Alexey Vyskubov <alexey_at_pentode.fi>
Date: Mon, 27 Oct 2025 20:16:21 UTC
Hello,

I wonder what I am doing wrong. I have three repositories defined:

❯ pkg repos
FreeBSD-ports-latest: { 
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
FreeBSD-kmods-latest: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_latest_3",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
local: {
    url             : "file:///usr/local/poudriere/data/packages/pdbuild-pdbuild",
    enabled         : yes,
    priority        : 3
  }

Now, "pkg update -r local" and "pkg update -r FreeBSD-ports-latest" work fine.
But the third consistently segfaults:

❯ doas pkg update -r FreeBSD-kmods-latest
Updating FreeBSD-kmods-latest repository catalogue...
FreeBSD-kmods-latest repository is up to date.
FreeBSD-kmods-latest is up to date.
Child process pid=79502 terminated abnormally: Segmentation fault

I tried to rename the repository without any effect. Any ideas?

-- 
Alexey
I cannot receive HTML mail at this account.
Hi, I am a signature virus. Add me to your signature to help me spread.