Source: pd-pdogg
Version: 0.25.1-9
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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 
> oggwrite~.pd_linux.o -c oggwrite~.c
> oggcast~.c: In function ‘oggcast_child_connect’:
> oggcast~.c:602:36: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   602 |                 if(sprintf(resp, "%d", br_nom) == -1)    /* convert 
> int to a string */
>       |                                   ~^   ~~~~~~
>       |                                    |   |
>       |                                    int t_int {aka long int}
>       |                                   %ld
> oggcast~.c:670:36: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   670 |                 if(sprintf(resp, "%d", br_nom) == -1)    /* convert 
> int to a string */
>       |                                   ~^   ~~~~~~
>       |                                    |   |
>       |                                    int t_int {aka long int}
>       |                                   %ld
> oggcast~.c: In function ‘oggcast_child_main’:
> oggcast~.c:845:49: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   845 |                         sprintf(boo, "fifosize %d\n", x->x_fifosize);
>       |                                                ~^     ~~~~~~~~~~~~~
>       |                                                 |      |
>       |                                                 int    t_int {aka 
> long int}
>       |                                                %ld
> oggcast~.c:891:52: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   891 |                         sprintf(boo, "after: head %d, tail %d, pages 
> %d\n", x->x_fifohead, x->x_fifotail, sysrtn);
>       |                                                   ~^                  
>       ~~~~~~~~~~~~~
>       |                                                    |                  
>        |
>       |                                                    int                
>        t_int {aka long int}
>       |                                                   %ld
> oggamp~.c: In function ‘oggamp_child_dographics’:
> oggcast~.c:891:61: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   891 |                         sprintf(boo, "after: head %d, tail %d, pages 
> %d\n", x->x_fifohead, x->x_fifotail, sysrtn);
>       |                                                            ~^         
>                      ~~~~~~~~~~~~~
>       |                                                             |         
>                       |
>       |                                                             int       
>                       t_int {aka long int}
>       |                                                            %ld
> oggamp~.c:637:17: warning: ‘sys_vgui’ is deprecated 
> [-Wdeprecated-declarations]
>   637 |                 sys_vgui(".x%x.c create rectangle %d %d %d %d -fill 
> lightblue -tags %xPBAR\n",
>       |                 ^~~~~~~~
> In file included from oggamp~.c:33:
> /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 */
>       |                           ^~~~~~~~
> oggamp~.c: In function ‘oggamp_child_updategraphics’:
> oggamp~.c:651:17: warning: ‘sys_vgui’ is deprecated 
> [-Wdeprecated-declarations]
>   651 |                 sys_vgui(".x%x.c delete rectangle %xSTATUS\n", 
> x->x_canvas, x);
>       |                 ^~~~~~~~
> /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 */
>       |                           ^~~~~~~~
> oggamp~.c:660:17: warning: ‘sys_vgui’ is deprecated 
> [-Wdeprecated-declarations]
>   660 |                 sys_vgui(".x%x.c create rectangle %d %d %d %d -fill 
> %s -tags %xSTATUS\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 */
>       |                           ^~~~~~~~
> oggamp~.c: In function ‘oggamp_child_delgraphics’:
> oggamp~.c:670:8: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
>   670 |        sys_vgui(".x%x.c delete rectangle %xPBAR\n", x->x_canvas, x );
>       |        ^~~~~~~~
> /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 */
>       |                           ^~~~~~~~
> oggamp~.c:671:8: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
>   671 |        sys_vgui(".x%x.c delete rectangle %xSTATUS\n", x->x_canvas, x 
> );
>       |        ^~~~~~~~
> /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 */
>       |                           ^~~~~~~~
> oggamp~.c: In function ‘oggamp_child_main’:
> oggamp~.c:826:41: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   826 |                 sprintf(boo, "fifosize %d\n",
>       |                                        ~^
>       |                                         |
>       |                                         int
>       |                                        %ld
>   827 |                 x->x_fifosize);
>       |                 ~~~~~~~~~~~~~            
>       |                  |
>       |                  t_int {aka long int}
> oggamp~.c:843:53: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   843 |                                 sprintf(boo, "head %d, tail %d\n", 
> x->x_fifohead, x->x_fifotail);
>       |                                                    ~^              
> ~~~~~~~~~~~~~
>       |                                                     |               |
>       |                                                     int             
> t_int {aka long int}
>       |                                                    %ld
> oggamp~.c:843:62: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   843 |                                 sprintf(boo, "head %d, tail %d\n", 
> x->x_fifohead, x->x_fifotail);
>       |                                                             ~^        
>             ~~~~~~~~~~~~~
>       |                                                              |        
>              |
>       |                                                              int      
>              t_int {aka long int}
>       |                                                             %ld
> In file included from oggcast~.c:29:
> oggcast~.c: In function ‘oggcast_tilde_setup’:
> oggamp~.c:883:52: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   883 |                         sprintf(boo, "after: head %d, tail %d\n",
>       |                                                   ~^
>       |                                                    |
>       |                                                    int
>       |                                                   %ld
>   884 |                                 x->x_fifohead, x->x_fifotail);
>       |                                 ~~~~~~~~~~~~~       
>       |                                  |
>       |                                  t_int {aka long int}
> oggamp~.c:883:61: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   883 |                         sprintf(boo, "after: head %d, tail %d\n",
>       |                                                            ~^
>       |                                                             |
>       |                                                             int
>       |                                                            %ld
>   884 |                                 x->x_fifohead, x->x_fifotail);
>       |                                                ~~~~~~~~~~~~~ 
>       |                                                 |
>       |                                                 t_int {aka long int}
> /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!"); \
>       |     ^~~~~~~~~~~~~~~~
> oggcast~.c:1455:5: note: in expansion of macro ‘CLASS_MAINSIGNALIN’
>  1455 |     CLASS_MAINSIGNALIN(oggcast_class, t_oggcast, x_f );
>       |     ^~~~~~~~~~~~~~~~~~
> oggamp~.c: In function ‘oggamp_perform’:
> oggamp~.c:1090:50: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>  1090 |                         pd_error(x, "dsp: error %d", 
> x->x_connecterror);
>       |                                                 ~^   ~~~~~~~~~~~~~~~~~
>       |                                                  |    |
>       |                                                  int  t_int {aka long 
> int}
>       |                                                 %ld
> make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: 
> oggcast~.pd_linux.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/pd-pdogg_0.25.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=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@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 via email to