Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508890

Summary: dev-tex/luatex fails with app-text/poppler-0.26.0
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
build log of patched version with poppler-0.24 :(

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.