Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508890 - dev-tex/luatex fails with app-text/poppler-0.26.0
Summary: dev-tex/luatex fails with app-text/poppler-0.26.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-27 17:14 UTC by Andreas K. Hüttel
Modified: 2014-05-24 19:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (luatex-0.76.0:20140427-170529.log,131.28 KB, text/plain)
2014-04-27 17:16 UTC, Andreas K. Hüttel
Details
build log of patched version with poppler-0.24 :( (luatex-fail-poppler-0.24.txt,105.61 KB, text/plain)
2014-05-01 17:35 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2014-04-27 17:14:56 UTC
luatexdir/lua/lepdflib.cc: In function 'int m_Catalog_getStructTreeRoot(lua_State*)':
luatexdir/lua/lepdflib.cc:205:7: error: cannot convert 'StructTreeRoot*' to 'Object*' in assignment
     o = ((in *) uin->d)->function();                           \
       ^
luatexdir/lua/lepdflib.cc:576:1: note: in expansion of macro 'm_poppler_get_poppler'
 m_poppler_get_poppler(Catalog, Object, getStructTreeRoot);
 ^
luatexdir/lua/lepdflib.cc: In function 'int m_PDFDoc_getStructTreeRoot(lua_State*)':
luatexdir/lua/lepdflib.cc:2155:13: error: cannot convert 'StructTreeRoot*' to 'Object*' in assignment
         obj = ((PdfDocument *) uin->d)->doc->getStructTreeRoot();
             ^
make: *** [luatexdir/lua/libluatex_a-lepdflib.o] Error 1
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-04-27 17:16:16 UTC
Created attachment 375874 [details]
build log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2014-04-30 23:48:37 UTC
I've added *without keywords* 

dev-tex/luatex-0.76.0-r1

with a patch from NetBSD that makes things build against poppler-0.26.

Testing so far: only build-testing against poppler-0.26
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2014-05-01 17:35:50 UTC
Created attachment 376156 [details]
build log of patched version with poppler-0.24 :(

Unfortunately the patched version so far fails with poppler-0.24. Some more attention required.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2014-05-24 19:57:54 UTC
Fixed in luatex-0.76.0 by applying the patch conditionally.