[Bug 383825] [NEW] FTBFS with latest libpoppler 0.11 with "error: 'virtual GfxFont::~GfxFont()' is protected"

fabrice_sp coutadeurf at gmail.com
Fri Jun 5 04:21:47 UTC 2009


Public bug reported:

Hi,

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

** Affects: texlive-bin (Ubuntu)
     Importance: Undecided
     Assignee: fabrice_sp (fabricesp)
         Status: In Progress

** Changed in: texlive-bin (Ubuntu)
       Status: New => In Progress

** Changed in: texlive-bin (Ubuntu)
     Assignee: (unassigned) => fabrice_sp (fabricesp)

-- 
FTBFS with latest libpoppler 0.11 with "error: 'virtual GfxFont::~GfxFont()' is protected"
https://bugs.launchpad.net/bugs/383825
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list