Bug#1000308: pycuda: FTBFS with Python 3.10

Graham Inggs ginggs at debian.org
Sun Nov 21 08:24:04 GMT 2021


Source: pycuda
Version: 2021.1~dfsg-1
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.10

Hi Maintainer

I tried to do a manual binNMU of pycuda to add Python 3.10 as a
supported version (#996584), but it failed.  I've copied what I hope
is the relevant part of the log below.

I believe that should be '-lboost_python310'.

Regards
Graham


x86_64-linux-gnu-g++ -pthread -shared -Wl,-Bsymbolic-functions -g
-fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-p
rotector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2
build/temp.linux-x86_64-3.10/src/cpp/bitlog.o build/temp.l
inux-x86_64-3.10/src/cpp/cuda.o
build/temp.linux-x86_64-3.10/src/wrapper/mempool.o
build/temp.linux-x86_64-3.10/src/wrapper/wrap_cudadrv.o
build/temp.linux
-x86_64-3.10/src/wrapper/wrap_cudagl.o
build/temp.linux-x86_64-3.10/src/wrapper/wrap_curand.o
-L/usr/lib/stubs -L/usr/lib64/stubs -L/usr/lib/stubs -L/usr/l
ib64/stubs -lboost_python31 -lboost_thread -lcuda -lcurand -o
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/pycuda/_driver.cpython-310-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lboost_python31
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1



More information about the pkg-nvidia-devel mailing list