Summary: | app-text/libspectre-0.2.7 with app-text/ghostscript-gpl-9.18 - /usr/include/ghostscript/ierrors.h:22:22: fatal error: gserrors.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | iGentoo <AlphatPC> |
Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arfrever.fta, dschridde+gentoobugs, jbytheway, jlec, jstein, kripton, proteuss, rhill, sven.koehler, xaviermiller |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
http://bugs.ghostscript.com/show_bug.cgi?id=696301 https://bugs.freedesktop.org/show_bug.cgi?id=92637 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 545274 | ||
Attachments: | libspectre-0.2.7-build.log |
Description
iGentoo
2015-10-20 05:06:29 UTC
Looks like an upstream regression in Ghostscript 9.18. As documented in http://ghostscript.com/doc/9.18/API.htm#API users of the library should be able to use <ghostscript/ierrors.h>, but that now uses the Ghostscript-internal "gserrors.h" header (not installed). I cannot find a corresponding bug at http://bugs.ghostscript.com/. I'm having the same issue during initial install of Gentoo ~amd64. Also appears to break app-test/dvisvgm-1.10 this bug does effect app-test/dvigsm-1.10 And even if installed manually I see spectre-gs.c: In function ‘critic_error_code’: spectre-gs.c:46:9: error: ‘e_Fatal’ undeclared (first use in this function) case e_Fatal: ^ spectre-gs.c:46:9: note: each undeclared identifier is reported only once for each function it appears in spectre-gs.c:51:9: error: ‘e_ExecStackUnderflow’ undeclared (first use in this function) case e_ExecStackUnderflow: ^ spectre-gs.c: In function ‘spectre_gs_process’: spectre-gs.c:112:20: error: ‘e_NeedInput’ undeclared (first use in this function) error = error == e_NeedInput ? 0 : error; ^ Makefile:529: recipe for target 'libspectre_la-spectre-gs.lo' failed make[2]: *** [libspectre_la-spectre-gs.lo] Error 1 commit 4734becd864d032c88253ea299ad9db99926ea89 Author: Justin Lecher <jlec@gentoo.org> Date: Fri Oct 23 11:16:31 2015 +0200 profiles: mask app-text/ghostscript-gpl-9.18 due to breaking changes Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563540 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4734becd864d032c88253ea299ad9db99926ea89 commit 496566c75f483786d581f34196309bc4becb2481 Author: Justin Lecher <jlec@gentoo.org> Date: Fri Oct 23 11:59:51 2015 +0200 app-text/ghostscript-gpl: Backport fix for missing header Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563540 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496566c75f483786d581f34196309bc4becb2481 commit 4734becd864d032c88253ea299ad9db99926ea89 Author: Justin Lecher <jlec@gentoo.org> Date: Fri Oct 23 11:16:31 2015 +0200 profiles: mask app-text/ghostscript-gpl-9.18 due to breaking changes Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563540 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4734becd864d032c88253ea299ad9db99926ea89 I have media-gfx/graphviz-2.38.0 failing to build with the same error. Is there a reason this is still masked? I commented out the rm zlib line in ghostscript-gpl/ghostscript-gpl-9.18.ebuild (https://bugs.gentoo.org/show_bug.cgi?id=573248) and recompiled. This workaround seems to solve the zlib problem. Then I tried to reproduce #563540, but app-text/libspectre-0.2.7 compiled (with warnings, but no errors). app-text/libspectre was fixed in: commit 8d34151aea08aa04cca35e1f5da59445af0440d0 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Fri Oct 23 15:25:42 2015 +0200 app-text/libspectre: >=app-text/ghostscript-gpl-9.18 compile fix (bug #563540). https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d34151aea08aa04cca35e1f5da59445af0440d0 |