Source: xmlcopyeditor Version: 1.3.0.0-1.1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240615 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > g++ -DPACKAGE_NAME=\"xmlcopyeditor\" -DPACKAGE_TARNAME=\"xmlcopyeditor\" > -DPACKAGE_VERSION=\"1.3.0.0\" -DPACKAGE_STRING=\"xmlcopyeditor\ 1.3.0.0\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xmlcopyeditor\" > -DVERSION=\"1.3.0.0\" -DGETTEXT_PACKAGE=\"xmlcopyeditor\" -DHAVE_STDIO_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 > -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. > -I/usr/include/libxml2 -Wall -g -fexceptions > -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 > -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DwxDEBUG_LEVEL=0 -D__NO_GTK__ > -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 > -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -MT wraplibxml.o -MD > -MP -MF .deps/wraplibxml.Tpo -c -o wraplibxml.o wraplibxml.cpp > wraplibxml.cpp: In constructor ‘Initializer::Initializer(const wxString&)’: > wraplibxml.cpp:57:45: warning: ‘void initGenericErrorDefaultFunc(void > (**)(void*, const char*, ...))’ is deprecated [-Wdeprecated-declarations] > 57 | initGenericErrorDefaultFunc ( NULL ); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ > In file included from /usr/include/libxml2/libxml/valid.h:15, > from /usr/include/libxml2/libxml/parser.h:19, > from wraplibxml.h:28, > from wraplibxml.cpp:21: > /usr/include/libxml2/libxml/xmlerror.h:894:5: note: declared here > 894 | initGenericErrorDefaultFunc (xmlGenericErrorFunc *handler); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > wraplibxml.cpp: In static member function ‘static void > Initializer::OnXmlGenericError(void*, const char*, ...)’: > wraplibxml.cpp:81:33: warning: ‘throw’ will always call ‘terminate’ > [-Wterminate] > 81 | throw std::runtime_error ( "Out of > memory" ); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > wraplibxml.cpp:90:33: warning: ‘throw’ will always call ‘terminate’ > [-Wterminate] > 90 | throw std::runtime_error ( buffer ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > wraplibxml.cpp:95:33: warning: ‘throw’ will always call ‘terminate’ > [-Wterminate] > 95 | throw std::runtime_error ( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > 96 | std::string ( "Can't format > message: " ) + msg ); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > wraplibxml.cpp: In member function ‘bool WrapLibxml::parse(const char*, > size_t, const wxString&, bool, bool)’: > wraplibxml.cpp:329:30: warning: ‘int xmlKeepBlanksDefault(int)’ is deprecated > [-Wdeprecated-declarations] > 329 | xmlKeepBlanksDefault ( indent ? 0 : 1 ); > | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ > /usr/include/libxml2/libxml/parser.h:957:17: note: declared here > 957 | xmlKeepBlanksDefault (int val); > | ^~~~~~~~~~~~~~~~~~~~ > wraplibxml.cpp: In member function ‘bool WrapLibxml::xpath(const wxString&, > const std::string&, const wxString&)’: > wraplibxml.cpp:364:30: warning: ‘int xmlKeepBlanksDefault(int)’ is deprecated > [-Wdeprecated-declarations] > 364 | xmlKeepBlanksDefault ( 0 ); > | ~~~~~~~~~~~~~~~~~~~~~^~~~~ > /usr/include/libxml2/libxml/parser.h:957:17: note: declared here > 957 | xmlKeepBlanksDefault (int val); > | ^~~~~~~~~~~~~~~~~~~~ > wraplibxml.cpp: In member function ‘std::string > WrapLibxml::dumpXPathObject(xmlXPathObjectPtr)’: > wraplibxml.cpp:476:9: warning: case value ‘5’ not in enumerated type > ‘xmlXPathObjectType’ [-Wswitch] > 476 | case XPATH_POINT: > | ^~~~ > wraplibxml.cpp:487:9: warning: case value ‘6’ not in enumerated type > ‘xmlXPathObjectType’ [-Wswitch] > 487 | case XPATH_RANGE: > | ^~~~ > wraplibxml.cpp:488:9: warning: case value ‘7’ not in enumerated type > ‘xmlXPathObjectType’ [-Wswitch] > 488 | case XPATH_LOCATIONSET: > | ^~~~ > wraplibxml.cpp: In member function ‘wxString WrapLibxml::getLastError()’: > wraplibxml.cpp:709:42: error: invalid conversion from ‘const xmlError*’ {aka > ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive] > 709 | xmlErrorPtr err = xmlGetLastError(); > | ~~~~~~~~~~~~~~~^~ > | | > | const xmlError* {aka const > _xmlError*} > wraplibxml.cpp: In member function ‘std::pair<int, int> > WrapLibxml::getErrorPosition()’: > wraplibxml.cpp:725:42: error: invalid conversion from ‘const xmlError*’ {aka > ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive] > 725 | xmlErrorPtr err = xmlGetLastError(); > | ~~~~~~~~~~~~~~~^~ > | | > | const xmlError* {aka const > _xmlError*} > wraplibxml.cpp: In static member function ‘static xmlChar* > WrapLibxml::xmlFileNameToURL(const wxString&)’: > wraplibxml.cpp:791:21: warning: ‘bool wxFileName::Normalize()’ is deprecated: > specify the wanted flags explicitly to avoid surprises > [-Wdeprecated-declarations] > 791 | fn.Normalize(); > | ~~~~~~~~~~~~^~ > In file included from wraplibxml.h:25: > /usr/include/wx-3.2/wx/filename.h:366:10: note: declared here > 366 | bool Normalize() > | ^~~~~~~~~ > make[2]: *** [Makefile:722: wraplibxml.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/06/15/xmlcopyeditor_1.3.0.0-1.1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results 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! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.