I am trying to update, using poudriere, in FreeBSD 14.0, but if fails, because of checksum mismatch. =======================<phase: checksum >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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. ===> Refetch for 1 more times files: x265-asm-warnings.patch => x265-asm-warnings.patch doesn't seem to exist in /portdistfiles/. => Attempting to fetch https://bitbucket.org/multicoreware/x265_git/commits/8f18e3ad32684eee95e885e718655f93951128c3/raw/x265-asm-warnings.patch x265-asm-warnings.patch 4526 B 56 MBps 00s ===> Fetching all distfiles required by x265-3.5_1 for building ===> 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 Make sure the Makefile and distinfo file (/usr/ports/multimedia/x265/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1 Stop. make[1]: stopped in /usr/ports/multimedia/x265 *** Error code 1 Stop. make: stopped in /usr/ports/multimedia/x265 =>> Cleaning up wrkdir ===> Cleaning for x265-3.5_1 build of multimedia/x265 | x265-3.5_1 ended at Wed May 15 23:55:23 -04 2024 build time: 00:00:13 !!! build failure encountered !!!
The patch contents are identical; Bitbucket may have updated their git instance so the footer would have changed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=eceefb231d28830d4ae927f722d6a8d650f5bd92 commit eceefb231d28830d4ae927f722d6a8d650f5bd92 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-05-18 05:31:59 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-05-18 05:32:03 +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 Reported by: makoto90@pm.me Approved by: portmgr (blanket, build fix) multimedia/x265/distinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Fix committed, thanks for reporting!
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.
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(-)
Thanks, diizzy@. I didn't even know about this PR until now. Perhaps, you can also take care of the Bug #279341, Bug #279342, and Bug #278263 for me?
BitBucket now has '2.45.2', breaking the checksum again.
(In reply to wcarson.bugzilla from comment #7) PR 280674 covers this.