Hi Fred, Since both clFFT and clBLAS share a similar setup, I am surprised that one succeeds and the other fails to build on your machine. Some more comments below:
2015-06-17 8:27 GMT+01:00 PICCA Frederic-Emmanuel < frederic-emmanuel.pi...@synchrotron-soleil.fr>: > Hello Ghislain, I am trying to build your package with sbuild and I got > htis error message. > > make[3]: Entering directory '/«PKGBUILDDIR»/obj-i586-linux-gnu' > /usr/bin/cmake -E cmake_progress_report > /«PKGBUILDDIR»/obj-i586-linux-gnu/CMakeFiles 4 > [ 8%] Building CXX object library/CMakeFiles/clFFT.dir/transform.cpp.o > cd /«PKGBUILDDIR»/obj-i586-linux-gnu/library && /usr/bin/c++ > -DCLFFT_EXPORTS -DclFFT_EXPORTS -m64 -pthread -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security > -D_FORTIFY_SOURCE=2 -fPIC -I/«PKGBUILDDIR»/obj-i586-linux-gnu/include > -I/«PKGBUILDDIR»/src/library/../include -o > CMakeFiles/clFFT.dir/transform.cpp.o -c > /«PKGBUILDDIR»/src/library/transform.cpp > In file included from /«PKGBUILDDIR»/src/library/../include/stdafx.h:27:0, > from /«PKGBUILDDIR»/src/library/transform.cpp:21: > /usr/include/c++/4.9/iostream:38:28: fatal error: bits/c++config.h: No > such file or directory > #include <bits/c++config.h> > ^ > compilation terminated. > make[3]: *** [library/CMakeFiles/clFFT.dir/transform.cpp.o] Error 1 > library/CMakeFiles/clFFT.dir/build.make:57: recipe for target > 'library/CMakeFiles/clFFT.dir/transform.cpp.o' failed > make[3]: Leaving directory '/«PKGBUILDDIR»/obj-i586-linux-gnu' > make[2]: *** [library/CMakeFiles/clFFT.dir/all] Error 2 > make[1]: *** [all] Error 2 > > > FYI, I build both clBLAS and clFFT with gbp with a sid cowbuilder chroot as backend. For both, I use DIST=sid ARCH=amd64 gbp buildpackage --git-upstream-tag=v2.4 --git-upstream-branch=master \ --git-debian-branch=debian/sid --git-no-pristine-tar on the root of the d-science repository. Not sure why it builds cleanly with me but not with you. Let me know if you have any insights about what's happening here. > > Cheers > > > Frederic Best regards, Ghis