Package: src:libgpuarray Version: 0.6.9-2 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_autoreconf -i -O--buildsystem=pybuild debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_configure --buildsystem=cmake cd obj-x86_64-linux-gnu && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -- The C compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features [... snipped ...] I: pybuild base:217: python2.7 setup.py config Compiling pygpu/gpuarray.pyx because it changed. Compiling pygpu/blas.pyx because it changed. Compiling pygpu/_elemwise.pyx because it changed. Compiling pygpu/collectives.pyx because it changed. [1/4] Cythonizing pygpu/_elemwise.pyx [2/4] Cythonizing pygpu/blas.pyx [3/4] Cythonizing pygpu/collectives.pyx [4/4] Cythonizing pygpu/gpuarray.pyx running config I: pybuild base:217: python2.7-dbg setup.py config running config I: pybuild base:217: python3.6 setup.py config running config I: pybuild base:217: python3.6-dbg setup.py config running config make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_build-indep make[1]: Entering directory '/<<PKGBUILDDIR>>' python3 setup.py build_ext --inplace -I /<<PKGBUILDDIR>>/src -L /<<PKGBUILDDIR>>/lib running build_ext building 'pygpu.gpuarray' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/pygpu x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DGPUARRAY_SHARED -I/usr/lib/python3/dist-packages/numpy/core/include -I/<<PKGBUILDDIR>>/src -I/usr/include/python3.6m -c pygpu/gpuarray.c -o build/temp.linux-x86_64-3.6/pygpu/gpuarray.o -Wno-unused-variable -Wno-unused-function In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from pygpu/gpuarray.c:514: /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/pygpu x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/pygpu/gpuarray.o -L/<<PKGBUILDDIR>>/lib -lgpuarray -o build/lib.linux-x86_64-3.6/pygpu/gpuarray.cpython-36m-x86_64-linux-gnu.so /usr/bin/ld: cannot find -lgpuarray collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 debian/rules:39: recipe for target 'override_dh_auto_build-indep' failed make[1]: *** [override_dh_auto_build-indep] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:15: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- To reproduce, please try "dpkg-buildpackage -A". (The error does not happen with "dpkg-buildpackage"). Thanks.