Source: tone-generator
Version: 1.6.1-3
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):
> gcc -DPACKAGE_NAME=\"tone-generator\" -DPACKAGE_TARNAME=\"tone-generator\" 
> -DPACKAGE_VERSION=\"1.6.1\" -DPACKAGE_STRING=\"tone-generator\ 1.6.1\" 
> -DPACKAGE_BUGREPORT=\"janos.f.kov...@nokia.com\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"tone-generator\" -DVERSION=\"1.6.1\" -DHAVE_STDIO_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
> -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -Drestrict=__restrict__ -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g3 
> -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -D_REENTRANT  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -Wextra -fno-omit-frame-pointer -c -o rfc4733.o rfc4733.c
> stream.c: In function ‘stream_destroy’:
> stream.c:244:27: warning: variable ‘avgap’ set but not used 
> [-Wunused-but-set-variable]
>   244 |     uint32_t              avgap;
>       |                           ^~~~~
> stream.c:243:27: warning: variable ‘avcpu’ set but not used 
> [-Wunused-but-set-variable]
>   243 |     uint32_t              avcpu;
>       |                           ^~~~~
> stream.c:242:27: warning: variable ‘avcalc’ set but not used 
> [-Wunused-but-set-variable]
>   242 |     uint32_t              avcalc;
>       |                           ^~~~~~
> stream.c:241:27: warning: variable ‘avbuf’ set but not used 
> [-Wunused-but-set-variable]
>   241 |     uint32_t              avbuf;
>       |                           ^~~~~
> stream.c:240:27: warning: variable ‘flow’ set but not used 
> [-Wunused-but-set-variable]
>   240 |     double                flow;
>       |                           ^~~~
> stream.c:239:27: warning: variable ‘freq’ set but not used 
> [-Wunused-but-set-variable]
>   239 |     double                freq;
>       |                           ^~~~
> stream.c:237:27: warning: variable ‘strt’ set but not used 
> [-Wunused-but-set-variable]
>   237 |     double                strt;
>       |                           ^~~~
> stream.c:236:27: warning: variable ‘upt’ set but not used 
> [-Wunused-but-set-variable]
>   236 |     double                upt;
>       |                           ^~~
> stream.c: In function ‘stream_clean_buffer’:
> stream.c:399:46: warning: comparison of integer expressions of different 
> signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
>   399 |                 for (i = 0, j = offs / 2;  i < dcnt;  i++, j++) {
>       |                                              ^
> indicator.c: In function ‘indicator_play’:
> indicator.c:68:9: error: implicit declaration of function ‘dtmf_stop’ 
> [-Werror=implicit-function-declaration]
>    68 |         dtmf_stop(ausrv);
>       |         ^~~~~~~~~
> dtmf.c: In function ‘request_muting’:
> dtmf.c:257:31: warning: comparison of integer expressions of different 
> signedness: ‘int’ and ‘dbus_bool_t’ {aka ‘unsigned int’} [-Wsign-compare]
>   257 |     if (ausrv != NULL && mute != new_mute) {
>       |                               ^~
> gcc -DPACKAGE_NAME=\"tone-generator\" -DPACKAGE_TARNAME=\"tone-generator\" 
> -DPACKAGE_VERSION=\"1.6.1\" -DPACKAGE_STRING=\"tone-generator\ 1.6.1\" 
> -DPACKAGE_BUGREPORT=\"janos.f.kov...@nokia.com\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"tone-generator\" -DVERSION=\"1.6.1\" -DHAVE_STDIO_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
> -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -Drestrict=__restrict__ -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g3 
> -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -D_REENTRANT  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -Wextra -fno-omit-frame-pointer -c -o interact.o interact.c
> gcc -DPACKAGE_NAME=\"tone-generator\" -DPACKAGE_TARNAME=\"tone-generator\" 
> -DPACKAGE_VERSION=\"1.6.1\" -DPACKAGE_STRING=\"tone-generator\ 1.6.1\" 
> -DPACKAGE_BUGREPORT=\"janos.f.kov...@nokia.com\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"tone-generator\" -DVERSION=\"1.6.1\" -DHAVE_STDIO_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
> -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -Drestrict=__restrict__ -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g3 
> -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -D_REENTRANT  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -Wextra -fno-omit-frame-pointer -c -o notification.o notification.c
> cc1: some warnings being treated as errors
> gcc -DPACKAGE_NAME=\"tone-generator\" -DPACKAGE_TARNAME=\"tone-generator\" 
> -DPACKAGE_VERSION=\"1.6.1\" -DPACKAGE_STRING=\"tone-generator\ 1.6.1\" 
> -DPACKAGE_BUGREPORT=\"janos.f.kov...@nokia.com\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"tone-generator\" -DVERSION=\"1.6.1\" -DHAVE_STDIO_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 
> -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -Drestrict=__restrict__ -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -g3 
> -I../src -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -D_REENTRANT  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -Wextra -fno-omit-frame-pointer -c -o main.o main.c
> make[2]: *** [Makefile:428: indicator.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/tone-generator_1.6.1-3_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