Summary: | dev-python/python-poppler-0.12.1-r4 - ‘POPPLER_TYPE_ORIENTATION’ undeclared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bkohler, dschridde+gentoobugs, jlec, vityokster |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Patch to fix incompatibilities with poppler-0.39.0 API changes An ebuild using the patch of Comment 3 /var/tmp/portage/dev-python/python-poppler-0.12.1-r4/temp/python-poppler-0.12.1-poppler0.18.0-changes.patch.out A python-poppler-012.1-r4.ebuild, which seems to work. |
Description
Juergen Rose
2015-12-21 07:25:23 UTC
Seeing the same thing here. Builds fine against poppler-0.38.0 but fails this way with poppler-0.39.0 I report this bug to upstream: https://bugs.launchpad.net/poppler-python/+bug/1528489 But seems that upstream is inactive for a long time, last commit was 2010-01-10. Created attachment 420202 [details, diff]
Patch to fix incompatibilities with poppler-0.39.0 API changes
Patch to ebuild for using patch from comment#3 --- python-poppler-0.12.1-r4.ebuild 2015-12-22 16:43:17.000000000 +0600 +++ python-poppler-0.12.1-r4.ebuild 2015-12-22 16:38:45.000000000 +0600 @@ -32,4 +32,5 @@ "${FILESDIR}"/${P}-poppler0.15.0-changes.patch "${FILESDIR}"/${P}-poppler-0.18.0-minimal-fix.patch + "${FILESDIR}"/${P}-poppler-0.39.0-changes.patch ) Created attachment 420328 [details] An ebuild using the patch of Comment 3 The patching fails. I tried to use the patch of comment 3 with the ebuild of comment 5. But the patching failed with: * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-python/python-poppler-0.12.1-r4::local [0.12.1-r4::gentoo] USE="examples" PYTHON_TARGETS="python2_7" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/python-poppler-0.12.1-r4::local * pypoppler-0.12.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pypoppler-0.12.1.tar.gz to /var/tmp/portage/dev-python/python-poppler-0.12.1-r4/work >>> Source unpacked in /var/tmp/portage/dev-python/python-poppler-0.12.1-r4/work >>> Preparing source in /var/tmp/portage/dev-python/python-poppler-0.12.1-r4/work/pypoppler-0.12.1 ... * Applying python-poppler-0.12.1-75_74.diff ... [ ok ] * Applying python-poppler-0.12.1-79_78.diff ... [ ok ] * Applying python-poppler-0.12.1-poppler0.15.0-changes.patch ... [ ok ] * Applying python-poppler-0.12.1-poppler-0.18.0-minimal-fix.patch ... [ ok ] * Applying python-poppler-0.12.1-poppler0.18.0-changes.patch ... * Failed Patch: python-poppler-0.12.1-poppler0.18.0-changes.patch ! * ( /usr/local/portage/dev-python/python-poppler/files/python-poppler-0.12.1-poppler0.18.0-changes.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-python/python-poppler-0.12.1-r4/temp/python-poppler-0.12.1-poppler0.18.0-changes.patch.out Created attachment 420330 [details]
/var/tmp/portage/dev-python/python-poppler-0.12.1-r4/temp/python-poppler-0.12.1-poppler0.18.0-changes.patch.out
Comment on attachment 420328 [details] An ebuild using the patch of Comment 3 Sorry, this is not the right ebuild. Created attachment 420342 [details]
A python-poppler-012.1-r4.ebuild, which seems to work.
Thank you Victor, your patch seems to work with ebuild of comment 9 seems to work. commit 6fbcb03b918df48f33d24326640209de3d031074 Author: Justin Lecher <jlec@gentoo.org> Date: Fri Dec 25 13:24:15 2015 +0100 dev-python/python-poppler: Add fixes for poppler-0.39.0 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=568948 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbcb03b918df48f33d24326640209de3d031074 |