Source: ftpcopy
Version: 0.6.7-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> ./package/compile
> Linking ./src/* into ./compile...
> Compiling everything in ./compile...
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/compile'
> cmp: auto-compiler-config.stamp: No such file or directory
> configuration has changed
> conftest-1663389.c: In function ‘main’:
> conftest-1663389.c:6:12: warning: format ‘%d’ expects argument of type ‘int’, 
> but argument 2 has type ‘long unsigned int’ [-Wformat=]
>     6 |   printf("%d\n",8*sizeof(x));
>       |           ~^    ~~~~~~~~~~~
>       |            |    |
>       |            int  long unsigned int
>       |           %ld
> gmake[4]: Entering directory '/<<PKGBUILDDIR>>/compile'
> gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/compile'
> sh typesize.sh >typesize.t
> rm -f typesize.t
> touch auto-typesize.stamp
> sh find_socket_func.sh >auto-socket.t && mv auto-socket.t auto-socket.lib
> sh have_func.sh fsync "#include <unistd.h>" "fsync(0)" "" "" 
> >auto-have_fsync.h.t && mv auto-have_fsync.h.t auto-have_fsync.h
> sh have_func.sh utimes "#include <sys/time.h>" "utimes(0,0)" "" "" 
> >auto-have_utimes.h.t && mv auto-have_utimes.h.t auto-have_utimes.h
> conftest1663576.c: In function ‘main’:
> conftest1663576.c:5:9: warning: argument 1 null where non-null expected 
> [-Wnonnull]
>     5 |         utimes(0,0)
>       |         ^~~~~~
> In file included from conftest1663576.c:2:
> /usr/include/x86_64-linux-gnu/sys/time.h:162:12: note: in a call to function 
> ‘utimes’ declared ‘nonnull’
>   162 | extern int utimes (const char *__file, const struct timeval __tvp[2])
>       |            ^~~~~~
> conftest1663576.c:7:9: error: implicit declaration of function ‘_exit’ 
> [-Werror=implicit-function-declaration]
>     7 |         _exit(0);
>       |         ^~~~~
> conftest1663576.c:7:9: warning: incompatible implicit declaration of built-in 
> function ‘_exit’ [-Wbuiltin-declaration-mismatch]
> cc1: some warnings being treated as errors
> sh gettimeofday.sh >gettimeofday.t && mv gettimeofday.t auto-gettimeofday.lib
> gmake[3]: *** [Makefile:100: auto-gettimeofday.lib] Error 1
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/compile'
> make[2]: *** [Makefile:2: all] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/ftpcopy_0.6.7-6_unstable.log

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