Source: sane-airscan
Version: 0.99.27-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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 -c -o objs/sane_strstatus.o sane_strstatus.c -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O2 
> -g -W -Wall -Werror -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -D 
> CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\"  -D_REENTRANT   -I/usr/include/libxml2 
>   -I/usr/include/p11-kit-1     -I/usr/include/libpng16  -fPIC
> airscan-xml.c: In function ‘xml_rd_parse’:
> airscan-xml.c:126:23: error: assignment to ‘xmlStructuredErrorFunc’ {aka 
> ‘void (*)(void *, const struct _xmlError *)’} from incompatible pointer type 
> ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 
> [-Werror=incompatible-pointer-types]
>   126 |     ctxt->sax->serror = xml_rd_error_callback;
>       |                       ^
> airscan-xml.c: In function ‘xml_rd_node_value_uint’:
> airscan-xml.c:406:9: error: implicit declaration of function ‘strtoul’; did 
> you mean ‘strtok’? [-Werror=implicit-function-declaration]
>   406 |     v = strtoul(s, &end, 10);
>       |         ^~~~~~~
>       |         strtok
> mkdir -p objs/
> gcc -c -o objs/http_parser.o http_parser.c -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O2 
> -g -W -Wall -Werror -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -D 
> CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\"  -D_REENTRANT   -I/usr/include/libxml2 
>   -I/usr/include/p11-kit-1     -I/usr/include/libpng16  -fPIC
> mkdir -p objs/
> gcc -c -o objs/discover.o discover.c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -O2 -g -W -Wall -Werror -pthread 
> -Wdate-time -D_FORTIFY_SOURCE=2 -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\"  
> -D_REENTRANT   -I/usr/include/libxml2   -I/usr/include/p11-kit-1     
> -I/usr/include/libpng16  -fPIC
> cc1: all warnings being treated as errors
> make[1]: *** [Makefile:99: objs/airscan-xml.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/sane-airscan_0.99.27-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=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@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 via email to