Bug#868911: libpodofo: FTBFS: c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -st

2017-07-31 Thread Mattia Rizzolo
Control: forwarded -1 https://sourceforge.net/p/podofo/mailman/message/35974139/
Control: tag -1 upstream

On Wed, Jul 19, 2017 at 05:48:41PM +0200, Lucas Nussbaum wrote:
> > /usr/bin/c++   -g -O2 -fdebug-prefix-map=/<>=. 
> > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> > -D_FORTIFY_SOURCE=2 -std=c++98 -Wall -Woverloaded-virtual -Wswitch-enum 
> > -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder  -Wl,-z,relro 
> > -Wl,-z,now CMakeFiles/LargeTest.dir/LargeTest.cpp.o  -o LargeTest  
> > -L/<>/obj-x86_64-linux-gnu/src 
> > -Wl,-rpath,/<>/obj-x86_64-linux-gnu/src -rdynamic -lpodofo 
> > -lfontconfig -lfreetype -lz -lidn -lcrypto -lcrypto -ljpeg -lpthread 
> > -lfreetype -lpng -lz -ltiff -lfontconfig -lfreetype -lz -lidn -lcrypto 
> > -lcrypto -ljpeg -lpthread -lfreetype -lpng -lz -ltiff 
> > In file included from /usr/include/c++/6/type_traits:35:0,
> >  from /usr/include/cppunit/tools/StringHelper.h:7,
> >  from /usr/include/cppunit/TestAssert.h:8,
> >  from /usr/include/cppunit/TestCase.h:6,
> >  from /usr/include/cppunit/TestCaller.h:5,
> >  from /usr/include/cppunit/extensions/HelperMacros.h:9,
> >  from /<>/test/unit/ColorTest.h:24,
> >  from /<>/test/unit/ColorTest.cpp:21:
> > /usr/include/c++/6/bits/c++0x_warning.h:32:2: error: #error This file 
> > requires compiler and library support for the ISO C++ 2011 standard. This 
> > support must be enabled with the -std=c++11 or -std=gnu++11 compiler 
> > options.
> >  #error This file requires compiler and library support \
> >   ^


That's the relevant part: cppunit now requring c++11.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#868911: libpodofo: FTBFS: c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -st

