python-poppler compilation fails with error: ‘POPPLER_TYPE_ORIENTATION’ undeclared (first use in this function)
Bug #1528489 reported by
Viktor Yu. Kovalskiy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppler Python Bindings |
New
|
Undecided
|
Unassigned | ||
python-poppler (Gentoo Linux) |
Fix Released
|
Medium
|
Bug Description
python-
poppler.c: In function ‘py_poppler_
poppler.c:4613:67: error: ‘POPPLER_
pyg_
It happens after this commit:
Remove enum PopplerOrientation from API:
http://
Changed in python-poppler (Gentoo Linux): | |
importance: | Unknown → Medium |
Changed in python-poppler (Gentoo Linux): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Created attachment 419966
build.log
'emerge @world' fails with: pygtk-2. 0 -I/usr/ lib64/libffi- 3.2.1/include -I/usr/ include/ gtk-2.0 -I/usr/ lib64/gtk- 2.0/include -I/usr/ include/ pango-1. 0 -I/usr/ include/ gdk-pixbuf- 2.0 -I/usr/ include/ pango-1. 0 -I/usr/ include/ harfbuzz -I/usr/ include/ pango-1. 0 -I/usr/ include/ atk-1.0 -I/usr/ include/ poppler/ glib -I/usr/ include/ poppler -I/usr/ include/ cairo -I/usr/ include/ glib-2. 0 -I/usr/ lib64/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libdrm -I/usr/ include/ libpng16 -I/usr/ include/ pycairo -I/usr/ include/ cairo -I/usr/ include/ glib-2. 0 -I/usr/ lib64/glib- 2.0/include -I/usr/ include/ pixman- 1 -I/usr/ include/ freetype2 -I/usr/ include/ libdrm -I/usr/ include/ libpng16 -march=amdfam10 -O2 -pipe -Wall -std=c9x -fno-strict- aliasing -c poppler.c -fPIC -DPIC -o .libs/poppler_ la-poppler. o add_constants’ : TYPE_ORIENTATIO N’ undeclared (first use in this function) enum_add( module, "Orientation", strip_prefix, POPPLER_ TYPE_ORIENTATIO N);
...
/usr/include/
poppler.c: In function ‘py_poppler_
poppler.c:4613:53: error: ‘POPPLER_
pyg_
root@caiman: /usr/local/ portage/ dev-tex/ latex2html( 72)# emerge --info '=dev-python/ python- poppler- 0.12.1- r4::gentoo' linux/amd64/ 13.0, gcc-4.9.3, glibc-2.22-r1, 4.3.3-gentoo x86_64) ======= ======= ======= ======= ======= ======= ======= ======= ==
System Settings ======= ======= ======= ======= ======= ======= ======= ======= == 3.3-gentoo- x86_64- AMD_Phenom- tm-_II_ X6_1090T_ Processor- with-gentoo- 2.2 java-config: 2.2.0::gentoo baselayout: 2.2::gentoo gcc-config: 1.8::gentoo linux-headers: 4.3::gentoo (virtual/ os-headers)
Portage 2.2.26 (python 2.7.11-final-0, default/
=======
=======
System uname: Linux-4.
KiB Mem: 16177044 total, 6683272 free
KiB Swap: 100663280 total, 100628488 free
Timestamp of repository gentoo: Mon, 21 Dec 2015 03:00:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42::gentoo
dev-java/
dev-lang/perl: 5.22.1::gentoo
dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r6::gentoo, 3.5.1-r1::gentoo
dev-util/cmake: 3.4.1::gentoo
dev-util/pkgconfig: 0.29::gentoo
sys-apps/
sys-apps/openrc: 0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake: 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/
sys-devel/libtool: 2.4.6-r1::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/
sys-libs/glibc: 2.22-r1::gentoo
Repositories:
gentoo /rsync. gentoo. org/gentoo- portage
location: /usr/portage_caiman
sync-type: rsync
sync-uri: rsync:/
priority: -1000
x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
g-cpan
location: /var/lib/cpan
masters: gentoo
priority: 1
g-octave
location: /var/lib/g-octave
masters: gentoo
priority: 2
sage-on-gentoo layman/ sage-on- gentoo
location: /var/lib/
masters: gentoo science
priority: 50
science
location: /v...