Comment 1 for bug 383825

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

texlive-xetex and texlive-base-bin FTBFS:
With the latest libpoppler, texlive-bin FTBFS, because the GfxFont destructor became protected:
c++ -g -O2 -DHAVE_CONFIG_H -I. -I../../../../texk/web2c/pdftexdir -I../.. -I../../../../texk/web2c/pdftexdir/../.. -I/usr/include/poppler -I../../../libs/obsdcompat -I../../../libs/obsdcompat/.. -I../../../../texk/web2c/pdftexdir/../../../libs/obsdcompat -I../../../../texk/web2c/pdftexdir/../../../libs/obsdcompat/.. -c ../../../../texk/web2c/pdftexdir/pdftoepdf.cc
../../../../texk/web2c/pdftexdir/pdftoepdf.cc: In function 'void copyFont(char*, Object*)':
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:384: warning: deprecated conversion from string constant to 'char*'
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:386: warning: deprecated conversion from string constant to 'char*'
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:387: warning: deprecated conversion from string constant to 'char*'
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:389: warning: deprecated conversion from string constant to 'char*'
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:391: warning: deprecated conversion from string constant to 'char*'
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:393: warning: deprecated conversion from string constant to 'char*'
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:397: 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
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:636: error: within this context
../../../../texk/web2c/pdftexdir/pdftoepdf.cc: In function 'void write_epdf()':
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:851: warning: format not a string literal and no format arguments
../../../../texk/web2c/pdftexdir/pdftoepdf.cc:858: warning: format not a string literal and no format arguments
make[4]: *** [pdftoepdf.o] Error 1
make[4]: Leaving directory `/build/fabrice-texlive-bin_2007.dfsg.2-6ubuntu1-amd64-VsqtJ0/texlive-bin-2007.dfsg.2-6ubuntu1/build/source/Work/texk/web2c/pdftexdir'
make[3]: *** [pdftexdir/libpdf.a] Error 2
make[3]: Leaving directory `/build/fabrice-texlive-bin_2007.dfsg.2-6ubuntu1-amd64-VsqtJ0/texlive-bin-2007.dfsg.2-6ubuntu1/build/source/Work/texk/web2c'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/build/fabrice-texlive-bin_2007.dfsg.2-6ubuntu1-amd64-VsqtJ0/texlive-bin-2007.dfsg.2-6ubuntu1/build/source/Work/texk'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/build/fabrice-texlive-bin_2007.dfsg.2-6ubuntu1-amd64-VsqtJ0/texlive-bin-2007.dfsg.2-6ubuntu1/build/source/Work'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

This call to the destructor can be dropped as it's a virtual method, that don't do anything