From f9b9bb2940b3b46b067bb8381d511089786d1d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Sat, 25 Apr 2026 13:17:44 +0200 Subject: [PATCH] ci(release): bootstrap pkg before installing FreeBSD port deps The FreeBSD 15.0 VM image used by vmactions/freebsd-vm@v1 ships a pkg binary that fails to parse the current pkg.freebsd.org metadata, with: pkg: truncated reply for signature_fingerprintsoutput, wanted 0 bytes pkg: Repository FreeBSD-ports cannot be opened. This breaks 'pkg install', failing every release run since 2026-04-24. Run 'pkg bootstrap -f' + 'pkg update -f' first to refresh pkg and the catalogue before installing build deps. --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d29c840668..9d8ceb331f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,6 +59,10 @@ jobs: copyback: false release: "15.0" prepare: | + # Refresh pkg to handle metadata format changes on FreeBSD 15.0 + env ASSUME_ALWAYS_YES=yes pkg bootstrap -f + pkg update -f + # Install required packages pkg install -y git curl portlint go