[R-pkg-team] Bug#1073338: r-cran-xslt: FTBFS: xslt_init.cpp:36:37: error: invalid conversion from ‘void (*)(void*, xmlError*) ’ {aka ‘void (*)(void*, _xmlError*) ’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*) ’} [-fpermissive]
Lucas Nussbaum
lucas at debian.org
Sun Jun 16 13:55:19 BST 2024
Source: r-cran-xslt
Version: 1.4.4-1
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):
> g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/libxml2 -DSTRICT_R_HEADERS -I'/usr/lib/R/site-library/Rcpp/include' -I'/usr/lib/R/site-library/xml2/include' -fpic -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c xslt_init.cpp -o xslt_init.o
> xslt_init.cpp: In function ‘void R_init_xslt(DllInfo*)’:
> xslt_init.cpp:36:37: error: invalid conversion from ‘void (*)(void*, xmlError*)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
> 36 | xmlSetStructuredErrorFunc(NULL, handleError);
> | ^~~~~~~~~~~
> | |
> | void (*)(void*, xmlError*) {aka void (*)(void*, _xmlError*)}
> In file included from xslt_init.cpp:4:
> /usr/include/libxml2/libxml/xmlerror.h:898:57: note: initializing argument 2 of ‘void xmlSetStructuredErrorFunc(void*, xmlStructuredErrorFunc)’
> 898 | xmlStructuredErrorFunc handler);
> | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
> make[1]: *** [/usr/lib/R/etc/Makeconf:204: xslt_init.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/r-cran-xslt_1.4.4-1_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 R-pkg-team
mailing list