Any ideas how/when this got broken -- and how I unbreak it?

From: Karl Denninger <karl_at_denninger.net>
Date: Sat, 07 Jun 2025 18:15:17 UTC
I use Crochet to build ARM images; as part of it I do the following 
during the crossbuild so as to tell pkg to get packages for aarch64 
rather than the build host's architecture (which is AMD64):

#
# Install packages after setting the ABI
# Note that this produces a BUTTLOAD of packages due to dependencies!
#
         mkdir -p usr/local/etc

         mount -t devfs devfs ./dev
         cp /etc/resolv.conf etc/resolv.conf
         echo 'ABI = "FreeBSD:14:aarch64"' > usr/local/etc/pkg.conf

         env ASSUME_ALWAYS_YES=YES pkg -c . install rsync sshguard 
ntimed ssmtp ffmpeg mpg321 git

         rm -f var/cache/pkg/*
         umount ./dev

This produces the following output:

pkg: Setting ABI requires setting OSVERSION, guessing the OSVERSION as: 
1400000
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    179 B   0.2kB/s    00:01
Fetching data.pkg: 100%   10 MiB  10.2MB/s    00:01
Processing entries:   0%
Processing entries: 100%
FreeBSD repository update completed. 34930 packages processed.
*Updating FreeBSD-kmods repository catalogue...
Unable to update repository FreeBSD-kmods
Error updating repositories!*

This has worked for a long time, but I haven't rebuilt this particular 
system's image in the last 3-4 months, and somewhere in there.....

Am I missing something that has to be in the pkg.conf file now to work 
on a crossbuild but didn't before?

-- 
Karl Denninger
karl@denninger.net
/The Market Ticker/
/[S/MIME encrypted email preferred]/