Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269545 - dev-tex/pdftex-1.40.9 fails to build w/ dev-libs/poppler-0.11.0
Summary: dev-tex/pdftex-1.40.9 fails to build w/ dev-libs/poppler-0.11.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 12:43 UTC by Peter Alfredsen (RETIRED)
Modified: 2009-05-14 17:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2009-05-12 12:43:55 UTC
x86_64-pc-linux-gnu-g++ -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -DHAVE_CONFIG_H  -I. -I. -I../.. -I./../.. -I/usr/include/poppler -I/usr/include/poppler/xpdf -I/usr/include/poppler/goo -I/usr/include/poppler/fofi -I/usr/include/poppler -I/usr/include/poppler/xpdf -I/usr/include/poppler/goo -I/usr/include/poppler/fofi -I../../../libs/obsdcompat -I../../../libs/obsdcompat/.. -I./../../../libs/obsdcompat -I./../../../libs/obsdcompat/.. -DPDF_PARSER_ONLY -c pdftoepdf.cc
In file included from pdftoepdf.cc:34:
/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 pdftoepdf.cc:34:
/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 pdftoepdf.cc:34:
/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 pdftoepdf.cc:34:
/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*’
pdftoepdf.cc: In function ‘void copyFont(char*, Object*)’:
pdftoepdf.cc:393: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:395: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:396: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:398: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:400: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:402: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:406: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:408: warning: deprecated conversion from string constant to ‘char*’
/usr/include/poppler/GfxFont.h: In function ‘void writeEncodings()’:
/usr/include/poppler/GfxFont.h:230: error: ‘virtual GfxFont::~GfxFont()’ is protected
pdftoepdf.cc:648: error: within this context
pdftoepdf.cc: In function ‘void write_epdf()’:
pdftoepdf.cc:974: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:978: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:983: warning: deprecated conversion from string constant to ‘char*’
pdftoepdf.cc:988: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [pdftoepdf.o] Error 1
make[1]: Leaving directory `/dev/shm/portage/dev-tex/pdftex-1.40.9/work/pdftex-1.40.9/src/texk/web2c/pdftexdir'
make: *** [pdftexdir/libpdf.a] Error 2

Caused by this commit:
http://cgit.freedesktop.org/poppler/poppler/commit/?id=80f415176952635a485356cf36048eee53396c25

Looks like pdftex is using much of the same sources as luatex, so solving this bug will probably solve bug 269544 too.
Comment 1 Alexis Ballier gentoo-dev 2009-05-14 17:20:33 UTC
fixed, thanks