Bug#796041: RFS: clfft/2.6.1-1
Hello Ghislain,
I get this error when building with sbuild (unstable)
[ 62%] Building CXX object library/CMakeFiles/clFFT.dir/fft_binary_lookup.cpp.o
cd /«PKGBUILDDIR»/obj-i586-linux-gnu/library && /usr/bin/c++ -DCLFFT_EXPORTS -DclFFT_EXPORTS -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -fPIC -I/«PKGBUILDDIR»/obj-i586-linux-gnu/include -I/«PKGBUILDDIR»/src/library/../include -o CMakeFiles/clFFT.dir/fft_binary_lookup.cpp.o -c /«PKGBUILDDIR»/src/library/fft_binary_lookup.cpp
/«PKGBUILDDIR»/src/library/fft_binary_lookup.cpp: In function 'void clfftInitBinaryCache()':
/«PKGBUILDDIR»/src/library/fft_binary_lookup.cpp:66:50: error: 'getenv' was not declared in this scope
const char * path = getenv("CLFFT_CACHE_PATH");
^
make[4]: *** [library/CMakeFiles/clFFT.dir/fft_binary_lookup.cpp.o] Error 1
library/CMakeFiles/clFFT.dir/build.make:264: recipe for target 'library/CMakeFiles/clFFT.dir/fft_binary_lookup.cpp.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/obj-i586-linux-gnu'
make[3]: *** [library/CMakeFiles/clFFT.dir/all] Error 2
Cheers
Reply to: