Package: src:tinyxml Version: 2.6.2-6.1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build -- CXXFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTIXML_USE_STL -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" CXX="x86_64-linux-gnu-g++" LD="x86_64-linux-gnu-g++" make -j2 "INSTALL=install --strip-program=true" "CXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTIXML_USE_STL -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS=-Wl,-z,relro CXX=x86_64-linux-gnu-g\+\+ LD=x86_64-linux-gnu-g\+\+ make[2]: Entering directory '/<<PKGBUILDDIR>>' x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTIXML_USE_STL -Wdate-time -D_FORTIFY_SOURCE=2 tinyxml.cpp -o tinyxml.o x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTIXML_USE_STL -Wdate-time -D_FORTIFY_SOURCE=2 tinyxmlparser.cpp -o tinyxmlparser.o x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTIXML_USE_STL -Wdate-time -D_FORTIFY_SOURCE=2 xmltest.cpp -o xmltest.o xmltest.cpp: In function ‘int main()’: xmltest.cpp:607:46: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 607 | fgets( savedBuf, 256, saved ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ xmltest.cpp:980:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 980 | fgets( buf, 1024, textfile ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTIXML_USE_STL -Wdate-time -D_FORTIFY_SOURCE=2 tinyxmlerror.cpp -o tinyxmlerror.o x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DTIXML_USE_STL -Wdate-time -D_FORTIFY_SOURCE=2 tinystr.cpp -o tinystr.o x86_64-linux-gnu-g++ -o xmltest -Wl,-z,relro tinyxml.o tinyxmlparser.o xmltest.o tinyxmlerror.o tinystr.o make[2]: Leaving directory '/<<PKGBUILDDIR>>' x86_64-linux-gnu-ar rc libtinyxml.a tinyxml.o tinyxmlparser.o tinyxmlerror.o rm *.o xmltest dh_auto_build -- CXXFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC" LDFLAGS="-Wl,-z,relro" CXX="x86_64-linux-gnu-g++" LD="x86_64-linux-gnu-g++" make -j2 "INSTALL=install --strip-program=true" "CXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC" LDFLAGS=-Wl,-z,relro CXX=x86_64-linux-gnu-g\+\+ LD=x86_64-linux-gnu-g\+\+ make[2]: Entering directory '/<<PKGBUILDDIR>>' x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC tinyxml.cpp -o tinyxml.o x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC tinyxmlparser.cpp -o tinyxmlparser.o x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC xmltest.cpp -o xmltest.o x86_64-linux-gnu-g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC tinyxmlerror.cpp -o tinyxmlerror.o xmltest.cpp: In function ‘int main()’: xmltest.cpp:264:17: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’? 264 | cout << doc << endl << endl; | ^~~~ | std::cout In file included from tinyxml.h:52, from xmltest.cpp:20: /usr/include/c++/13/iostream:63:18: note: ‘std::cout’ declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ xmltest.cpp:264:32: error: ‘endl’ was not declared in this scope; did you mean ‘std::endl’? 264 | cout << doc << endl << endl; | ^~~~ | std::endl In file included from /usr/include/c++/13/iostream:41: /usr/include/c++/13/ostream:735:5: note: ‘std::endl’ declared here 735 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~ xmltest.cpp:278:17: error: ‘ostringstream’ was not declared in this scope; did you mean ‘std::ostringstream’? 278 | ostringstream outputStream( ostringstream::out ); | ^~~~~~~~~~~~~ | std::ostringstream In file included from /usr/include/c++/13/bits/localefwd.h:41, from /usr/include/c++/13/string:45, from tinyxml.h:51: /usr/include/c++/13/iosfwd:155:41: note: ‘std::ostringstream’ declared here 155 | typedef basic_ostringstream<char> ostringstream; | ^~~~~~~~~~~~~ xmltest.cpp:279:17: error: ‘outputStream’ was not declared in this scope 279 | outputStream << doc; | ^~~~~~~~~~~~ xmltest.cpp:280:57: error: ‘string’ was not declared in this scope 280 | XmlTest( "Output stream correct.", string( demoEnd ).c_str(), | ^~~~~~ xmltest.cpp:280:57: note: suggested alternatives: In file included from /usr/include/c++/13/string:41: /usr/include/c++/13/bits/stringfwd.h:77:33: note: ‘std::string’ 77 | typedef basic_string<char> string; | ^~~~~~ /usr/include/c++/13/string:66:11: note: ‘std::pmr::string’ 66 | using string = basic_string<char>; | ^~~~~~ xmltest.cpp:366:25: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 366 | istringstream parse0( "<Element0 attribute0='foo0' attribute1= noquotes attribute2 = '>' />" ); | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:368:25: error: ‘parse0’ was not declared in this scope 368 | parse0 >> element0; | ^~~~~~ xmltest.cpp:399:25: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 399 | istringstream inputStringStream( outputStream.str() ); | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:402:25: error: ‘inputStringStream’ was not declared in this scope 402 | inputStringStream >> document0; | ^~~~~~~~~~~~~~~~~ xmltest.cpp:404:38: error: expected ‘;’ before ‘outputStream0’ 404 | ostringstream outputStream0( ostringstream::out ); | ^~~~~~~~~~~~~~ | ; xmltest.cpp:405:25: error: ‘outputStream0’ was not declared in this scope 405 | outputStream0 << document0; | ^~~~~~~~~~~~~ xmltest.cpp:719:17: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 719 | istringstream parse1( "<start>This is \ntext</start>" ); | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:721:17: error: ‘parse1’ was not declared in this scope 721 | parse1 >> text1; | ^~~~~~ xmltest.cpp:780:17: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 780 | istringstream parse0( str ); | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:781:17: error: ‘parse0’ was not declared in this scope 781 | parse0 >> doc; | ^~~~~~ xmltest.cpp:818:17: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 818 | istringstream iss( printer.Str() ); | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:819:17: error: ‘iss’ was not declared in this scope 819 | iss >> doc; | ^~~ xmltest.cpp:846:17: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 846 | istringstream parse0( str ); | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:847:17: error: ‘parse0’ was not declared in this scope 847 | parse0 >> doc; | ^~~~~~ xmltest.cpp:922:25: error: ‘string’ was not declared in this scope 922 | string name = "missing"; | ^~~~~~ xmltest.cpp:922:25: note: suggested alternatives: /usr/include/c++/13/bits/stringfwd.h:77:33: note: ‘std::string’ 77 | typedef basic_string<char> string; | ^~~~~~ /usr/include/c++/13/string:66:11: note: ‘std::pmr::string’ 66 | using string = basic_string<char>; | ^~~~~~ xmltest.cpp:923:39: error: ‘name’ was not declared in this scope; did you mean ‘tzname’? 923 | doc.LoadFile( name ); | ^~~~ | tzname xmltest.cpp:1129:17: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 1129 | istringstream strm( doctype ); | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:1132:17: error: ‘strm’ was not declared in this scope; did you mean ‘tm’? 1132 | strm >> doc; | ^~~~ | tm xmltest.cpp:1281:17: error: ‘istringstream’ was not declared in this scope; did you mean ‘std::istringstream’? 1281 | istringstream parse1( "<!-- declarations for <head> & <body> -->" | ^~~~~~~~~~~~~ | std::istringstream /usr/include/c++/13/iosfwd:152:41: note: ‘std::istringstream’ declared here 152 | typedef basic_istringstream<char> istringstream; | ^~~~~~~~~~~~~ xmltest.cpp:1283:17: error: ‘parse1’ was not declared in this scope 1283 | parse1 >> xml; | ^~~~~~ xmltest.cpp:607:46: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 607 | fgets( savedBuf, 256, saved ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ xmltest.cpp:980:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 980 | fgets( buf, 1024, textfile ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:113: xmltest.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" "CXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC" LDFLAGS=-Wl,-z,relro CXX=x86_64-linux-gnu-g\+\+ LD=x86_64-linux-gnu-g\+\+ returned exit code 2 make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202407/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.