Bug#897722: clsparse: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:21:05 BST 2018


Package: src:clsparse
Version: 0.10.2.0-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/clsparse_0.10.2.0-3_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-8/porting_to.html

[...]
 ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/library/internal/ocl-type-traits.hpp:34:64: warning: ignoring attributes on template argument 'cl_float' {aka 'float'} [-Wignored-attributes]
 #define DECLARE_TYPE(TYPE) template<> struct OclTypeTraits<TYPE> \
                                                                ^
/<<PKGBUILDDIR>>/src/library/internal/ocl-type-traits.hpp:50:1: note: in expansion of macro 'DECLARE_TYPE'
 DECLARE_TYPE( cl_float )
 ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/library/internal/ocl-type-traits.hpp:34:64: warning: ignoring attributes on template argument 'cl_double' {aka 'double'} [-Wignored-attributes]
 #define DECLARE_TYPE(TYPE) template<> struct OclTypeTraits<TYPE> \
                                                                ^
/<<PKGBUILDDIR>>/src/library/internal/ocl-type-traits.hpp:51:1: note: in expansion of macro 'DECLARE_TYPE'
 DECLARE_TYPE( cl_double )
 ^~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library && /usr/bin/c++  -DBUILD_CLVERSION=120 -DCLSPARSE_INDEX_SIZEOF=4 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DclSPARSE_EXPORTS -I/<<PKGBUILDDIR>>/src/library -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/clsparseTimer  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -std=c++11 -pedantic -o CMakeFiles/clSPARSE.dir/internal/kernel-cache.cpp.o -c /<<PKGBUILDDIR>>/src/library/internal/kernel-cache.cpp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:89: library/CMakeFiles/clSPARSE.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/clsparseTimer && /usr/bin/c++  -DBUILD_CLVERSION=120 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DclsparseTimer_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/library -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/clsparseTimer -I/<<PKGBUILDDIR>>/src/clsparseTimer/../include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -std=c++11 -o CMakeFiles/clsparseTimer.dir/clsparseTimer-device.cpp.o -c /<<PKGBUILDDIR>>/src/clsparseTimer/clsparseTimer-device.cpp
In file included from /<<PKGBUILDDIR>>/src/clsparseTimer/clsparseTimer-device.cpp:27:
/<<PKGBUILDDIR>>/src/clsparseTimer/clsparseTimer-device.hpp:75:45: warning: ignoring attributes on template argument 'cl_uint' {aka 'unsigned int'} [-Wignored-attributes]
     typedef std::pair< std::string, cl_uint > idPair;
                                             ^
/<<PKGBUILDDIR>>/src/clsparseTimer/clsparseTimer-device.cpp:113:41: warning: ignoring attributes on template argument 'cl_double' {aka 'double'} [-Wignored-attributes]
 struct PruneRange < StatData, cl_double >
                                         ^
/<<PKGBUILDDIR>>/src/clsparseTimer/clsparseTimer-device.cpp: In member function 'std::vector<long unsigned int, std::allocator<long unsigned int> > clsparseDeviceTimer::pruneOutliers(size_t, cl_double)':
/<<PKGBUILDDIR>>/src/clsparseTimer/clsparseTimer-device.cpp:388:45: warning: ignoring attributes on template argument 'cl_double' {aka 'double'} [-Wignored-attributes]
             PruneRange< StatData, cl_double >( mean[ s ], multiple * stdDev[ s ].doubleNanoSec ) );
                                             ^
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 33%] Linking CXX shared library libclsparseTimer.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/clsparseTimer && /usr/bin/cmake -E cmake_link_script CMakeFiles/clsparseTimer.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -shared -Wl,-soname,libclsparseTimer.so.1 -o libclsparseTimer.so.0.10.2.0 CMakeFiles/clsparseTimer.dir/clsparseTimer-host.cpp.o CMakeFiles/clsparseTimer.dir/clsparseTimer-device.cpp.o CMakeFiles/clsparseTimer.dir/clsparseTimer-extern.cpp.o -lOpenCL -lrt 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/clsparseTimer && /usr/bin/cmake -E cmake_symlink_library libclsparseTimer.so.0.10.2.0 libclsparseTimer.so.1 libclsparseTimer.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 33%] Built target clsparseTimer
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:155: all] Error 2
dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline returned exit code 2
make: *** [debian/rules:26: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the debian-science-maintainers mailing list