2017-07-19 Thread Lucas Nussbaum
Source: libpodofo
Version: 0.9.5-5
Severity: serious
Tags: buster sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> /usr/bin/c++   -g -O2 -fdebug-prefix-map=/<>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -std=c++98 -Wall -Woverloaded-virtual -Wswitch-enum 
> -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder  -Wl,-z,relro 
> -Wl,-z,now CMakeFiles/LargeTest.dir/LargeTest.cpp.o  -o LargeTest  
> -L/<>/obj-x86_64-linux-gnu/src 
> -Wl,-rpath,/<>/obj-x86_64-linux-gnu/src -rdynamic -lpodofo 
> -lfontconfig -lfreetype -lz -lidn -lcrypto -lcrypto -ljpeg -lpthread 
> -lfreetype -lpng -lz -ltiff -lfontconfig -lfreetype -lz -lidn -lcrypto 
> -lcrypto -ljpeg -lpthread -lfreetype -lpng -lz -ltiff 
> In file included from /usr/include/c++/6/type_traits:35:0,
>  from /usr/include/cppunit/tools/StringHelper.h:7,
>  from /usr/include/cppunit/TestAssert.h:8,
>  from /usr/include/cppunit/TestCase.h:6,
>  from /usr/include/cppunit/TestCaller.h:5,
>  from /usr/include/cppunit/extensions/HelperMacros.h:9,
>  from /<>/test/unit/ColorTest.h:24,
>  from /<>/test/unit/ColorTest.cpp:21:
> /usr/include/c++/6/bits/c++0x_warning.h:32:2: error: #error This file 
> requires compiler and library support for the ISO C++ 2011 standard. This 
> support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
>  #error This file requires compiler and library support \
>   ^
> [ 56%] Building CXX object 
> tools/podofocolor/CMakeFiles/podofocolor.dir/colorchanger.cpp.o
> cd /<>/obj-x86_64-linux-gnu/tools/podofocolor && /usr/bin/c++
> -I/<>/obj-x86_64-linux-gnu -I/<> 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/cppunit -I/usr/include/lua5.1 
> -I/<>/src -I/usr/include/freetype2  -g -O2 
> -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++98 -Wall 
> -Woverloaded-virtual -Wswitch-enum -Wcast-qual -Wwrite-strings 
> -Wredundant-decls -Wreorder   -W -o 
> CMakeFiles/podofocolor.dir/colorchanger.cpp.o -c 
> /<>/tools/podofocolor/colorchanger.cpp
> cd /<>/obj-x86_64-linux-gnu/test/TokenizerTest && /usr/bin/cmake 
> -E copy_directory /<>/test/TokenizerTest/objects 
> /<>/obj-x86_64-linux-gnu/test/TokenizerTest/objects
> [ 57%] Linking CXX executable SignatureTest
> cd /<>/obj-x86_64-linux-gnu/test/SignatureTest && /usr/bin/cmake 
> -E cmake_link_script CMakeFiles/SignatureTest.dir/link.txt --verbose=1
> make[3]: Leaving directory '/<>/obj-x86_64-linux-gnu'
> make[3]: Leaving directory '/<>/obj-x86_64-linux-gnu'
> /usr/bin/c++   -g -O2 -fdebug-prefix-map=/<>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -std=c++98 -Wall -Woverloaded-virtual -Wswitch-enum 
> -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder  -Wl,-z,relro 
> -Wl,-z,now CMakeFiles/SignatureTest.dir/SignTest.cpp.o  -o SignatureTest  
> -L/<>/obj-x86_64-linux-gnu/src 
> -Wl,-rpath,/<>/obj-x86_64-linux-gnu/src -rdynamic -lpodofo 
> -lfontconfig -lfreetype -lz -lidn -lcrypto -lcrypto -ljpeg -lpthread 
> -lfreetype -lpng -lz -ltiff -lfontconfig -lfreetype -lz -lidn -lcrypto 
> -lcrypto -ljpeg -lpthread -lfreetype -lpng -lz -ltiff 
> make[3]: Leaving directory '/<>/obj-x86_64-linux-gnu'
> [ 57%] Built target podofocountpages
> make -f tools/podofoencrypt/CMakeFiles/podofoencrypt.dir/build.make 
> tools/podofoencrypt/CMakeFiles/podofoencrypt.dir/depend
> [ 57%] Built target WatermarkTest
> make[3]: Entering directory '/<>/obj-x86_64-linux-gnu'
> cd /<>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
> "Unix Makefiles" /<> /<>/tools/podofoencrypt 
> /<>/obj-x86_64-linux-gnu 
> /<>/obj-x86_64-linux-gnu/tools/podofoencrypt 
> /<>/obj-x86_64-linux-gnu/tools/podofoencrypt/CMakeFiles/podofoencrypt.dir/DependInfo.cmake
>  --color=
> make -f tools/podofogc/CMakeFiles/podofogc.dir/build.make 
> tools/podofogc/CMakeFiles/podofogc.dir/depend
> [ 57%] Built target TokenizerTest
> make -f tools/podofoimgextract/CMakeFiles/podofoimgextract.dir/build.make 
> tools/podofoimgextract/CMakeFiles/podofoimgextract.dir/depend
> make[3]: Entering directory '/<>/obj-x86_64-linux-gnu'
> cd /<>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
> "Unix Makefiles" /<> /<>/tools/podofogc 
> /<>/obj-x86_64-linux-gnu 
> /<>/obj-x86_64-linux-gnu/tools/podofogc 
> /<>/obj-x86_64-linux-gnu/tools/podofogc/CMakeFiles/podofogc.dir/DependInfo.cmake
>  --color=
> make[3]: Entering directory '/<>/obj-x86_64-linux-gnu'
> cd /<>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
> "Unix Makefiles" /<> /<>/tools/podofoimgextract 
> /<>/obj-x86_64-linux-gnu 
> /<>/obj-x86_64-linux-gnu/tools/podofoimgextract 
>