Bug 263200 - graphics/zathura: fix for broken build
Summary: graphics/zathura: fix for broken build
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-10 17:38 UTC by Joel Bodenmann
Modified: 2022-04-13 18:41 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (quentin.stievenart)


Attachments
Build log (8.88 KB, text/plain)
2022-04-10 17:38 UTC, Joel Bodenmann
no flags Details
proposed patch (877 bytes, patch)
2022-04-12 17:03 UTC, Joel Bodenmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!