Source: daemontools
Version: 1:0.76-9
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>>/daemontools-0.76/compile'
> sh find-systype.sh > systype
> rm -f compile
> sh print-cc.sh > compile
> chmod 555 compile
> ./compile byte_chr.c
> ./compile byte_copy.c
> ./compile byte_cr.c
> ./compile byte_diff.c
> ./compile byte_rchr.c
> ./compile fmt_uint.c
> ./compile fmt_uint0.c
> ./compile fmt_ulong.c
> rm -f makelib
> sh print-ar.sh > makelib
> chmod 555 makelib
> ./compile scan_ulong.c
> ./compile str_chr.c
> ./compile str_diff.c
> ./compile str_len.c
> ./compile str_start.c
> ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \
> byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \
> str_diff.o str_len.o str_start.o
> rm -f choose
> cat warn-auto.sh choose.sh \
> | sed s}HOME}"`head -1 home`"}g \
> > choose
> chmod 555 choose
> ./choose c trydrent direntry.h1 direntry.h2 > direntry.h
> ./compile envdir.c
> rm -f load
> sh print-ld.sh > load
> chmod 555 load
> ./compile alloc.c
> ./compile alloc_re.c
> ./compile buffer.c
> ./compile buffer_0.c
> ./compile buffer_1.c
> ./compile buffer_2.c
> ./compile buffer_get.c
> ./compile buffer_put.c
> ./compile buffer_read.c
> ./compile buffer_write.c
> ./compile coe.c
> ./compile env.c
> ./compile error.c
> ./compile error_str.c
> ./compile fd_copy.c
> ./compile fd_move.c
> ./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h
> ./compile fifo.c
> ./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h
> ./compile lock_ex.c
> ./compile lock_exnb.c
> ./compile ndelay_off.c
> ./compile ndelay_on.c
> ./compile open_append.c
> ./compile open_read.c
> ./compile open_trunc.c
> ./compile open_write.c
> ./compile openreadclose.c
> ./compile pathexec_env.c
> ./compile pathexec_run.c
> pathexec_run.c: In function ‘pathexec_run’:
> pathexec_run.c:18:5: error: implicit declaration of function ‘execve’ 
> [-Werror=implicit-function-declaration]
>    18 |     execve(file,argv,envp);
>       |     ^~~~~~
> pathexec_run.c:18:17: warning: passing argument 2 of ‘execve’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    18 |     execve(file,argv,envp);
>       |                 ^~~~
>       |                 |
>       |                 const char * const*
> pathexec_run.c:18:17: note: expected ‘char * const*’ but argument is of type 
> ‘const char * const*’
> pathexec_run.c:18:22: warning: passing argument 3 of ‘execve’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    18 |     execve(file,argv,envp);
>       |                      ^~~~
>       |                      |
>       |                      const char * const*
> pathexec_run.c:18:22: note: expected ‘char * const*’ but argument is of type 
> ‘const char * const*’
> pathexec_run.c:35:18: warning: passing argument 2 of ‘execve’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    35 |     execve(tmp.s,argv,envp);
>       |                  ^~~~
>       |                  |
>       |                  const char * const*
> pathexec_run.c:35:18: note: expected ‘char * const*’ but argument is of type 
> ‘const char * const*’
> pathexec_run.c:35:23: warning: passing argument 3 of ‘execve’ from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    35 |     execve(tmp.s,argv,envp);
>       |                       ^~~~
>       |                       |
>       |                       const char * const*
> pathexec_run.c:35:23: note: expected ‘char * const*’ but argument is of type 
> ‘const char * const*’
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:244: pathexec_run.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/daemontools_0.76-9_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