Bug#1073353: parser: FTBFS: ../../src/include/pa_charset.h:145:40: error: ‘xmlChar’ does not name a type
Source: parser
Version: 3.4.6-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 compile_tools.lo compile_tools.C
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 pa_common.C -fPIC -DPIC -o .libs/pa_common.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 pa_threads.C -fPIC -DPIC -o .libs/pa_threads.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 pa_pool.C -fPIC -DPIC -o .libs/pa_pool.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 compile.tab.C -fPIC -DPIC -o .libs/compile.tab.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 compile_tools.C -fPIC -DPIC -o .libs/compile_tools.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 pa_os.C -fPIC -DPIC -o .libs/pa_os.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 pa_base64.C -fPIC -DPIC -o .libs/pa_base64.o
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 compile.C -fPIC -DPIC -o .libs/compile.o
> In file included from pa_pool.C:12:
> ../../src/include/pa_charset.h:145:40: error: ‘xmlChar’ does not name a type
> 145 | String::C transcode_cstr(const xmlChar* s);
> | ^~~~~~~
> ../../src/include/pa_charset.h:147:39: error: ‘xmlChar’ does not name a type
> 147 | const String& transcode(const xmlChar* s);
> | ^~~~~~~
> ../../src/include/pa_charset.h:152:9: error: ‘xmlChar’ does not name a type
> 152 | xmlChar* transcode_buf2xchar(const char* buf, size_t buf_size);
> | ^~~~~~~
> ../../src/include/pa_charset.h:154:9: error: ‘xmlChar’ does not name a type
> 154 | xmlChar* transcode(const String& s);
> | ^~~~~~~
> ../../src/include/pa_charset.h:156:9: error: ‘xmlChar’ does not name a type
> 156 | xmlChar* transcode(const String::Body s);
> | ^~~~~~~
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -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 pa_threads.C -fPIC -DPIC -o pa_threads.o >/dev/null 2>&1
> make[3]: *** [Makefile:479: pa_pool.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/parser_3.4.6-4_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.
Reply to: