g++ -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -DSYSTEM_XPDFRC="\"/etc/xpdfrc\"" -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -DHAVE_DIRENT_H -c -o PDFCore.o PDFCore.cc In file included from /usr/include/poppler/XRef.h:34, from /usr/include/poppler/PDFDoc.h:36, from PDFCore.cc:25: /usr/include/poppler/Object.h: In member function ‘GBool Object::getBool()’: /usr/include/poppler/Object.h:189: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘int Object::getInt()’: /usr/include/poppler/Object.h:190: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘double Object::getReal()’: /usr/include/poppler/Object.h:191: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘double Object::getNum()’: /usr/include/poppler/Object.h:192: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘GooString* Object::getString()’: /usr/include/poppler/Object.h:193: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘char* Object::getName()’: /usr/include/poppler/Object.h:194: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Array* Object::getArray()’: /usr/include/poppler/Object.h:195: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Dict* Object::getDict()’: /usr/include/poppler/Object.h:196: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Stream* Object::getStream()’: /usr/include/poppler/Object.h:197: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Ref Object::getRef()’: /usr/include/poppler/Object.h:198: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘int Object::getRefNum()’: /usr/include/poppler/Object.h:199: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘int Object::getRefGen()’: /usr/include/poppler/Object.h:200: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘char* Object::getCmd()’: /usr/include/poppler/Object.h:201: warning: deprecated conversion from string constant to ‘char*’ In file included from /usr/include/poppler/XRef.h:34, from /usr/include/poppler/PDFDoc.h:36, from PDFCore.cc:25: /usr/include/poppler/Object.h: In member function ‘int Object::arrayGetLength()’: /usr/include/poppler/Object.h:267: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘void Object::arrayAdd(Object*)’: /usr/include/poppler/Object.h:270: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Object* Object::arrayGet(int, Object*)’: /usr/include/poppler/Object.h:273: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Object* Object::arrayGetNF(int, Object*)’: /usr/include/poppler/Object.h:276: warning: deprecated conversion from string constant to ‘char*’ In file included from /usr/include/poppler/XRef.h:34, from /usr/include/poppler/PDFDoc.h:36, from PDFCore.cc:25: /usr/include/poppler/Object.h: In member function ‘int Object::dictGetLength()’: /usr/include/poppler/Object.h:285: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘void Object::dictAdd(char*, Object*)’: /usr/include/poppler/Object.h:288: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘void Object::dictSet(char*, Object*)’: /usr/include/poppler/Object.h:291: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘GBool Object::dictIs(char*)’: /usr/include/poppler/Object.h:294: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Object* Object::dictLookup(char*, Object*)’: /usr/include/poppler/Object.h:300: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Object* Object::dictLookupNF(char*, Object*)’: /usr/include/poppler/Object.h:303: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘char* Object::dictGetKey(int)’: /usr/include/poppler/Object.h:306: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Object* Object::dictGetVal(int, Object*)’: /usr/include/poppler/Object.h:309: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Object* Object::dictGetValNF(int, Object*)’: /usr/include/poppler/Object.h:312: warning: deprecated conversion from string constant to ‘char*’ In file included from /usr/include/poppler/XRef.h:34, from /usr/include/poppler/PDFDoc.h:36, from PDFCore.cc:25: /usr/include/poppler/Object.h: In member function ‘GBool Object::streamIs(char*)’: /usr/include/poppler/Object.h:321: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘void Object::streamReset()’: /usr/include/poppler/Object.h:327: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘void Object::streamClose()’: /usr/include/poppler/Object.h:330: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘int Object::streamGetChar()’: /usr/include/poppler/Object.h:333: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘int Object::streamLookChar()’: /usr/include/poppler/Object.h:336: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘char* Object::streamGetLine(char*, int)’: /usr/include/poppler/Object.h:339: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Guint Object::streamGetPos()’: /usr/include/poppler/Object.h:342: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘void Object::streamSetPos(Guint, int)’: /usr/include/poppler/Object.h:345: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/Object.h: In member function ‘Dict* Object::streamGetDict()’: /usr/include/poppler/Object.h:348: warning: deprecated conversion from string constant to ‘char*’ /usr/include/poppler/TextOutputDev.h: In destructor ‘PDFCorePage::~PDFCorePage()’: /usr/include/poppler/TextOutputDev.h:565: error: ‘TextPage::~TextPage()’ is private PDFCore.cc:52: error: within this context make: *** [PDFCore.o] Error 1 Caused by this commit: http://cgit.freedesktop.org/poppler/poppler/commit/?id=ba91b889c3b50239e339938f3c9d31fffcd87d44
Created attachment 191280 [details, diff] patch
Thanks! + 14 May 2009; Peter Alfredsen <loki_val@gentoo.org> + -files/poppler-0.10.0.patch, -xpdf-3.02-r1.ebuild, xpdf-3.02-r2.ebuild, + +files/xpdf-3.02-poppler-0.10.0.patch, + +files/xpdf-3.02-poppler-0.11.0.patch: + Fix bug 269546, FTBFS w/poppler-0.11.0, patch from Alexis Ballier, the + magnificent. Move poppler-0.10.0.patch to ${P}-poppler-0.10.0.patch for + consistency. Delete old. +