Source: recoll
Version: 1.36.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):
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I./common  -Wall -Wno-unused -std=c++14 -I. -I./aspell -I./bincimapmime 
> -I./common -I./index -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix 
> -DBUILDING_RECOLL -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/libxml2   
> -DRECOLL_DATADIR=\"/usr/share/recoll\" -DREADFILE_ENABLE_ZLIB 
> -DREADFILE_ENABLE_MINIZ -DREADFILE_ENABLE_MD5 -D_GNU_SOURCE -DHAVE_CONFIG_H 
> -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection  -c -o internfile/mh_xslt.lo 
> internfile/mh_xslt.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./common -Wall -Wno-unused 
> -std=c++14 -I. -I./aspell -I./bincimapmime -I./common -I./index 
> -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix -DBUILDING_RECOLL 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 
> -DRECOLL_DATADIR=\"/usr/share/recoll\" -DREADFILE_ENABLE_ZLIB 
> -DREADFILE_ENABLE_MINIZ -DREADFILE_ENABLE_MD5 -D_GNU_SOURCE -DHAVE_CONFIG_H 
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c internfile/mh_xslt.cpp  -fPIC 
> -DPIC -o internfile/.libs/mh_xslt.o
> internfile/mh_xslt.cpp: In member function ‘xmlDoc* FileScanXML::getDoc()’:
> internfile/mh_xslt.cpp:69:46: error: invalid conversion from ‘const 
> xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} 
> [-fpermissive]
>    69 |             xmlError *error = xmlGetLastError();
>       |                               ~~~~~~~~~~~~~~~^~
>       |                                              |
>       |                                              const xmlError* {aka 
> const _xmlError*}
> internfile/mh_xslt.cpp: In member function ‘virtual bool 
> FileScanXML::data(const char*, int, std::string*)’:
> internfile/mh_xslt.cpp:98:46: error: invalid conversion from ‘const 
> xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} 
> [-fpermissive]
>    98 |             xmlError *error = xmlGetLastError();
>       |                               ~~~~~~~~~~~~~~~^~
>       |                                              |
>       |                                              const xmlError* {aka 
> const _xmlError*}
> internfile/mh_xslt.cpp: In constructor 
> ‘MimeHandlerXslt::MimeHandlerXslt(RclConfig*, const std::string&, const 
> std::vector<std::__cxx11::basic_string<char> >&)’:
> internfile/mh_xslt.cpp:162:33: warning: ‘int 
> xmlSubstituteEntitiesDefault(int)’ is deprecated [-Wdeprecated-declarations]
>   162 |     xmlSubstituteEntitiesDefault(0);
>       |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
> In file included from internfile/mh_xslt.cpp:25:
> /usr/include/libxml2/libxml/parser.h:953:17: note: declared here
>   953 |                 xmlSubstituteEntitiesDefault(int val);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/libxml2/libxml/parser.h:13:
> /usr/include/libxml2/libxml/xmlversion.h:500:44: warning: ‘int* 
> __xmlLoadExtDtdDefaultValue()’ is deprecated [-Wdeprecated-declarations]
>   500 |   #define XML_GLOBAL_MACRO(name) (*__##name())
>       |                                    ~~~~~~~~^~
> /usr/include/libxml2/libxml/parser.h:900:37: note: in expansion of macro 
> ‘XML_GLOBAL_MACRO’
>   900 |   #define xmlLoadExtDtdDefaultValue 
> XML_GLOBAL_MACRO(xmlLoadExtDtdDefaultValue)
>       |                                     ^~~~~~~~~~~~~~~~
> internfile/mh_xslt.cpp:163:5: note: in expansion of macro 
> ‘xmlLoadExtDtdDefaultValue’
>   163 |     xmlLoadExtDtdDefaultValue = 0;
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
>   499 |     attrs XMLPUBFUN type *__##name(void);
>       |                           ^~
> /usr/include/libxml2/libxml/parser.h:885:16: note: in expansion of macro 
> ‘XML_DECLARE_GLOBAL’
>   885 | #define XML_OP XML_DECLARE_GLOBAL
>       |                ^~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/parser.h:859:3: note: in expansion of macro 
> ‘XML_OP’
>   859 |   XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
>       |   ^~~~~~
> /usr/include/libxml2/libxml/parser.h:881:3: note: in expansion of macro 
> ‘XML_GLOBALS_PARSER_CORE’
>   881 |   XML_GLOBALS_PARSER_CORE \
>       |   ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/parser.h:886:1: note: in expansion of macro 
> ‘XML_GLOBALS_PARSER’
>   886 | XML_GLOBALS_PARSER
>       | ^~~~~~~~~~~~~~~~~~
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I./common  -Wall -Wno-unused -std=c++14 -I. -I./aspell -I./bincimapmime 
> -I./common -I./index -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix 
> -DBUILDING_RECOLL -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/libxml2   
> -DRECOLL_DATADIR=\"/usr/share/recoll\" -DREADFILE_ENABLE_ZLIB 
> -DREADFILE_ENABLE_MINIZ -DREADFILE_ENABLE_MD5 -D_GNU_SOURCE -DHAVE_CONFIG_H 
> -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection  -c -o internfile/mimehandler.lo 
> internfile/mimehandler.cpp
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I./common  -Wall -Wno-unused -std=c++14 -I. -I./aspell -I./bincimapmime 
> -I./common -I./index -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix 
> -DBUILDING_RECOLL -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/libxml2   
> -DRECOLL_DATADIR=\"/usr/share/recoll\" -DREADFILE_ENABLE_ZLIB 
> -DREADFILE_ENABLE_MINIZ -DREADFILE_ENABLE_MD5 -D_GNU_SOURCE -DHAVE_CONFIG_H 
> -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection  -c -o internfile/myhtmlparse.lo 
> internfile/myhtmlparse.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./common -Wall -Wno-unused 
> -std=c++14 -I. -I./aspell -I./bincimapmime -I./common -I./index 
> -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix -DBUILDING_RECOLL 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 
> -DRECOLL_DATADIR=\"/usr/share/recoll\" -DREADFILE_ENABLE_ZLIB 
> -DREADFILE_ENABLE_MINIZ -DREADFILE_ENABLE_MD5 -D_GNU_SOURCE -DHAVE_CONFIG_H 
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c internfile/mimehandler.cpp  -fPIC 
> -DPIC -o internfile/.libs/mimehandler.o
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./common -Wall -Wno-unused 
> -std=c++14 -I. -I./aspell -I./bincimapmime -I./common -I./index 
> -I./internfile -I./rcldb -I./unac -I./utils -I./xaposix -DBUILDING_RECOLL 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 
> -DRECOLL_DATADIR=\"/usr/share/recoll\" -DREADFILE_ENABLE_ZLIB 
> -DREADFILE_ENABLE_MINIZ -DREADFILE_ENABLE_MD5 -D_GNU_SOURCE -DHAVE_CONFIG_H 
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c internfile/myhtmlparse.cpp  -fPIC 
> -DPIC -o internfile/.libs/myhtmlparse.o
> make[3]: *** [Makefile:1980: internfile/mh_xslt.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/recoll_1.36.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.

Reply via email to