Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384985 - app-text/pdf2djvu-0.7.10 fails to build with poppler-0.18.0
Summary: app-text/pdf2djvu-0.7.10 fails to build with poppler-0.18.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 384885
  Show dependency tree
 
Reported: 2011-09-29 20:09 UTC by Guillaume Horel
Modified: 2011-10-19 15:59 UTC (History)
0 users

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


Attachments
patch to compile with poppler-0.18 (pdf2djvu-poppler-0.18.patch,440 bytes, patch)
2011-09-29 20:12 UTC, Guillaume Horel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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