Source: pd-mediasettings Version: 0.1.1-5 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211228 ftbfs-bookworm
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 > -DVERSION='"0.1.1"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -o midisettings.o -c midisettings.c > In file included from midisettings.c:17: > mediasettings.h: In function ‘mediasettings_boilerplate’: > In file included from audiosettings.c:17: > mediasettings.h: In function ‘mediasettings_boilerplate’: > mediasettings.h:110:34: warning: macro "__DATE__" might prevent reproducible > builds [-Wdate-time] > 110 | verbose(0," compiled "BUILD_DATE""); > | ^~~~~~~~~~ > mediasettings.h:110:34: warning: macro "__DATE__" might prevent reproducible > builds [-Wdate-time] > 110 | verbose(0," compiled "BUILD_DATE""); > | ^~~~~~~~~~ > mediasettings.h:27:27: warning: macro "__TIME__" might prevent reproducible > builds [-Wdate-time] > 27 | # define BUILD_DATE "on " __DATE__ " at " __TIME__ > | ^~~~~~~~ > mediasettings.h:110:34: note: in expansion of macro ‘BUILD_DATE’ > 110 | verbose(0," compiled "BUILD_DATE""); > | ^~~~~~~~~~ > mediasettings.h:27:27: warning: macro "__TIME__" might prevent reproducible > builds [-Wdate-time] > 27 | # define BUILD_DATE "on " __DATE__ " at " __TIME__ > | ^~~~~~~~ > mediasettings.h:110:34: note: in expansion of macro ‘BUILD_DATE’ > 110 | verbose(0," compiled "BUILD_DATE""); > | ^~~~~~~~~~ > midisettings.c: In function ‘ms_symkeys_add’: > audiosettings.c: In function ‘as_get_audio_params’: > midisettings.c:97:2: warning: #warning LATER check how to deal with multiple > devices of the same name! [-Wcpp] > 97 | #warning LATER check how to deal with multiple devices of the same > name! > | ^~~~~~~ > audiosettings.c:31:3: warning: implicit declaration of function > ‘sys_get_audio_params’; did you mean ‘as_get_audio_params’? > [-Wimplicit-function-declaration] > 31 | sys_get_audio_params(pnaudioindev , paudioindev , pchindev, > | ^~~~~~~~~~~~~~~~~~~~ > | as_get_audio_params > audiosettings.c: At top level: > audiosettings.c:210:16: error: redefinition of ‘struct _audiosettings’ > 210 | typedef struct _audiosettings > | ^~~~~~~~~~~~~~ > In file included from mediasettings.h:18, > from audiosettings.c:17: > /usr/include/pd/s_stuff.h:61:16: note: originally defined here > 61 | typedef struct _audiosettings > | ^~~~~~~~~~~~~~ > audiosettings.c:217:3: error: conflicting types for ‘t_audiosettings’; have > ‘struct _audiosettings’ > 217 | } t_audiosettings; > | ^~~~~~~~~~~~~~~ > In file included from mediasettings.h:18, > from audiosettings.c:17: > /usr/include/pd/s_stuff.h:76:3: note: previous declaration of > ‘t_audiosettings’ with type ‘t_audiosettings’ {aka ‘struct _audiosettings’} > 76 | } t_audiosettings; > | ^~~~~~~~~~~~~~~ > audiosettings.c: In function ‘audiosettings_listdevices’: > audiosettings.c:230:3: error: too few arguments to function > ‘sys_get_audio_devs’ > 230 | sys_get_audio_devs((char*)indevlist, &indevs, > | ^~~~~~~~~~~~~~~~~~ > In file included from mediasettings.h:18, > from audiosettings.c:17: > /usr/include/pd/s_stuff.h:163:13: note: declared here > 163 | EXTERN void sys_get_audio_devs(char *indevlist, int *nindevs, > | ^~~~~~~~~~~~~~~~~~ > midisettings.c: In function ‘midisettings_listdevices_devices’: > midisettings.c:325:18: warning: assignment discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 325 | devname=s_devname->s_name; > | ^ > In file included from mediasettings.h:17, > from audiosettings.c:17: > audiosettings.c:236:40: error: ‘sys_audioapi’ undeclared (first use in this > function); did you mean ‘sys_midiapi’? > 236 | SETSYMBOL (atoms+1, as_getdrivername(sys_audioapi)); > | ^~~~~~~~~~~~ > /usr/include/pd/m_pd.h:326:29: note: in definition of macro ‘SETSYMBOL’ > 326 | (atom)->a_w.w_symbol = (s)) > | ^ > audiosettings.c:236:40: note: each undeclared identifier is reported only > once for each function it appears in > 236 | SETSYMBOL (atoms+1, as_getdrivername(sys_audioapi)); > | ^~~~~~~~~~~~ > /usr/include/pd/m_pd.h:326:29: note: in definition of macro ‘SETSYMBOL’ > 326 | (atom)->a_w.w_symbol = (s)) > | ^ > midisettings.c: In function ‘midisettings_free’: > midisettings.c:701:2: warning: #warning cleanup [-Wcpp] > 701 | #warning cleanup > | ^~~~~~~ > audiosettings.c: In function ‘audiosettings_testdevices’: > audiosettings.c:692:3: error: too few arguments to function > ‘sys_get_audio_devs’ > 692 | sys_get_audio_devs((char*)indevlist, &indevs, (char*)outdevlist, > &outdevs, &canmulti, > | ^~~~~~~~~~~~~~~~~~ > In file included from mediasettings.h:18, > from audiosettings.c:17: > /usr/include/pd/s_stuff.h:163:13: note: declared here > 163 | EXTERN void sys_get_audio_devs(char *indevlist, int *nindevs, > | ^~~~~~~~~~~~~~~~~~ > make[2]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:949: > audiosettings.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/12/28/pd-mediasettings_0.1.1-5_unstable.log 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 marking 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.