Package: src:arrayfire
Version: 3.3.2+dfsg1-4
Severity: normal
Tags: sid buster
User: [email protected]
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/arrayfire_3.3.2+dfsg1-4_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

[...]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = long long int; unsigned int 
dim = 1]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:34:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long 
int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = long long int; unsigned int 
dim = 2]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:35:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long 
int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = long long int; unsigned int 
dim = 3]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:36:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long 
int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; 
unsigned int dim = 0]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:33:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long 
unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; 
unsigned int dim = 1]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:34:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long 
unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; 
unsigned int dim = 2]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:35:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long 
unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; 
unsigned int dim = 3]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:36:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long 
unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int 
dim = 0]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:33:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned 
char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int 
dim = 1]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:34:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned 
char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int 
dim = 2]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:35:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned 
char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In 
instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, 
opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int 
dim = 3]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:36:47:   
required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const 
opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned 
char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   
required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: 
warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
make[3]: Leaving directory 
'/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:182: 
src/backend/opencl/CMakeFiles/afopencl.dir/all] Error 2
make[1]: *** [Makefile:166: all] Error 2
dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline returned exit code 2
make: *** [debian/rules:47: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to