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

Bug#1066192: qm-dsp: FTBFS: hmm/hmm.c:703:15: error: implicit declaration of function ‘dgetrf_’ [-Werror=implicit-function-declaration]



Source: qm-dsp
Version: 1.7.1-7.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS  -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -Wdate-time -D_FORTIFY_SOURCE=2  -c -o hmm/hmm.o hmm/hmm.c
> hmm/hmm.c: In function ‘invert’:
> hmm/hmm.c:703:15: error: implicit declaration of function ‘dgetrf_’ [-Werror=implicit-function-declaration]
>   703 |         ret = dgetrf_(&M, &M, a, &M, ipiv, &ret);       /* ret should be zero, negative if cov is singular */
>       |               ^~~~~~~
> hmm/hmm.c:730:9: error: implicit declaration of function ‘dgetri_’ [-Werror=implicit-function-declaration]
>   730 |         dgetri_(&M, a, &M, ipiv, &lwbest, &lwork, &ret);
>       |         ^~~~~~~
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS  -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -Wdate-time -D_FORTIFY_SOURCE=2  -c -o maths/Correlation.o maths/Correlation.cpp
> cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS  -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -Wdate-time -D_FORTIFY_SOURCE=2  -c -o maths/CosineDistance.o maths/CosineDistance.cpp
> cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS  -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -Wdate-time -D_FORTIFY_SOURCE=2  -c -o maths/KLDivergence.o maths/KLDivergence.cpp
> cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS  -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -Wdate-time -D_FORTIFY_SOURCE=2  -c -o maths/MathUtilities.o maths/MathUtilities.cpp
> cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
> dsp/wavelet/Wavelet.cpp: In static member function ‘static void Wavelet::createDecompositionFilters(Type, std::vector<float>&, std::vector<float>&)’:
> dsp/wavelet/Wavelet.cpp:80:9: warning: variable ‘flength’ set but not used [-Wunused-but-set-variable]
>    80 |     int flength = 0;
>       |         ^~~~~~~
> cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS  -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -Wdate-time -D_FORTIFY_SOURCE=2  -c -o maths/pca/pca.o maths/pca/pca.c
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS  -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double -Wdate-time -D_FORTIFY_SOURCE=2  -c -o thread/Thread.o thread/Thread.cpp
> cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
> maths/CosineDistance.cpp: In member function ‘double CosineDistance::distance(const std::vector<double>&, const std::vector<double>&)’:
> maths/CosineDistance.cpp:37:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
>    37 |         for(int i=0; i<v1.size(); i++)
>       |                      ~^~~~~~~~~~
> cc1: some warnings being treated as errors
> maths/MathUtilities.cpp: In static member function ‘static double MathUtilities::median(const double*, unsigned int)’:
> maths/MathUtilities.cpp:92:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
>    92 |     for (int i = 0; i < len; ++i) scratch.push_back(src[i]);
>       |                     ~~^~~~~
> make[1]: *** [<builtin>: hmm/hmm.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/qm-dsp_1.7.1-7.1_unstable.log

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