Package: src:nd
Version: 0.8.2-8.1
Tags: ftbfs sid forky
User:
debian-xml-sgml-pkgs@lists.alioth.debian.org
Usertags: libxml2.14
[this bug is NOT targeted to the upcoming trixie release]
http://qa-logs.debian.net/2025/05/23/nd_0.8.2-8.1_unstable_libxml2.log
[...]
nd.c: In function ‘ndHTTPMethod’:
auth.c: In function ‘ndAuthParamCreateDigest’:
auth.c:261:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘time_t’ {aka ‘long int’}
[-Wformat=]
261 | snprintf (timestring, sizeof (timestring), "%d", time (0));
| ~^ ~~~~~~~~
| | |
| int time_t {aka
long int}
| %ld
nd.c:398:10: error: implicit declaration of function ‘xmlNanoHTTPMethod’; did you mean ‘ndHTTPMethod’? [-Wimplicit-function-declaration]
398 | ctxt = xmlNanoHTTPMethod (URL, method, input, contentType,
| ^~~~~~~~~~~~~~~~~
| ndHTTPMethod
nd.c:398:8: error: assignment to ‘void *’ from ‘int’ makes
pointer from integer without a cast [-Wint-conversion]
398 | ctxt = xmlNanoHTTPMethod (URL, method, input, contentType,
| ^
auth.c: In function ‘ndAuthEncodeDigest’:
main.c: In function ‘auth_notify’:
main.c:161:18: error: implicit declaration of function ‘xmlNanoHTTPReturnCode’ [-Wimplicit-function-declaration]
161 | int code = xmlNanoHTTPReturnCode(ctxt);
| ^~~~~~~~~~~~~~~~~~~~~
auth.c:335:22: warning: pointer targets in passing argument 2 of ‘xmlBufferAdd’ differ in signedness [-Wpointer-sign]
335 | xmlBufferAdd (w, octet, strlen (octet));
| ^~~~~
| |
| char *
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/tree.h:17,
from nd.h:13,
from auth.c:17:
/usr/include/libxml2/libxml/tree.h:752:57: note: expected ‘const
xmlChar *’ {aka ‘const unsigned char *’} but argument is of type
‘char *’
752 | const xmlChar *str,
| ~~~~~~~~~~~~~~~^~~
auth.c: In function ‘ndAuthDigest’:
auth.c:372:23: warning: unused variable ‘sensor’ [-Wunused-variable]
372 | char nc_string[9], *sensor;
| ^~~~~~
main.c: In function ‘main’:
main.c:346:19: warning: comparison between pointer and zero character
constant [-Wpointer-compare]
346 | if (value != '\0')
| ^~
main.c:346:13: note: did you mean to dereference the pointer?
346 | if (value != '\0')
| ^
nd.c:404:16: error: implicit declaration of function ‘xmlNanoHTTPReturnCode’ [-Wimplicit-function-declaration]
404 | returnCode = xmlNanoHTTPReturnCode(ctxt);
| ^~~~~~~~~~~~~~~~~~~~~
nd.c:407:30: error: implicit declaration of function ‘xmlNanoHTTPAuthHeader’ [-Wimplicit-function-declaration]
407 | auth_header = (char *) xmlNanoHTTPAuthHeader (ctxt);
| ^~~~~~~~~~~~~~~~~~~~~
nd.c:407:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
407 | auth_header = (char *) xmlNanoHTTPAuthHeader (ctxt);
| ^
make[2]: *** [Makefile:440: main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
nd.c:426:7: error: implicit declaration of function ‘xmlNanoHTTPClose’ [-Wimplicit-function-declaration]
426 | xmlNanoHTTPClose (ctxt);
| ^~~~~~~~~~~~~~~~
nd.c:427:12: error: assignment to ‘void *’ from ‘int’ makes
pointer from integer without a cast [-Wint-conversion]
427 | ctxt = xmlNanoHTTPMethod(URL, method, input, contentType,
| ^
nd.c: In function ‘nd_dav_request’:
nd.c:479:18: error: implicit declaration of function ‘xmlNanoHTTPRead’ [-Wimplicit-function-declaration]
479 | while ( (len = xmlNanoHTTPRead (ctxt, buffer, sizeof
(buffer))) > 0)
| ^~~~~~~~~~~~~~~
make[2]: *** [Makefile:440: nd.o] Error 1
auth.c:404:5: warning: ‘__builtin_strncpy’ specified bound 64 equals
destination size [-Wstringop-truncation]
404 | strncpy (nonce_sensor, ndAuthParamValue (param, "nonce"),
| ^
make[2]: Leaving directory '/build/reproducible-path/nd-0.8.2'
make[1]: *** [Makefile:320: all] Error 2
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)