Bug#1073333: pd-ggee: FTBFS: experimental/fofsynth~.c:31:46: error: ‘COSTABSIZE’ undeclared (first use in this function)
Source: pd-ggee
Version: 0.28-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cc -DPD -I "/usr/include/pd" -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o filters/equalizer.pd_linux.o -c filters/equalizer.c
> ++++ info: making gui/state.pd_linux.o in lib ggee
> gui/image.c: In function ‘image_drawme’:
> gui/image.c:32:11: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
> 32 | sys_vgui("image create photo img%lx -file {%s}\n",x,fname);
> | ^~~~~~~~
> In file included from gui/image.c:2:
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> gui/image.c:33:11: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
> 33 | sys_vgui(".x%lx.c create image %d %d -image img%lx -tags %lxS\n",
> | ^~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> gui/image.c:42:18: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
> 42 | sys_vgui(".x%lx.c coords %lxS %d %d\n",
> | ^~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> gui/image.c: In function ‘image_erase’:
> gui/image.c:53:6: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
> 53 | sys_vgui(".x%lx.c delete %lxS\n",
> | ^~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> gui/image.c: In function ‘image_displace’:
> gui/image.c:102:5: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
> 102 | sys_vgui(".x%lx.c coords %lxSEL %d %d %d %d\n",
> | ^~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> gui/image.c: In function ‘image_select’:
> gui/image.c:115:11: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
> 115 | sys_vgui(".x%lx.c create rectangle \
> | ^~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> gui/image.c:123:11: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
> 123 | sys_vgui(".x%lx.c delete %lxSEL\n",
> | ^~~~~~~~
> /usr/include/pd/m_pd.h:796:27: note: declared here
> 796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
> | ^~~~~~~~
> control/qread.c: In function ‘qread_next’:
> control/qread.c:66:6: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 66 | fscanf(x->x_file,"%f",&delay);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> control/qread.c:72:6: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 72 | fscanf(x->x_file,"%s",name);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> control/qread.c:78:11: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 78 | fscanf(x->x_file,"%f",&ff);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> control/qread.c:82:6: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 82 | fscanf(x->x_file,";");
> | ^~~~~~~~~~~~~~~~~~~~~
> experimental/fofsynth~.c: In function ‘cos_maketable’:
> experimental/fofsynth~.c:31:46: error: ‘COSTABSIZE’ undeclared (first use in this function)
> 31 | t_sample phase, phsinc = (2. * PD_PI) / COSTABSIZE;
> | ^~~~~~~~~~
> experimental/fofsynth~.c:31:46: note: each undeclared identifier is reported only once for each function it appears in
> experimental/fofsynth~.c: In function ‘halfcos_maketable’:
> experimental/fofsynth~.c:45:46: error: ‘COSTABSIZE’ undeclared (first use in this function)
> 45 | t_sample *fp, phase, phsinc = (PD_PI) / COSTABSIZE;
> | ^~~~~~~~~~
> experimental/fofsynth~.c: In function ‘exp_maketable’:
> experimental/fofsynth~.c:59:50: error: ‘COSTABSIZE’ undeclared (first use in this function)
> 59 | t_sample *fp, phase, phsinc = (2 * PD_PI) / COSTABSIZE;
> | ^~~~~~~~~~
> experimental/fofsynth~.c: In function ‘fofsynth_perform’:
> experimental/fofsynth~.c:209:70: error: ‘COSTABSIZE’ undeclared (first use in this function)
> 209 | envelope = *(halfcos_table + (int) (cur->envph * COSTABSIZE));
> | ^~~~~~~~~~
> experimental/fofsynth~.c: In function ‘fofsynth_dsp’:
> experimental/fofsynth~.c:274:24: error: ‘COSTABSIZE’ undeclared (first use in this function)
> 274 | x->x_npoints=COSTABSIZE;
> | ^~~~~~~~~~
> cc -DPD -I "/usr/include/pd" -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o gui/state.pd_linux.o -c gui/state.c
> ++++ info: making filters/bandpass.pd_linux.o in lib ggee
> make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: experimental/fofsynth~.pd_linux.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/pd-ggee_0.28-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&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: