FS#47490 - [python2-poppler] does not compile or load
Attached to Project:
Community Packages
Opened by John Williams (johnw) - Tuesday, 22 December 2015, 14:19 GMT
Last edited by Balló György (City-busz) - Monday, 27 June 2016, 21:14 GMT
Opened by John Williams (johnw) - Tuesday, 22 December 2015, 14:19 GMT
Last edited by Balló György (City-busz) - Monday, 27 June 2016, 21:14 GMT
|
Details
I've updated to poppler 0.39.0-1 and poppler-glib
0.39.0-1.
Since then, one of my own programs that uses python2-poppler (version 0.12.1-8) fails with: ImportError: /usr/lib/python2.7/site-packages/poppler.so: undefined symbol: poppler_orientation_get_type I thought that python2-poppler might need recompiling for the new version of poppler, but it will not compile: makepkg fails with: poppler.c: In function ‘py_poppler_add_constants’: poppler.c:4575:53: error: ‘POPPLER_TYPE_ORIENTATION’ undeclared (first use in this function) pyg_enum_add(module, "Orientation", strip_prefix, POPPLER_TYPE_ORIENTATION); It looks to me like poppler has removed some function that this depends on. |
This task depends upon
Closed by Balló György (City-busz)
Monday, 27 June 2016, 21:14 GMT
Reason for closing: Fixed
Additional comments about closing: python2-poppler 0.12.1-9
Monday, 27 June 2016, 21:14 GMT
Reason for closing: Fixed
Additional comments about closing: python2-poppler 0.12.1-9
With python2-poppler 0.12.1-8 from [community]:
~$ python2 -c 'import poppler'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /usr/lib/python2.7/site-packages/poppler.so: undefined symbol: poppler_orientation_get_type
After rebuilding with the above patch:
~$ python2 -c 'import poppler'
~$