[Aptitude-devel] Bug#873791: [python-numpy] Undefined symbols on several architectures
Axel Beckert
abe at debian.org
Thu Aug 31 14:39:26 UTC 2017
Control: affects -1 + apprecommender apt aptitude
Hi,
Ole Streicher wrote:
> Package: python-numpy
[...]
> ImportError:
> /usr/lib/python2.7/dist-packages/numpy/random/mtrand.aarch64-linux-gnu.so:
> undefined symbol: PyFPE_jbuf
apprecommender uses python-numpy in its apprec-apt tool which is
called from an APT hook before apt installs or deinstalls any
packages. There it bails out like this on amd64:
Traceback (most recent call last):
File "/usr/bin/apprec-apt", line 11, in <module>
load_entry_point('apprecommender==0.7.5', 'console_scripts', 'apprec-apt')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 564, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2662, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2316, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2322, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.7/dist-packages/apprecommender/main/apt_run.py", line 9, in <module>
from apprecommender.main.app_recommender import AppRecommender
File "/usr/lib/python2.7/dist-packages/apprecommender/main/app_recommender.py", line 6, in <module>
from apprecommender.recommender import Recommender
File "/usr/lib/python2.7/dist-packages/apprecommender/recommender.py", line 33, in <module>
import apprecommender.strategy
File "/usr/lib/python2.7/dist-packages/apprecommender/strategy.py", line 32, in <module>
import numpy as np
File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 166, in <module>
from . import random
File "/usr/lib/python2.7/dist-packages/numpy/random/__init__.py", line 99, in <module>
from .mtrand import *
ImportError: /usr/lib/python2.7/dist-packages/numpy/random/mtrand.x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf
E: Sub-process [ ! -x /usr/bin/apprec-apt ] || apprec-apt --pre-install-pkgs returned an error code (1)
E: Failure running script [ ! -x /usr/bin/apprec-apt ] || apprec-apt --pre-install-pkgs
This prevents any further installation or uninstallation of packages
with apt, aptitude, etc. without fiddling with hook configurations or
using dpkg to purge apprecommender.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
More information about the Aptitude-devel
mailing list