FS#56876 - [zathura-pdf-mupdf] Package fails to build with the provided PKGBUILD

Attached to Project: Community Packages
Opened by valoq (valoq) - Wednesday, 27 December 2017, 19:29 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 27 December 2017, 19:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Building the package with the provided PKGBUILD results in the following error:

image.c: In function ‘pdf_page_images_get’:
image.c:47:32: error: ‘fz_stext_page {aka struct fz_stext_page_s}’ has no member named ‘first_block’
for (block = mupdf_page->text->first_block; block; block = block->next) {
^~
image.c:47:67: error: ‘fz_stext_block {aka struct fz_stext_block_s}’ has no member named ‘next’
for (block = mupdf_page->text->first_block; block; block = block->next) {
^~
image.c:48:14: error: ‘fz_stext_block {aka struct fz_stext_block_s}’ has no member named ‘type’
if (block->type == FZ_STEXT_BLOCK_IMAGE) {
^~
image.c:48:24: error: ‘FZ_STEXT_BLOCK_IMAGE’ undeclared (first use in this function); did you mean ‘FZ_PAGE_BLOCK_IMAGE’?
if (block->type == FZ_STEXT_BLOCK_IMAGE) {
^~~~~~~~~~~~~~~~~~~~
FZ_PAGE_BLOCK_IMAGE
image.c:48:24: note: each undeclared identifier is reported only once for each function it appears in
image.c:55:41: error: ‘fz_stext_block {aka struct fz_stext_block_s}’ has no member named ‘u’
zathura_image->data = block->u.i.image;
^~
make: *** [Makefile:35: image.o] Error 1
make: Leaving directory '/build/test/zathura-pdf-mupdf/src/zathura-pdf-mupdf-0.3.2'
==> ERROR: A failure occurred in build().
Aborting...


Is there another dependency missing?
What did the packager providing this package do differently when building it?



Additional info:
package version(s)
zathura-pdf-mupdf: 0.3.2-1
libmupdf: 1.12.0-1




Steps to reproduce:

Download the provided PKGfile and run 'makepkg -sri'
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 27 December 2017, 19:44 GMT
Reason for closing:  Works for me
Additional comments about closing:  This works perfectly for me, with no modifications at all. Both inside and outside of a clean chroot.

Loading...