Source: cppcheck
Version: 1.74-2
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20160828 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):
> g++ -Ilib -Wdate-time -D_FORTIFY_SOURCE=2
> -DCFGDIR=\"/usr/share/cppcheck/cfg\" -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -std=c++0x -DHAVE_RULES -DTIXML_USE_STL -c -o
> lib/library.o lib/library.cpp
> lib/library.cpp: In member function 'Library::Error Library::load(const
> char*, const char*)':
> lib/library.cpp:95:18: error: 'XML_NO_ERROR' is not a member of 'tinyxml2'
> if (error == tinyxml2::XML_NO_ERROR) {
> ^~~~~~~~
> lib/library.cpp: In member function 'bool Library::loadxmldata(const char*,
> std::size_t)':
> lib/library.cpp:112:13: error: 'XML_NO_ERROR' is not a member of 'tinyxml2'
> return (tinyxml2::XML_NO_ERROR == doc.Parse(xmldata, len)) &&
> (load(doc).errorcode == OK);
> ^~~~~~~~
> Makefile:390: recipe for target 'lib/library.o' failed
> make[2]: *** [lib/library.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/08/28/cppcheck_1.74-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.