Summary: | app-text/poppler-0.16.7[cairo] fails to compile with glib-2.30.0 due to G_CONST_RETURN in pango-1.28.4 headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Abbott <ian> |
Component: | [OLD] Library | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 384779 | ||
Attachments: |
Build log
Patch to remove -DG_DISABLE_DEPRECATED to allow poppler to build |
Description
Ian Abbott
2011-09-28 13:53:53 UTC
Created attachment 288087 [details]
Build log
Created attachment 288089 [details] Patch to remove -DG_DISABLE_DEPRECATED to allow poppler to build This temporary patch allows poppler to be built before bug 384779 is fixed. I can confirm the patch works when the following line is inserted just before "cmake-utils_src_configure" line: epatch "${FILESDIR}/patch.txt" (assuming the patch file is called patch.txt and is placed in files subdirectory) (In reply to comment #3) > I can confirm the patch works when the following line is inserted just before > "cmake-utils_src_configure" line: > epatch "${FILESDIR}/patch.txt" > > (assuming the patch file is called patch.txt and is placed in files > subdirectory) I just put the patch in /etc/portage/patches/app-text/poppler-0.16.7/ without modifying the ebuild. The patch file extension has to be .patch in this case (I called mine poppler-0.16.7-allow-glib-deprecated.patch but the name shouldn't matter). Another workaround would be to emerge poppler-0.18. (In reply to comment #5) > Another workaround would be to emerge poppler-0.18. This isn't a viable choice if one is running a ~ arch because of bug 384875 (if you're running stable it may be a different story) poppler-0.18.0 builds fine but then several packages including luatex get pulled into the revdep-rebuild que. Then luatex fails to build and there are no other choices for it in the tree. Therefore until there is a patch or a workaround for popplar-0.18.0 or one for luatex allowing it to build patching this is the best temporary solution. + 29 Sep 2011; Pacho Ramos <pacho@gentoo.org> poppler-0.16.7.ebuild: + Drop DEPRECATED flags, bug #384789 by Ian Abbott. + |