This is still a bug as of Jun 3, 2024. Today trying to build ports with poudriere on FreeBSD 14.1. Quarterly ports r2024Q2. x265 fails with ===> Fetching all distfiles required by x265-3.5_1 for building => SHA256 Checksum OK for x265-3.5.tar.gz. => SHA256 Checksum mismatch for x265-asm-warnings.patch. ===> Giving up on fetching files: x265-asm-warnings.patch I notice that latest ports has x265-3.5_2 but the commit only says that the maintainer field was changed. It appears that there is recurring problem with the checksum on this patch.
Just tested - no errors: [/usr/ports/multimedia/x265]# make patch ===> License GPLv2+ accepted by the user ===> x265-3.5_2 depends on file: /usr/local/sbin/pkg - found => x265-3.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://bitbucket.org/multicoreware/x265_git/get/Release_3.5.tar.gz?meow=/x265-3.5.tar.gz x265-3.5.tar.gz 1502 kB 1161 kBps 02s => x265-asm-warnings.patch doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://bitbucket.org/multicoreware/x265_git/commits/8f18e3ad32684eee95e885e718655f93951128c3/raw/x265-asm-warnings.patch x265-asm-warnings.patch 4526 B 33 MBps 00s ===> Fetching all distfiles required by x265-3.5_2 for building ===> Extracting for x265-3.5_2 => SHA256 Checksum OK for x265-3.5.tar.gz. => SHA256 Checksum OK for x265-asm-warnings.patch. ===> Patching for x265-3.5_2 ===> Converting DOS text files to UNIX text files ===> Applying distribution patches for x265-3.5_2 ===> Applying FreeBSD patches for x265-3.5_2 from /usr/ports/multimedia/x265/files [/usr/ports/multimedia/x265]# cat distinfo TIMESTAMP = 1716010198 SHA256 (x265-3.5.tar.gz) = 8a5fcfddb3e2db520b637e475a507fb00117d554bdb3204c5828626d888c306a SIZE (x265-3.5.tar.gz) = 1538610 SHA256 (x265-asm-warnings.patch) = 3bde0e0553498fa569e3472e6a12ec7110743e9e0c43e1b14c499d62608393bf SIZE (x265-asm-warnings.patch) = 4526 [/usr/ports/multimedia/x265]# sha256 /usr/ports/distfiles/x265-asm-warnings.patch SHA256 (x265-asm-warnings.patch) = 3bde0e0553498fa569e3472e6a12ec7110743e9e0c43e1b14c499d62608393bf
A commit in branch 2024Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=240deb00e908ef567cc319e3ddfe1ca0e2e68931 commit 240deb00e908ef567cc319e3ddfe1ca0e2e68931 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-05-18 05:31:59 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2024-06-05 13:52:46 +0000 multimedia/x265: Refresh distfile Footer in patch file now reports 2.45.0 instead of 2.42.0 which causes a checksum mismatch PR: 279017 PR: 279507 Reported by: makoto90@pm.me Approved by: portmgr (blanket, build fix) (cherry picked from commit eceefb231d28830d4ae927f722d6a8d650f5bd92) multimedia/x265/distinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Should be fixed now.