[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1073322: pd-ext13: FTBFS: m_pd.h:85:26: error: static assertion failed: "field must be t_float!"



Source: pd-ext13
Version: 0.17.1-9
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 -rdynamic -shared -fPIC -Wl,-rpath,"\$ORIGIN",--enable-new-dtags  -Wl,-z,relro -Wl,-z,now  -o ftos.linux-amd64-64.so ftos.linux-amd64-64.so.o  -lc -lm   
> ++++ info: linking objects in catch13~.linux-amd64-64.so for lib ext13
> mandelbrot~.c: In function ‘mandelbrot_tilde_new’:
> mandelbrot~.c:18:35: warning: passing argument 2 of ‘floatinlet_new’ from incompatible pointer type [-Wincompatible-pointer-types]
>    18 |         floatinlet_new(&x->x_obj, &x->k);
>       |                                   ^~~~~
>       |                                   |
>       |                                   float *
> In file included from mandelbrot~.c:1:
> /usr/include/pd/m_pd.h:460:58: note: expected ‘t_float *’ {aka ‘double *’} but argument is of type ‘float *’
>   460 | EXTERN t_inlet *floatinlet_new(t_object *owner, t_float *fp);
>       |                                                 ~~~~~~~~~^~
> mandelbrot~.c: In function ‘mandelbrot_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!"); \
>       |     ^~~~~~~~~~~~~~~~
> mandelbrot~.c:120:5: note: in expansion of macro ‘CLASS_MAINSIGNALIN’
>   120 |     CLASS_MAINSIGNALIN(mandelbrot_tilde_class, t_mandelbrot_tilde, k);
>       |     ^~~~~~~~~~~~~~~~~~
> cc -rdynamic -shared -fPIC -Wl,-rpath,"\$ORIGIN",--enable-new-dtags  -Wl,-z,relro -Wl,-z,now  -o catch13~.linux-amd64-64.so catch13~.linux-amd64-64.so.o  -lc -lm   
> ++++ info: linking objects in send13~.linux-amd64-64.so for lib ext13
> make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: mandelbrot~.linux-amd64-64.so.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/pd-ext13_0.17.1-9_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: