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

Bug 290206

Summary: app-text/xpdf-3.02-r3 fails to build with poppler-0.12.1
Product: Gentoo Linux Reporter: malli
Component: Current packagesAssignee: Peter Alfredsen (RETIRED) <loki_val>
Status: RESOLVED DUPLICATE    
Severity: major CC: dkarasik, HAJEK1, loki_val, printing
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://cgit.freedesktop.org/poppler/poppler/commit/?id=485252844b5e0964ee724b74e2a7ba2b820b259e
Whiteboard:
Package list:
Runtime testing required: ---

Description malli 2009-10-23 08:02:48 UTC
When trying to emerge xpdf-3.02-r3, i get these compile errors:

xpdf.cc: In function 'int main(int, char**)':
xpdf.cc:221: error: 'class GlobalParams' has no member named 'setForceNoFTAutoHinting'
xpdf.cc:223: error: 'class GlobalParams' has no member named 'setForceNoFTAutoHinting'

Full build log: http://dpaste.com/110974/

I had xpdf installed version before, but now, it fails to recompile. I suspect that this has something to do with the recent poppler update from 0.12.0 to 0.12.1 or the gcc update to 4.4.2 .

Looking at the source, it turns out that these lines, that fail to compile, are added in this patch: 40_all_xpdf-poppler-autohinting-as-option.patch

BTW: xpdf-3.02-r2 fails too: http://dpaste.com/110978/

emerge --info: http://dpaste.com/110976/
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-10-23 08:43:02 UTC
I sent pgajdos at suse a note. Till then, this should build with poppler-0.12.0.
*loki_val puts a hex on upstream poppler*
Comment 2 malli 2009-10-23 10:11:32 UTC
It compiles fine with poppler-0.12.0, thanks for the hint.
Comment 3 Michal Hájek 2009-10-23 19:38:24 UTC
> xpdf.cc: In function 'int main(int, char**)':
> xpdf.cc:221: error: 'class GlobalParams' has no member named
> 'setForceNoFTAutoHinting'
> xpdf.cc:223: error: 'class GlobalParams' has no member named
> 'setForceNoFTAutoHinting'

> BTW: xpdf-3.02-r2 fails too: http://dpaste.com/110978/

same here. I can confirm xpdf-3.02-r2 failure. 
Comment 4 Preston Crow 2009-10-23 23:22:10 UTC
This is a duplicate of bug 289803
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-10-27 13:32:19 UTC

*** This bug has been marked as a duplicate of bug 289803 ***