Source: pd-nusmuk
Version: 20151113+repack-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> cc -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 -fPIC -o "tab_upsample.o" -c 
> "tab_upsample.c"
> pbank.c: In function ‘pbank_set’:
> pbank.c:159:9: error: implicit declaration of function ‘error’; did you mean 
> ‘perror’? [-Werror=implicit-function-declaration]
>   159 |         error("pbank_set: takes at least 3 arguments: column row 
> item(s)");
>       |         ^~~~~
>       |         perror
> pbank.c: In function ‘pbank_read’:
> pbank.c:907:27: warning: passing argument 2 of ‘pbank_fromfile’ discards 
> ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   907 |     pbank_fromfile(x,fname->s_name,TEXT,0);
>       |                      ~~~~~^~~~~~~~
> pbank.c:869:38: note: expected ‘char *’ but argument is of type ‘const char *’
>   869 | void pbank_fromfile(t_pbank *x,char *name, int type, int silentFlag) 
> // filename with or without path
>       |                                ~~~~~~^~~~
> pbank.c: In function ‘pbank_new’:
> mtx_preset.c: In function ‘mtx_preset_matrix’:
> pbank.c:1194:14: warning: assignment discards ‘const’ qualifier from pointer 
> target type [-Wdiscarded-qualifiers]
>  1194 |         shit = (argv+2)->a_w.w_symbol->s_name;
>       |              ^
> mtx_preset.c:120:9: error: implicit declaration of function ‘error’; did you 
> mean ‘perror’? [-Werror=implicit-function-declaration]
>   120 |         error("bad matrix");
>       |         ^~~~~
>       |         perror
> pbank.c:1217:14: warning: assignment discards ‘const’ qualifier from pointer 
> target type [-Wdiscarded-qualifiers]
>  1217 |         shit = (argv+3)->a_w.w_symbol->s_name;
>       |              ^
> pbank.c:1257:43: warning: passing argument 2 of ‘pbank_fromfile’ discards 
> ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1257 |                 pbank_fromfile(x,x->p_name->s_name, TEXT,1);
>       |                                  ~~~~~~~~~^~~~~~~~
> pbank.c:869:38: note: expected ‘char *’ but argument is of type ‘const char *’
>   869 | void pbank_fromfile(t_pbank *x,char *name, int type, int silentFlag) 
> // filename with or without path
>       |                                ~~~~~~^~~~
> cc -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 -fPIC -o "tab_upsample_copy.o" -c 
> "tab_upsample_copy.c"
> cc -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 -fPIC -o "tab_max.o" -c "tab_max.c"
> cc -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 -fPIC -o "tab_min.o" -c "tab_min.c"
> cc -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 -fPIC -o "tab_integrate.o" -c 
> "tab_integrate.c"
> cc -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 -fPIC -o "tab_derivate.o" -c 
> "tab_derivate.c"
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "line3.pd_linux" "line3.o"  -lc
> chmod a-x "line3.pd_linux"
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_downsample_max.pd_linux" "tab_downsample_max.o"  -lc
> chmod a-x "tab_downsample_max.pd_linux"
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_downsample_min.pd_linux" "tab_downsample_min.o"  -lc
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_downsample_average.pd_linux" "tab_downsample_average.o"  -lc
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_downsample.pd_linux" "tab_downsample.o"  -lc
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_upsample.pd_linux" "tab_upsample.o"  -lc
> chmod a-x "tab_downsample_min.pd_linux"
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_upsample_copy.pd_linux" "tab_upsample_copy.o"  -lc
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_integrate.pd_linux" "tab_integrate.o"  -lc
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_derivate.pd_linux" "tab_derivate.o"  -lc
> chmod a-x "tab_downsample_average.pd_linux"
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_max.pd_linux" "tab_max.o"  -lc
> chmod a-x "tab_downsample.pd_linux"
> cc -Wl,-z,relro -Wl,-z,now -Wl,-as-needed -fPIC -Wl,--export-dynamic -shared 
> -o "tab_min.pd_linux" "tab_min.o"  -lc
> chmod a-x "tab_upsample_copy.pd_linux"
> chmod a-x "tab_max.pd_linux"
> chmod a-x "tab_integrate.pd_linux"
> chmod a-x "tab_upsample.pd_linux"
> chmod a-x "tab_min.pd_linux"
> chmod a-x "tab_derivate.pd_linux"
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:162: mtx_preset.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pd-nusmuk_20151113+repack-8_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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