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

Bug 384985

Summary: app-text/pdf2djvu-0.7.10 fails to build with poppler-0.18.0
Product: Gentoo Linux Reporter: Guillaume Horel <guillaume.horel>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 384885    
Attachments: patch to compile with poppler-0.18

Description Guillaume Horel 2011-09-29 20:09:54 UTC
pdf2djvu has to be recompiled following poppler-0.18.0 update (it's on the revdep-rebuild list), but fails to do so.

Reproducible: Always

Steps to Reproduce:
1. emerge pdf2djvu
2. watch it fail
3.
Actual Results:  
It fails with the following error:

/usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBLine(Guchar*, unsigned int*, int)’:
/usr/include/poppler/GfxState.h:206:139: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBLine(Guchar*, Guchar*, int)’:
/usr/include/poppler/GfxState.h:207:134: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/GfxState.h: In member function ‘virtual void GfxColorSpace::getRGBXLine(Guchar*, Guchar*, int)’:
/usr/include/poppler/GfxState.h:208:119: warning: deprecated conversion from string constant to ‘char*’
In file included from pdf-dpi.hh:11:0,
                 from pdf-dpi.cc:8:
pdf-backend.hh: At global scope:
pdf-backend.hh:80:13: error: ‘Link’ in namespace ‘::’ does not name a type
pdf-backend.hh:114:33: error: ‘pdf::link::Link’ has not been declared
pdf-backend.hh:119:38: error: ‘pdf::link::Link’ has not been declared
pdf-backend.hh:120:38: error: ‘pdf::link::Link’ has not been declared
make: *** [pdf-dpi.o] Error 1

Expected Results:  
It should install
Comment 1 Guillaume Horel 2011-09-29 20:12:04 UTC
Created attachment 288269 [details, diff]
patch to compile with poppler-0.18

Patch has already been pushed upstream (see http://code.google.com/p/pdf2djvu/source/detail?r=dd9026df3fa8)
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-10-19 15:59:57 UTC
+*pdf2djvu-0.7.11 (19 Oct 2011)
+
+  19 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> +pdf2djvu-0.7.11.ebuild:
+  Version bump to fix building with poppler >= 0.18 wrt #384985 by Guillaume
+  Horel