Bug#707403: yp-svipc: FTBFS: ImportError: cannot import name multiarray
Lucas Nussbaum
lucas at lucas-nussbaum.net
Thu May 9 08:26:01 UTC 2013
Source: yp-svipc
Version: 0.14-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130509 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> dh_auto_build
> pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
> pyversions: missing debian/pyversions file, fall back to supported versions
> running build
> running config_cc
> unifing config_cc, config, build_clib, build_ext, build commands --compiler options
> running config_fc
> unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
> running build_src
> build_src
> building extension "svipc" sources
> build_src: building npy-pkg config files
> running build_ext
> customize UnixCCompiler
> customize UnixCCompiler using build_ext
> building 'svipc' extension
> compiling C sources
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fPIC
>
> creating build
> creating build/temp.linux-x86_64-2.7
> creating build/temp.linux-x86_64-2.7/common
> creating build/temp.linux-x86_64-2.7/python
> compile options: '-DPYTHON_SVIPC_VERSION=\"0.14\" -DSVIPC_NOSEGFUNC -Icommon -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/python2.7 -c'
> gcc: python/svipc_module.c
> gcc: common/svipc_misc.c
> gcc: common/svipc_msq.c
> gcc: common/svipc_shm.c
> gcc: common/svipc_sem.c
> creating build/lib.linux-x86_64-2.7
> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,relro -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/common/svipc_misc.o build/temp.linux-x86_64-2.7/common/svipc_shm.o build/temp.linux-x86_64-2.7/common/svipc_sem.o build/temp.linux-x86_64-2.7/common/svipc_msq.o build/temp.linux-x86_64-2.7/python/svipc_module.o -o build/lib.linux-x86_64-2.7/svipc.so
> running scons
> set -ex; for python in python3.2 python3.3; do \
> $python setup.py build; \
> done;
> + python3.2 setup.py build
> running build
> running config_cc
> unifing config_cc, config, build_clib, build_ext, build commands --compiler options
> running config_fc
> unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
> running build_src
> build_src
> building extension "svipc" sources
> build_src: building npy-pkg config files
> running build_ext
> customize UnixCCompiler
> customize UnixCCompiler using build_ext
> building 'svipc' extension
> compiling C sources
> C compiler: gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fPIC
>
> creating build/temp.linux-x86_64-3.2
> creating build/temp.linux-x86_64-3.2/common
> creating build/temp.linux-x86_64-3.2/python
> compile options: '-DPYTHON_SVIPC_VERSION=\"0.14\" -DSVIPC_NOSEGFUNC -Icommon -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.2mu -c'
> gcc: common/svipc_msq.c
> gcc: common/svipc_misc.c
> gcc: python/svipc_module.c
> gcc: common/svipc_shm.c
> gcc: common/svipc_sem.c
> creating build/lib.linux-x86_64-3.2
> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,relro -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.2/common/svipc_misc.o build/temp.linux-x86_64-3.2/common/svipc_shm.o build/temp.linux-x86_64-3.2/common/svipc_sem.o build/temp.linux-x86_64-3.2/common/svipc_msq.o build/temp.linux-x86_64-3.2/python/svipc_module.o -o build/lib.linux-x86_64-3.2/svipc.cpython-32mu.so
> running scons
> + python3.3 setup.py build
> Traceback (most recent call last):
> File "setup.py", line 21, in <module>
> from numpy.distutils.core import setup, Extension
> File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 137, in <module>
> from . import add_newdocs
> File "/usr/lib/python3/dist-packages/numpy/add_newdocs.py", line 9, in <module>
> from numpy.lib import add_newdoc
> File "/usr/lib/python3/dist-packages/numpy/lib/__init__.py", line 4, in <module>
> from .type_check import *
> File "/usr/lib/python3/dist-packages/numpy/lib/type_check.py", line 8, in <module>
> import numpy.core.numeric as _nx
> File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 5, in <module>
> from . import multiarray
> ImportError: cannot import name multiarray
> make[1]: *** [override_dh_auto_build] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2013/05/09/yp-svipc_0.14-2_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