Bug#1073317: pd-lyonpotpourri: FTBFS: m_pd.h:85:26: error: static assertion failed: "field must be t_float!"
Source: pd-lyonpotpourri
Version: 3.0.1-4
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 distortion~.linux-amd64-64.so.o -c distortion~.c
> ++++ info: making rtrig~.linux-amd64-64.so.o in lib lyonpotpourri
> In file included from MSPd.h:31,
> from distortion~.c:1:
> distortion~.c: In function ‘distortion_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!"); \
> | ^~~~~~~~~~~~~~~~
> distortion~.c:35:3: note: in expansion of macro ‘CLASS_MAINSIGNALIN’
> 35 | CLASS_MAINSIGNALIN(distortion_class, t_distortion, x_f);
> | ^~~~~~~~~~~~~~~~~~
> distortion~.c: In function ‘distortion1_perform’:
> distortion~.c:72:15: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 72 | float *in = (t_float *)(w[2]);
> | ^
> distortion~.c:73:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 73 | float *out = (t_float *)(w[5]);
> | ^
> distortion~.c: In function ‘distortion2_perform’:
> distortion~.c:113:15: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 113 | float *in = (t_float *)(w[2]);
> | ^
> distortion~.c:114:18: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 114 | float *data1 = (t_float *)(w[3]);
> | ^
> distortion~.c:115:18: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 115 | float *data2 = (t_float *)(w[4]);
> | ^
> distortion~.c:116:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 116 | float *out = (t_float *)(w[5]);
> | ^
> distortion~.c: In function ‘distortion3_perform’:
> distortion~.c:165:15: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 165 | float *in = (t_float *)(w[2]);
> | ^
> distortion~.c:166:18: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 166 | float *data1 = (t_float *)(w[3]);
> | ^
> distortion~.c:167:18: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 167 | float *data2 = (t_float *)(w[4]);
> | ^
> distortion~.c:168:16: warning: initialization of ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
> 168 | float *out = (t_float *)(w[5]);
> | ^
> make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: distortion~.linux-amd64-64.so.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/pd-lyonpotpourri_3.0.1-4_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: