Bug#1066243: bristol: FTBFS: bristolmemorymoog.c:280:25: error: implicit declaration of function ‘doPitchWheel’ [-Werror=implicit-function-declaration]
Source: bristol
Version: 0.60.11-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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 -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -I. -DBRISTOL_VOICECOUNT=32 -DBRISTOL_JACK_DEFAULT_MIDI -DBRISTOL_JACK_DEFAULT -DBRISTOL_RAMP_RATE=10 -DBRISTOL_LIN_ATTACK -D_BRISTOL_DRAIN -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -D_BRISTOL_JACK_SESSION -DBRISTOL_HAS_ALSA=1 -ffast-math -fomit-frame-pointer -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/X11R6/include -c -o bristolmixer.o bristolmixer.c
> bristol.c: In function ‘main’:
> bristol.c:540:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
> 540 | if ((audiomain.iocount = atoi(argv[argCount + 1]))
> | ^~
> bristol.c:543:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
> 543 | argCount++;
> | ^~~~~~~~
> bristolmemorymoog.c: In function ‘memorymoogController’:
> bristolmemorymoog.c:280:25: error: implicit declaration of function ‘doPitchWheel’ [-Werror=implicit-function-declaration]
> 280 | doPitchWheel(baudio);
> | ^~~~~~~~~~~~
> bristolmemorymoog.c: In function ‘operateOneMemoryMoog’:
> bristolmemorymoog.c:522: warning: ignoring ‘#pragma Need inverse’ [-Wunknown-pragmas]
> 522 | #pragma Need inverse envelope here as well.
> |
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -I. -DBRISTOL_VOICECOUNT=32 -DBRISTOL_JACK_DEFAULT_MIDI -DBRISTOL_JACK_DEFAULT -DBRISTOL_RAMP_RATE=10 -DBRISTOL_LIN_ATTACK -D_BRISTOL_DRAIN -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -D_BRISTOL_JACK_SESSION -DBRISTOL_HAS_ALSA=1 -ffast-math -fomit-frame-pointer -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/X11R6/include -c -o bristolmm.o bristolmm.c
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -I. -DBRISTOL_VOICECOUNT=32 -DBRISTOL_JACK_DEFAULT_MIDI -DBRISTOL_JACK_DEFAULT -DBRISTOL_RAMP_RATE=10 -DBRISTOL_LIN_ATTACK -D_BRISTOL_DRAIN -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -D_BRISTOL_JACK_SESSION -DBRISTOL_HAS_ALSA=1 -ffast-math -fomit-frame-pointer -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/X11R6/include -c -o bristolobx.o bristolobx.c
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -I. -DBRISTOL_VOICECOUNT=32 -DBRISTOL_JACK_DEFAULT_MIDI -DBRISTOL_JACK_DEFAULT -DBRISTOL_RAMP_RATE=10 -DBRISTOL_LIN_ATTACK -D_BRISTOL_DRAIN -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -D_BRISTOL_JACK_SESSION -DBRISTOL_HAS_ALSA=1 -ffast-math -fomit-frame-pointer -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/X11R6/include -c -o bristolodyssey.o bristolodyssey.c
> bristolmm.c: In function ‘bristolGlobalController’:
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -I. -DBRISTOL_VOICECOUNT=32 -DBRISTOL_JACK_DEFAULT_MIDI -DBRISTOL_JACK_DEFAULT -DBRISTOL_RAMP_RATE=10 -DBRISTOL_LIN_ATTACK -D_BRISTOL_DRAIN -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -D_BRISTOL_JACK_SESSION -DBRISTOL_HAS_ALSA=1 -ffast-math -fomit-frame-pointer -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/X11R6/include -c -o bristolpoly6.o bristolpoly6.c
> bristolmm.c:69:2: warning: #warning fill this out with a structure for osc3 and noise mxing, etc. [-Wcpp]
> 69 | #warning fill this out with a structure for osc3 and noise mxing, etc.
> | ^~~~~~~
> bristolmm.c: In function ‘operateOneMMVoiceFinal’:
> bristolmm.c:291:2: warning: #warning correct the gain to bein the mix, not in the osc [-Wcpp]
> 291 | #warning correct the gain to bein the mix, not in the osc
> | ^~~~~~~
> In file included from /usr/include/stdio.h:906,
> from bristol.c:26:
> In function ‘sprintf’,
> inlined from ‘buildCmdLine’ at bristol.c:155:3,
> inlined from ‘main’ at bristol.c:645:2:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: warning: ‘__builtin___sprintf_chk’ argument 5 overlaps destination object ‘<unknown>’ [-Wrestrict]
> 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 31 | __glibc_objsize (__s), __fmt,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 32 | __va_arg_pack ());
> | ~~~~~~~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -I. -DBRISTOL_VOICECOUNT=32 -DBRISTOL_JACK_DEFAULT_MIDI -DBRISTOL_JACK_DEFAULT -DBRISTOL_RAMP_RATE=10 -DBRISTOL_LIN_ATTACK -D_BRISTOL_DRAIN -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -D_BRISTOL_JACK_SESSION -DBRISTOL_HAS_ALSA=1 -ffast-math -fomit-frame-pointer -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/X11R6/include -c -o bristolpoly.o bristolpoly.c
> gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -I. -DBRISTOL_VOICECOUNT=32 -DBRISTOL_JACK_DEFAULT_MIDI -DBRISTOL_JACK_DEFAULT -DBRISTOL_RAMP_RATE=10 -DBRISTOL_LIN_ATTACK -D_BRISTOL_DRAIN -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -D_BRISTOL_JACK_SESSION -DBRISTOL_HAS_ALSA=1 -ffast-math -fomit-frame-pointer -O2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/X11R6/include -c -o bristolprophet52.o bristolprophet52.c
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:641: bristolmemorymoog.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/bristol_0.60.11-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@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 to: