[Python-modules-team] Bug#640940: Bug#640940: python-numpy: numpy.distutils not multiarch aware

Sandro Tosi morph at debian.org
Thu Sep 8 17:05:18 UTC 2011

On Thu, Sep 8, 2011 at 18:31, Julian Taylor
<jtaylor.debian at googlemail.com> wrote:
> Package: python-numpy
> Version: 1:1.5.1-2ubuntu2

please, try to use Debian versions when reporting bugs against Debian packages.

> Severity: normal
> Tags: patch
> numpy.distutils is not multiarch aware.
> this causes problems when its searching for libraries.
> E.g. when building in python-enable:
> python setup.py develop
> ....
> /usr/lib/pymodules/python2.6/numpy/distutils/system_info.py:459: UserWarning:
> X11 libraries not found.
>  warnings.warn(self.notfounderror.__doc__)
> this is caused by numpy.distutils not checking in the multiarch triplet paths.
> Attached patch fixes this issue, but due to the lack of a proper way to obtain
> the triplet its quite ugly.

indeed; please bring the problem upstream.

> one could also use gcc -print-multiarch to obtain the triplet instead of dpkg-
> architecture

so we have to depends on gcc, sorry no.

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the Python-modules-team mailing list