Bug#1073351: pd-motex: FTBFS: m_pd.h:85:26: error: static assertion failed: "field must be t_float!"
Source: pd-motex
Version: 1.1.4-8
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" -DPD_FLOATSIZE=64 -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 pansig~.linux-amd64-64.so.o -c pansig~.c
> ++++ info: making pan~.linux-amd64-64.so.o in lib motex
> getenv.c: In function ‘getenv_new’:
> getenv.c:57:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 57 | x->envar = argv[0].a_w.w_symbol->s_name;
> | ^
> system.c: In function ‘system_anything’:
> system.c:52:3: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 52 | system(message);
> | ^~~~~~~~~~~~~~~
> pansig~.c: In function ‘pansig_perform’:
> pansig~.c:67:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 67 | float *in1 = (t_float *)(w[1]);
> | ^
> pansig~.c:68:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 68 | float *in2 = (t_float *)(w[2]);
> | ^
> pansig~.c:69:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 69 | float *out1 = (t_float *)(w[3]);
> | ^
> pansig~.c:70:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 70 | float *out2 = (t_float *)(w[4]);
> | ^
> pansig~.c:78:29: warning: passing argument 2 of ‘pansig_getpan’ from incompatible pointer type [-Wincompatible-pointer-types]
> 78 | pansig_getpan(value2, &left, &right);
> | ^~~~~
> | |
> | float *
> pansig~.c:31:58: note: expected ‘t_floatarg *’ {aka ‘double *’} but argument is of type ‘float *’
> 31 | static void pansig_getpan(t_floatarg signal, t_floatarg *left, t_floatarg *right)
> | ~~~~~~~~~~~~^~~~
> pansig~.c:78:36: warning: passing argument 3 of ‘pansig_getpan’ from incompatible pointer type [-Wincompatible-pointer-types]
> 78 | pansig_getpan(value2, &left, &right);
> | ^~~~~~
> | |
> | float *
> pansig~.c:31:76: note: expected ‘t_floatarg *’ {aka ‘double *’} but argument is of type ‘float *’
> 31 | static void pansig_getpan(t_floatarg signal, t_floatarg *left, t_floatarg *right)
> | ~~~~~~~~~~~~^~~~~
> pansig~.c: In function ‘pansig_dsp’:
> pansig~.c:92:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 92 | float *in1 = sp[0]->s_vec;
> | ^~
> pansig~.c:93:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 93 | float *in2 = sp[1]->s_vec;
> | ^~
> pansig~.c:94:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 94 | float *out1 = sp[2]->s_vec;
> | ^~
> pansig~.c:95:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 95 | float *out2 = sp[3]->s_vec;
> | ^~
> pol2rec~.c: In function ‘pol2rec_perform’:
> pol2rec~.c:94:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 94 | float *in1 = (t_float *)(w[1]);
> | ^
> pol2rec~.c:95:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 95 | float *in2 = (t_float *)(w[2]);
> | ^
> pol2rec~.c:96:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 96 | float *out1 = (t_float *)(w[3]);
> | ^
> pol2rec~.c:97:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 97 | float *out2 = (t_float *)(w[4]);
> | ^
> pol2rec~.c: In function ‘pol2rec_dsp’:
> pol2rec~.c:112:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 112 | float *in1 = sp[0]->s_vec;
> | ^~
> pol2rec~.c:113:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 113 | float *in2 = sp[1]->s_vec;
> | ^~
> pol2rec~.c:114:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 114 | float *out1 = sp[2]->s_vec;
> | ^~
> pol2rec~.c:115:17: warning: initialization of ‘float *’ from incompatible pointer type ‘t_sample *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 115 | float *out2 = sp[3]->s_vec;
> | ^~
> In file included from pol2rec~.c:26:
> pol2rec~.c: In function ‘pol2rec_tilde_setup’:
> /usr/include/pd/m_pd.h:85:26: error: static assertion failed: "field must be t_float!"
> 85 | #define PD_STATIC_ASSERT _Static_assert
> | ^~~~~~~~~~~~~~
> /usr/include/pd/m_pd.h:575:5: note: in expansion of macro ‘PD_STATIC_ASSERT’
> 575 | PD_STATIC_ASSERT(sizeof(((type *)NULL)->field) == sizeof(t_float), "field must be t_float!"); \
> | ^~~~~~~~~~~~~~~~
> pol2rec~.c:135:3: note: in expansion of macro ‘CLASS_MAINSIGNALIN’
> 135 | CLASS_MAINSIGNALIN(pol2rec_class, t_pol2rec, x_f);
> | ^~~~~~~~~~~~~~~~~~
> make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: pol2rec~.linux-amd64-64.so.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/pd-motex_1.1.4-8_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: