Bug 263200

Summary: graphics/zathura: fix for broken build
Product: Ports & Packages Reporter: Joel Bodenmann <jbo>
Component: Individual Port(s)Assignee: Fernando ApesteguĂ­a <fernape>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: fernape, grahamperrin, quentin.stievenart, uzsolt
Priority: --- Flags: bugzilla: maintainer-feedback? (quentin.stievenart)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Build log
none
proposed patch none

Description Joel Bodenmann freebsd_committer freebsd_triage 2022-04-10 17:38:55 UTC
Created attachment 233126 [details]
Build log

The port graphics/zathura is currently not passing the checksum phase:

=======================<phase: checksum       >============================
===>  License ZLIB accepted by the user
===> Fetching all distfiles required by zathura-0.4.5 for building
=> SHA256 Checksum OK for zathura-0.4.5.tar.gz.
=> SHA256 Checksum mismatch for c6ec5044c5ff.patch.
===>  Refetch for 1 more times files:  c6ec5044c5ff.patch 
===>  License ZLIB accepted by the user
=> c6ec5044c5ff.patch doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://git.pwmt.org/pwmt/zathura/-/commit/c6ec5044c5ff.patch
c6ec5044c5ff.patch                                     939  B   12 MBps    00s
===> Fetching all distfiles required by zathura-0.4.5 for building
===>  License ZLIB accepted by the user
===> Fetching all distfiles required by zathura-0.4.5 for building
=> SHA256 Checksum OK for zathura-0.4.5.tar.gz.
=> SHA256 Checksum mismatch for c6ec5044c5ff.patch.
===>  Giving up on fetching files:  c6ec5044c5ff.patch 
Make sure the Makefile and distinfo file (/usr/ports/graphics/zathura/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

Full build log attached.
Comment 1 Joel Bodenmann freebsd_committer freebsd_triage 2022-04-12 17:03:24 UTC
Created attachment 233172 [details]
proposed patch

Here's my proposed patch.
Comment 2 Zsolt Udvari freebsd_committer freebsd_triage 2022-04-13 08:17:51 UTC
Maybe should update to 0.4.9?
https://pwmt.org/projects/zathura/download/
Comment 3 Joel Bodenmann freebsd_committer freebsd_triage 2022-04-13 10:36:45 UTC
@Zsolt I'd say feel free to open a bug report with a patch for the update to the new upstream version. My intention here is to fix the bug preventing us from building the port. In case the maintainer doesn't show up it will be easier for a committer to pick this up, verify, test & commit it compared to a complete version update.
Comment 4 Fernando ApesteguĂ­a freebsd_committer freebsd_triage 2022-04-13 18:41:14 UTC
An update to 0.4.9 was committed in https://cgit.freebsd.org/ports/commit/?h=2022Q2&id=9abc70478bd9d43c30dbb1ae9c2181af8dd72eeb

Thanks!