Bug#761553: pyviennacl: FTBFS: ld: cannot find -lOpenCL

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


Source: pyviennacl
Version: 1.0.2+dfsg-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):
> c++ -pthread -shared -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/src/_viennacl/core.o build/temp.linux-x86_64-2.7/src/_viennacl/vector_float.o build/temp.linux-x86_64-2.7/src/_viennacl/vector_double.o build/temp.linux-x86_64-2.7/src/_viennacl/vector_int.o build/temp.linux-x86_64-2.7/src/_viennacl/vector_long.o build/temp.linux-x86_64-2.7/src/_viennacl/vector_uint.o build/temp.linux-x86_64-2.7/src/_viennacl/vector_ulong.o build/temp.linux-x86_64-2.7/src/_viennacl/dense_matrix_float.o build/temp.linux-x86_64-2.7/src/_viennacl/dense_matrix_double.o build/temp.linux-x86_64-2.7/src/_viennacl/dense_matrix_int.o build/temp.linux-x86_64-2.7/src/_viennacl/dense_matrix_long.o build/temp.linux-x86_64-2.7/src/_viennacl/dense_matrix_uint.o build/temp.linux-x86_64-2.7/src/_viennacl/dense_matrix_ulong.o build/temp.linux-x86_64-2.7/src/_viennacl/compressed_matrix.o build/temp.linux-x86_64-2.7/src/_viennacl/coordinate_matrix.o build/temp.linux-x86_64-2.7/src/_viennacl/ell_matrix.o build/temp.linux-x86_64-2.7/src/_viennacl/hyb_matrix.o build/temp.linux-x86_64-2.7/src/_viennacl/direct_solvers.o build/temp.linux-x86_64-2.7/src/_viennacl/iterative_solvers.o build/temp.linux-x86_64-2.7/src/_viennacl/eig.o build/temp.linux-x86_64-2.7/src/_viennacl/extra_functions.o build/temp.linux-x86_64-2.7/src/_viennacl/scheduler.o build/temp.linux-x86_64-2.7/src/_viennacl/opencl_support.o build/temp.linux-x86_64-2.7/external/boost_numpy/libs/numpy/src/matrix.o build/temp.linux-x86_64-2.7/external/boost_numpy/libs/numpy/src/dtype.o build/temp.linux-x86_64-2.7/external/boost_numpy/libs/numpy/src/ndarray.o build/temp.linux-x86_64-2.7/external/boost_numpy/libs/numpy/src/scalars.o build/temp.linux-x86_64-2.7/external/boost_numpy/libs/numpy/src/numpy.o build/temp.linux-x86_64-2.7/external/boost_numpy/libs/numpy/src/ufunc.o -lboost_python-py27 -lOpenCL -lrt -o /«BUILDDIR»/pyviennacl-1.0.2+dfsg/.pybuild/pythonX.Y_2.7/build/pyviennacl/_viennacl.so
> /usr/bin/ld: cannot find -lOpenCL
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/09/13/pyviennacl_1.0.2+dfsg-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