Bug#1065777: clblas: FTBFS on arm{el,hf}: /<<PKGBUILDDIR>>/src/library/blas/gens/symv.c:955:29: error: implicit declaration of function =?UTF-8?Q?=E2=80=98abs=E2=80=99; ?= did you mean ‘fabs’? [-Werror=implicit-function-declaration]
Sebastian Ramacher
sramacher at debian.org
Sat Mar 9 20:43:08 GMT 2024
Source: clblas
Version: 2.12-4.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=clblas&arch=armel&ver=2.12-4.1&stamp=1709170039&raw=0
cd /<<PKGBUILDDIR>>/obj-arm-linux-gnueabi/library/tools/tune && /usr/bin/cc -DCLBLAS_BONAIRE_DYNAMIC_KERNEL -DCLBLAS_HAWAII_DYNAMIC_KERNEL -DCLBLAS_TAHITI_DYNAMIC_KERNEL -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -D_POSIX_C_SOURCE=199309L -D_XOPEN_SOURCE=500 -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/library/blas/include -I/<<PKGBUILDDIR>>/src/library/blas/gens -I/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi/include -I/<<PKGBUILDDIR>>/src/library/tools/tune -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wstrict-prototypes -fno-builtin -MD -MT library/tools/tune/CMakeFiles/tune.dir/__/__/blas/gens/symv.c.o -MF CMakeFiles/tune.dir/__/__/blas/gens/symv.c.o.d -o CMakeFiles/tune.dir/__/__/blas/gens/symv.c.o -c /<<PKGBUILDDIR>>/src/library/blas/gens/symv.c
[ 14%] Building C object library/tools/tune/CMakeFiles/tune.dir/__/__/blas/gens/gemm.c.o
cd /<<PKGBUILDDIR>>/obj-arm-linux-gnueabi/library/tools/tune && /usr/bin/cc -DCLBLAS_BONAIRE_DYNAMIC_KERNEL -DCLBLAS_HAWAII_DYNAMIC_KERNEL -DCLBLAS_TAHITI_DYNAMIC_KERNEL -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -D_POSIX_C_SOURCE=199309L -D_XOPEN_SOURCE=500 -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/library/blas/include -I/<<PKGBUILDDIR>>/src/library/blas/gens -I/<<PKGBUILDDIR>>/obj-arm-linux-gnueabi/include -I/<<PKGBUILDDIR>>/src/library/tools/tune -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wstrict-prototypes -fno-builtin -MD -MT library/tools/tune/CMakeFiles/tune.dir/__/__/blas/gens/gemm.c.o -MF CMakeFiles/tune.dir/__/__/blas/gens/gemm.c.o.d -o CMakeFiles/tune.dir/__/__/blas/gens/gemm.c.o -c /<<PKGBUILDDIR>>/src/library/blas/gens/gemm.c
In file included from /usr/include/CL/cl.h:20,
from /<<PKGBUILDDIR>>/src/clBLAS.h:35,
from /<<PKGBUILDDIR>>/src/library/blas/gens/symv.c:27:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^~~~~~~
In file included from /usr/include/CL/cl.h:20,
from /<<PKGBUILDDIR>>/src/clBLAS.h:35,
from /<<PKGBUILDDIR>>/src/library/blas/gens/gemm.c:28:
/usr/include/CL/cl_version.h:22:9: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^~~~~~~
/<<PKGBUILDDIR>>/src/library/blas/gens/symv.c: In function ‘fixupArgs’:
/<<PKGBUILDDIR>>/src/library/blas/gens/symv.c:955:29: error: implicit declaration of function ‘abs’; did you mean ‘fabs’? [-Werror=implicit-function-declaration]
955 | abs(kargs->ldc.Vector);
| ^~~
| fabs
cc1: some warnings being treated as errors
make[3]: *** [library/tools/tune/CMakeFiles/tune.dir/build.make:443: library/tools/tune/CMakeFiles/tune.dir/__/__/blas/gens/gemv.c.o] Error 1
Cheers
--
Sebastian Ramacher
More information about the debian-science-maintainers
mailing list