Bug#761528: viennacl: FTBFS: platform.hpp:83: undefined reference to `clGetPlatformInfo'

David Suárez david.sephirot at gmail.com
Sun Sep 14 15:09:52 UTC 2014


Source: viennacl
Version: 1.5.2-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140913 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> /usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2    -Wl,-z,relro CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o  -o viennacl-info -rdynamic 
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `viennacl::ocl::platform::devices(unsigned long)':
> /«PKGBUILDDIR»/viennacl/ocl/platform.hpp:107: undefined reference to `clGetDeviceIDs'
> /«PKGBUILDDIR»/viennacl/ocl/platform.hpp:111: undefined reference to `clGetDeviceIDs'
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `extensions':
> /«PKGBUILDDIR»/viennacl/ocl/device.hpp:193: undefined reference to `clGetDeviceInfo'
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `name':
> /«PKGBUILDDIR»/viennacl/ocl/device.hpp:570: undefined reference to `clGetDeviceInfo'
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `opencl_c_version':
> /«PKGBUILDDIR»/viennacl/ocl/device.hpp:705: undefined reference to `clGetDeviceInfo'
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `profile':
> /«PKGBUILDDIR»/viennacl/ocl/device.hpp:827: undefined reference to `clGetDeviceInfo'
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `vendor':
> /«PKGBUILDDIR»/viennacl/ocl/device.hpp:909: undefined reference to `clGetDeviceInfo'
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o:/«PKGBUILDDIR»/viennacl/ocl/device.hpp:933: more undefined references to `clGetDeviceInfo' follow
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `info':
> /«PKGBUILDDIR»/viennacl/ocl/platform.hpp:83: undefined reference to `clGetPlatformInfo'
> /«PKGBUILDDIR»/viennacl/ocl/platform.hpp:89: undefined reference to `clGetPlatformInfo'
> CMakeFiles/viennacl-info.dir/viennacl-info.cpp.o: In function `get_platforms':
> /«PKGBUILDDIR»/viennacl/ocl/platform.hpp:143: undefined reference to `clGetPlatformIDs'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/09/13/viennacl_1.5.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list