[Debian GNUstep maintainers] Bug#1073313: gnustep-base: FTBFS: GSXML.m:2674:22: error: ‘xmlEntity’ {aka ‘struct _xmlEntity’} has no member named ‘checked’

Lucas Nussbaum lucas at debian.org
Sun Jun 16 13:51:58 BST 2024


Source: gnustep-base
Version: 1.29.0-7
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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):
> gcc GSXML.m -c \
>       -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wdeclaration-after-statement -DNO_GNUSTEP=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fconstant-string-class=NSConstantString -I../. -I../ -I../../Headers -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include/GNUstep -I/usr/local/include/GNUstep -I/usr/include/GNUstep -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/p11-kit-1 \
>        -o obj/Additions.obj/GSXML.m.o
> GSXML.m: In function ‘getEntityDefault’:
> GSXML.m:2674:22: error: ‘xmlEntity’ {aka ‘struct _xmlEntity’} has no member named ‘checked’
>  2674 |               if (ret->checked == 0)
>       |                      ^~
> GSXML.m:2676:22: error: ‘xmlEntity’ {aka ‘struct _xmlEntity’} has no member named ‘checked’
>  2676 |                   ret->checked = 1;
>       |                      ^~
> GSXML.m: In function ‘hasInternalSubsetFunction’:
> GSXML.m:2968:7: warning: ‘__htmlDefaultSAXHandler’ is deprecated [-Wdeprecated-declarations]
>  2968 |       has = TREEFUN(hasInternalSubset, (ctx));
>       |       ^~~
> In file included from /usr/include/libxml2/libxml/parser.h:13,
>                  from /usr/include/libxml2/libxml/tree.h:17,
>                  from GSXML.m:82:
> /usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
>   499 |     attrs XMLPUBFUN type *__##name(void);
>       |                           ^~
> /usr/include/libxml2/libxml/HTMLparser.h:91:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’
>    91 | #define XML_OP XML_DECLARE_GLOBAL
>       |                ^~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/HTMLparser.h:86:5: note: in expansion of macro ‘XML_OP’
>    86 |     XML_OP(htmlDefaultSAXHandler, xmlSAXHandlerV1, XML_DEPRECATED)
>       |     ^~~~~~
> /usr/include/libxml2/libxml/HTMLparser.h:92:1: note: in expansion of macro ‘XML_GLOBALS_HTML’
>    92 | XML_GLOBALS_HTML
>       | ^~~~~~~~~~~~~~~~
> GSXML.m:2968:7: warning: ‘__xmlDefaultSAXHandler’ is deprecated [-Wdeprecated-declarations]
>  2968 |       has = TREEFUN(hasInternalSubset, (ctx));
>       |       ^~~
> /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:875:5: note: in expansion of macro ‘XML_OP’
>   875 |     XML_OP(xmlDefaultSAXHandler, xmlSAXHandlerV1, XML_DEPRECATED)
>       |     ^~~~~~
> /usr/include/libxml2/libxml/parser.h:883:3: note: in expansion of macro ‘XML_GLOBALS_PARSER_SAX1’
>   883 |   XML_GLOBALS_PARSER_SAX1
>       |   ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/parser.h:886:1: note: in expansion of macro ‘XML_GLOBALS_PARSER’
>   886 | XML_GLOBALS_PARSER
>       | ^~~~~~~~~~~~~~~~~~
> GSXML.m: In function ‘hasExternalSubsetFunction’:
> GSXML.m:2982:7: warning: ‘__htmlDefaultSAXHandler’ is deprecated [-Wdeprecated-declarations]
>  2982 |       has = TREEFUN(hasExternalSubset, (ctx));
>       |       ^~~
> /usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
>   499 |     attrs XMLPUBFUN type *__##name(void);
>       |                           ^~
> /usr/include/libxml2/libxml/HTMLparser.h:91:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’
>    91 | #define XML_OP XML_DECLARE_GLOBAL
>       |                ^~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/HTMLparser.h:86:5: note: in expansion of macro ‘XML_OP’
>    86 |     XML_OP(htmlDefaultSAXHandler, xmlSAXHandlerV1, XML_DEPRECATED)
>       |     ^~~~~~
> /usr/include/libxml2/libxml/HTMLparser.h:92:1: note: in expansion of macro ‘XML_GLOBALS_HTML’
>    92 | XML_GLOBALS_HTML
>       | ^~~~~~~~~~~~~~~~
> GSXML.m:2982:7: warning: ‘__xmlDefaultSAXHandler’ is deprecated [-Wdeprecated-declarations]
>  2982 |       has = TREEFUN(hasExternalSubset, (ctx));
>       |       ^~~
> /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:875:5: note: in expansion of macro ‘XML_OP’
>   875 |     XML_OP(xmlDefaultSAXHandler, xmlSAXHandlerV1, XML_DEPRECATED)
>       |     ^~~~~~
> /usr/include/libxml2/libxml/parser.h:883:3: note: in expansion of macro ‘XML_GLOBALS_PARSER_SAX1’
>   883 |   XML_GLOBALS_PARSER_SAX1
>       |   ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/parser.h:886:1: note: in expansion of macro ‘XML_GLOBALS_PARSER’
>   886 | XML_GLOBALS_PARSER
>       | ^~~~~~~~~~~~~~~~~~
> GSXML.m: In function ‘-[GSHTMLSAXHandler _initLibXML]’:
> GSXML.m:3865:7: warning: ‘__htmlDefaultSAXHandler’ is deprecated [-Wdeprecated-declarations]
>  3865 |       memcpy(lib, &htmlDefaultSAXHandler, sizeof(htmlSAXHandler));
>       |       ^~~~~~
> /usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
>   499 |     attrs XMLPUBFUN type *__##name(void);
>       |                           ^~
> /usr/include/libxml2/libxml/HTMLparser.h:91:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’
>    91 | #define XML_OP XML_DECLARE_GLOBAL
>       |                ^~~~~~~~~~~~~~~~~~
> /usr/include/libxml2/libxml/HTMLparser.h:86:5: note: in expansion of macro ‘XML_OP’
>    86 |     XML_OP(htmlDefaultSAXHandler, xmlSAXHandlerV1, XML_DEPRECATED)
>       |     ^~~~~~
> /usr/include/libxml2/libxml/HTMLparser.h:92:1: note: in expansion of macro ‘XML_GLOBALS_HTML’
>    92 | XML_GLOBALS_HTML
>       | ^~~~~~~~~~~~~~~~
> gcc GSFunctions.m -c \
>       -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wdeclaration-after-statement -DNO_GNUSTEP=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fconstant-string-class=NSConstantString -I../. -I../ -I../../Headers -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include/GNUstep -I/usr/local/include/GNUstep -I/usr/include/GNUstep -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/p11-kit-1 \
>        -o obj/Additions.obj/GSFunctions.m.o
> make[6]: *** [/usr/share/GNUstep/Makefiles/rules.make:534: obj/Additions.obj/GSXML.m.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/gnustep-base_1.29.0-7_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@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.



More information about the pkg-GNUstep-maintainers mailing list