Source: sitecopy
Version: 1:0.16.6-13
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I. -DHAVE_CONFIG_H 
> -DLOCALEDIR=\"/usr/share/locale\" -I./src -I./lib -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wall -I/usr/include/neon -o 
> src/davdriver.o -c src/davdriver.c
> src/ftp.c: In function ‘dtp_open_active’:
> src/ftp.c:645:47: error: passing argument 3 of ‘getsockname’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>   645 |                     (struct sockaddr *)&addr, &alen) < 0) {
>       |                                               ^~~~~
>       |                                               |
>       |                                               size_t * {aka long 
> unsigned int *}
> In file included from src/ftp.c:30:
> /usr/include/x86_64-linux-gnu/sys/socket.h:117:47: note: expected ‘socklen_t 
> * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t 
> *’ {aka ‘long unsigned int *’}
>   117 |                         socklen_t *__restrict __len) __THROW;
>       |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
> src/ftp.c:675:57: error: passing argument 3 of ‘getsockname’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>   675 |     if (getsockname(listener, (struct sockaddr *)&addr, &alen) < 0) {
>       |                                                         ^~~~~
>       |                                                         |
>       |                                                         size_t * {aka 
> long unsigned int *}
> /usr/include/x86_64-linux-gnu/sys/socket.h:117:47: note: expected ‘socklen_t 
> * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t 
> *’ {aka ‘long unsigned int *’}
>   117 |                         socklen_t *__restrict __len) __THROW;
>       |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
> make[1]: *** [Makefile:104: src/ftp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/sitecopy_0.16.6-13_unstable.log

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