Bug#914804: pycuda: FTBFS with boost1.67: /usr/bin/ld: cannot find -lboost_python-py27
Andreas Beckmann
anbe at debian.org
Tue Nov 27 14:50:08 GMT 2018
Source: pycuda
Version: 2018.1.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source
Hi,
I tried to manually binNMU pycuda for boost1.67, but it failed with
[...]
x86_64-linux-gnu-g++ -pthread -shared -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-A8UpPM/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/pycuda-2018.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-amd64-2.7/src/cpp/cuda.o build/temp.linux-amd64-2.7/src/cpp/bitlog.o build/temp.linux-amd64-2.7/src/wrapper/wrap_cudadrv.o build/temp.linux-amd64-2.7/src/wrapper/mempool.o build/temp.linux-amd64-2.7/src/wrapper/wrap_cudagl.o build/temp.linux-amd64-2.7/src/wrapper/wrap_curand.o -L/usr/lib/stubs -L/usr/lib64/stubs -L/usr/lib/stubs -L/usr/lib64/stubs -lboost_python-py27 -lboost_thread -lcuda -lcurand -o /build/pycuda-2018.1.1/.pybuild/cpython2_2.7/build/pycuda/_driver.so
/usr/bin/ld: cannot find -lboost_python-py27
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-g++' failed with exit status 1
E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build
dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:26: binary-arch] Error 25
(there may have been earlier errors, I unfortunately do not have
the full log, only the last screen)
Andreas
More information about the pkg-nvidia-devel
mailing list