from /var/tmp/portage/app-text/podofo-0.9.6_pre20170428/work/podofo-0.9.6_pre20170428/src/doc/PdfPainter.cpp:42: /var/tmp/portage/app-text/podofo-0.9.6_pre20170428/work/podofo-0.9.6_pre20170428/src/doc/PdfPainter.cpp: In destructor ‘virtual PoDoFo::PdfPainter::~PdfPainter()’: /var/tmp/portage/app-text/podofo-0.9.6_pre20170428/work/podofo-0.9.6_pre20170428/podofo/base/../../src/base/PdfError.h:164:92: error: throw will always call terminate() [-Werror=terminate] _RAISE_ERROR_INFO( x, y ) throw ::PoDoFo::PdfError( x, __FILE__, __LINE__, y ); ^ /var/tmp/portage/app-text/podofo-0.9.6_pre20170428/work/podofo-0.9.6_pre20170428/podofo/base/../../src/base/PdfDefines.h:128:43: note: in expansion of macro ‘PODOFO_RAISE_ERROR_INFO’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-libressl_20170422-091839 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 [2] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) java-config: The following VMs are available for generation-2:
Created attachment 471502 [details] emerge-info.txt
Created attachment 471504 [details] app-text:podofo-0.9.6_pre20170428:20170501-222543.log
Created attachment 471506 [details] emerge-history.txt
Created attachment 471508 [details] environment
Created attachment 471510 [details] etc.portage.tbz2
Created attachment 471512 [details] temp.tbz2
The comments in the relevant code seem to indicate the it is intended to terminate/abort, so maybe the best that can be done is to suppress the compiler warning somehow: https://sourceforge.net/p/podofo/code/1849/tree/podofo/trunk/src/doc/PdfPainter.cpp#l137 PdfPainter::~PdfPainter() { // Throwing exceptions in C++ destructors is not allowed. // Just log the error. // PODOFO_RAISE_LOGIC_IF( m_pCanvas, "FinishPage() has to be called after a page is completed!" ); // Note that we can't do this for the user, since FinishPage() might // throw and we can't safely have that in a dtor. That also means // we can't throw here, but must abort. if( m_pCanvas ) PdfError::LogMessage( eLogSeverity_Error, "PdfPainter::~PdfPainter(): FinishPage() has to be called after a page is completed!" ); PODOFO_ASSERT( !m_pCanvas ); }