Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 697720

Summary: app-text/qpdfview-0.4.18 USE=fitz - In file included from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/separation.h:39:80: error: 'fz_colorspace' has not been declared
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: UNCONFIRMED ---    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/qpdfview/+bug/1879051
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log (ppc64)

Description ernsteiswuerfel archtester 2019-10-14 17:51:17 UTC
Created attachment 592682 [details]
build.log (ppc64)

Fails to build with either mupdf-1.14.0-r3 or mupdf-1.16.1 with USE="fitz".

[...]
In file included from /usr/include/mupdf/fitz/pixmap.h:8,
                 from /usr/include/mupdf/fitz/image.h:7,
                 from /usr/include/mupdf/fitz/device.h:7,
                 from /usr/include/mupdf/fitz/display-list.h:7,
                 from sources/fitzmodel.cpp:35:
/usr/include/mupdf/fitz/separation.h:39:80: error: 'fz_colorspace' has not been declared
 void fz_add_separation(fz_context *ctx, fz_separations *sep, const char *name, fz_colorspace *cs, int cs_channel);
                                                                                ^~~~~~~~~~~~~
/usr/include/mupdf/fitz/separation.h:54:52: error: 'fz_colorspace' has not been declared
 void fz_convert_separation_colors(fz_context *ctx, fz_colorspace *src_cs, const float *src_color, fz_separations *dst_seps, fz_colorspace *dst_cs, float *dst_color, fz_color_params color_params);
                                                    ^~~~~~~~~~~~~
/usr/include/mupdf/fitz/separation.h:54:125: error: 'fz_colorspace' has not been declared
 s(fz_context *ctx, fz_colorspace *src_cs, const float *src_color, fz_separations *dst_seps, fz_colorspace *dst_cs, float *dst_color, fz_color_params color_params);
[...]
Comment 1 ernsteiswuerfel archtester 2020-05-16 12:19:03 UTC
app-text/qpdfview fitz is stable masked on amd64/x86 but not on ~ppc64 (obviously). However the bug itself affects all arches.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-06 20:37:13 UTC
Fixed upstream (not yet in a release): https://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/revision/2107