[xml/sgml-pkgs] Bug#713471: libxslt: FTBFS: ../../../libxslt/xsltutils.c:1769:26: error: dereferencing pointer to incomplete type
David Suárez
david.sephirot at gmail.com
Sat Jun 22 13:38:44 UTC 2013
Source: libxslt
Version: 1.1.26-14.1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../libxslt -I.. -I../../.. -I../../../libxslt -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall -c -o xsltutils.lo ../../../libxslt/xsltutils.c
> libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../libxslt -I.. -I../../.. -I../../../libxslt -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall -c ../../../libxslt/xsltutils.c -fPIC -DPIC -o .libs/xsltutils.o
> ../../../libxslt/xsltutils.c: In function 'xsltSaveResultTo':
> ../../../libxslt/xsltutils.c:1552:3: warning: passing argument 1 of 'xmlBufferWriteQuotedString' from incompatible pointer type [enabled by default]
> xmlBufferWriteQuotedString(buf->buffer, result->version);
> ^
> In file included from /usr/include/libxml2/libxml/parser.h:16:0,
> from /usr/include/libxml2/libxml/globals.h:18,
> from /usr/include/libxml2/libxml/threads.h:35,
> from /usr/include/libxml2/libxml/xmlmemory.h:218,
> from ../../../libxslt/xsltutils.c:33:
> /usr/include/libxml2/libxml/tree.h:1123:3: note: expected 'xmlBufferPtr' but argument is of type 'xmlBufPtr'
> xmlBufferWriteQuotedString(xmlBufferPtr buf,
> ^
> ../../../libxslt/xsltutils.c:1565:3: warning: passing argument 1 of 'xmlBufferWriteQuotedString' from incompatible pointer type [enabled by default]
> xmlBufferWriteQuotedString(buf->buffer, (xmlChar *) encoding);
> ^
> In file included from /usr/include/libxml2/libxml/parser.h:16:0,
> from /usr/include/libxml2/libxml/globals.h:18,
> from /usr/include/libxml2/libxml/threads.h:35,
> from /usr/include/libxml2/libxml/xmlmemory.h:218,
> from ../../../libxslt/xsltutils.c:33:
> /usr/include/libxml2/libxml/tree.h:1123:3: note: expected 'xmlBufferPtr' but argument is of type 'xmlBufPtr'
> xmlBufferWriteQuotedString(xmlBufferPtr buf,
> ^
> ../../../libxslt/xsltutils.c: In function 'xsltSaveResultToString':
> ../../../libxslt/xsltutils.c:1769:26: error: dereferencing pointer to incomplete type
> *doc_txt_len = buf->conv->use;
> ^
> ../../../libxslt/xsltutils.c:1770:37: error: dereferencing pointer to incomplete type
> *doc_txt_ptr = xmlStrndup(buf->conv->content, *doc_txt_len);
> ^
> ../../../libxslt/xsltutils.c:1772:28: error: dereferencing pointer to incomplete type
> *doc_txt_len = buf->buffer->use;
> ^
> ../../../libxslt/xsltutils.c:1773:39: error: dereferencing pointer to incomplete type
> *doc_txt_ptr = xmlStrndup(buf->buffer->content, *doc_txt_len);
> ^
> make[4]: *** [xsltutils.lo] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/06/20/libxslt_1.1.26-14.1_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-xml-sgml-pkgs
mailing list