Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697720 - 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
Summary: app-text/qpdfview-0.4.18 USE=fitz - In file included from sources/fitzmodel.c...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://bugs.launchpad.net/qpdfview/+...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-10-14 17:51 UTC by ernsteiswuerfel
Modified: 2021-02-06 20:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ppc64) (qpdfview-0.4.18_pre4:20191014-095631.log,81.74 KB, text/plain)
2019-10-14 17:51 UTC, ernsteiswuerfel
Details

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