Package: src:lasso
Version: 2.8.2-9
Tags: ftbfs sid forky
User: debian-xml-sgml-p...@lists.alioth.debian.org
Usertags: libxml2.14

[this bug is NOT targeted to the upcoming trixie release]

I didn't investigate yet, maybe more a xmlsec1 issue ...


[...]
tools.c: In function 'lasso_get_public_key_from_pem_file':
tools.c:312:35: error: implicit declaration of function 'xmlSecCryptoAppKeyLoad'; did you mean 'xmlSecCryptoAppKeyLoadEx'? [-Wimplicit-function-declaration]
  312 |                         pub_key = xmlSecCryptoAppKeyLoad(file,
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
      |                                   xmlSecCryptoAppKeyLoadEx
tools.c:312:33: error: assignment to 'xmlSecKeyPtr' {aka 'struct _xmlSecKey *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
  312 |                         pub_key = xmlSecCryptoAppKeyLoad(file,
      |                                 ^
tools.c: In function 'lasso_get_public_key_from_private_key_file':
tools.c:381:16: error: returning 'int' from a function with return type 'xmlSecKeyPtr' {aka 'struct _xmlSecKey *'} makes pointer from integer without a cast [-Wint-conversion]
  381 |         return xmlSecCryptoAppKeyLoad(private_key_file,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  382 |                         xmlSecKeyDataFormatPem, NULL, NULL, NULL);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tools.c: In function 'lasso_xml_parse_memory_with_error':
tools.c:2220:9: warning: 'recovery' is deprecated [-Wdeprecated-declarations]
 2220 |         ctxt->recovery = 0;
      |         ^~~~
In file included from /usr/include/libxml2/libxml/tree.h:17,
                 from xml.h:37,
                 from private.h:31,
                 from tools.c:37:
/usr/include/libxml2/libxml/parser.h:377:9: note: declared here
  377 |     int recovery XML_DEPRECATED_MEMBER;
      |         ^~~~~~~~
tools.c:2235:17: warning: 'lastError' is deprecated [-Wdeprecated-declarations]
 2235 |                 xmlCopyError(&ctxt->lastError, error);
      |                 ^~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:439:14: note: declared here
  439 |     xmlError lastError XML_DEPRECATED_MEMBER;
      |              ^~~~~~~~~
tools.c: In function 'xmlDetectSAX2':
tools.c:2291:17: warning: 'sax2' is deprecated [-Wdeprecated-declarations]
 2291 |                 ctxt->sax2 = 1;
      |                 ^~~~
/usr/include/libxml2/libxml/parser.h:401:9: note: declared here
  401 |     int sax2 XML_DEPRECATED_MEMBER;
      |         ^~~~
tools.c:2296:9: warning: 'str_xml' is deprecated [-Wdeprecated-declarations]
2296 | ctxt->str_xml = xmlDictLookup(ctxt->dict, BAD_CAST "xml", 3);
      |         ^~~~
/usr/include/libxml2/libxml/parser.h:392:20: note: declared here
  392 |     const xmlChar *str_xml XML_DEPRECATED_MEMBER;
      |                    ^~~~~~~
tools.c:2297:9: warning: 'str_xmlns' is deprecated [-Wdeprecated-declarations] 2297 | ctxt->str_xmlns = xmlDictLookup(ctxt->dict, BAD_CAST "xmlns", 5);
      |         ^~~~
/usr/include/libxml2/libxml/parser.h:393:20: note: declared here
  393 |     const xmlChar *str_xmlns XML_DEPRECATED_MEMBER;
      |                    ^~~~~~~~~
tools.c:2298:9: warning: 'str_xml_ns' is deprecated [-Wdeprecated-declarations] 2298 | ctxt->str_xml_ns = xmlDictLookup(ctxt->dict, XML_XML_NAMESPACE, 36);
      |         ^~~~
/usr/include/libxml2/libxml/parser.h:394:20: note: declared here
  394 |     const xmlChar *str_xml_ns XML_DEPRECATED_MEMBER;
      |                    ^~~~~~~~~~
tools.c:2299:9: warning: 'str_xml' is deprecated [-Wdeprecated-declarations]
 2299 |         if ((ctxt->str_xml==NULL) || (ctxt->str_xmlns==NULL) ||
      |         ^~
/usr/include/libxml2/libxml/parser.h:392:20: note: declared here
  392 |     const xmlChar *str_xml XML_DEPRECATED_MEMBER;
      |                    ^~~~~~~
tools.c:2299:9: warning: 'str_xmlns' is deprecated [-Wdeprecated-declarations]
 2299 |         if ((ctxt->str_xml==NULL) || (ctxt->str_xmlns==NULL) ||
      |         ^~
/usr/include/libxml2/libxml/parser.h:393:20: note: declared here
  393 |     const xmlChar *str_xmlns XML_DEPRECATED_MEMBER;
      |                    ^~~~~~~~~
tools.c:2300:25: warning: 'str_xml_ns' is deprecated [-Wdeprecated-declarations]
 2300 |                         (ctxt->str_xml_ns == NULL)) {
      |                         ^
/usr/include/libxml2/libxml/parser.h:394:20: note: declared here
  394 |     const xmlChar *str_xml_ns XML_DEPRECATED_MEMBER;
      |                    ^~~~~~~~~~
In file included from private.h:36:
tools.c: In function 'lasso_base64_decode':
tools.c:2553:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 2553 |                 lasso_transfer_string(*buffer, *((char**)&out));
      |                                                 ~^~~~~~~~~~~~~
../utils.h:501:34: note: in definition of macro 'lasso_transfer_full'
  501 |                 (dest) = (void*)(src); \
      |                                  ^~~
tools.c:2553:17: note: in expansion of macro 'lasso_transfer_string'
 2553 |                 lasso_transfer_string(*buffer, *((char**)&out));
      |                 ^~~~~~~~~~~~~~~~~~~~~
tools.c:2553:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 2553 |                 lasso_transfer_string(*buffer, *((char**)&out));
      |                                                 ~^~~~~~~~~~~~~
../utils.h:502:18: note: in definition of macro 'lasso_transfer_full'
  502 |                 (src) = NULL; \
      |                  ^~~
tools.c:2553:17: note: in expansion of macro 'lasso_transfer_string'
 2553 |                 lasso_transfer_string(*buffer, *((char**)&out));
      |                 ^~~~~~~~~~~~~~~~~~~~~
make[6]: *** [Makefile:796: tools.lo] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/lasso/xml'

Reply via email to