Bug#790767: FTBFS: ImportError: cannot import name component_re

Martin Michlmayr tbm at hp.com
Wed Jul 1 15:59:06 UTC 2015


Package: zodb
Version: 1:3.9.7-5
Severity: serious

zodb fails to build in unstable:

> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c5n1.hlinux.usa.hp.com
...
> Installing zeopasswd script to /«PKGBUILDDIR»/debian/python-zodb/usr/bin
> Installing zeoctl script to /«PKGBUILDDIR»/debian/python-zodb/usr/bin
> Installing fsdump script to /«PKGBUILDDIR»/debian/python-zodb/usr/bin
> Installing fsrefs script to /«PKGBUILDDIR»/debian/python-zodb/usr/bin
> Installing repozo script to /«PKGBUILDDIR»/debian/python-zodb/usr/bin
> Installing fsoids script to /«PKGBUILDDIR»/debian/python-zodb/usr/bin
>    dh_pydeb
> pydeb: Working on source package zodb
> pydeb: Working on python distribution ZODB3
> Traceback (most recent call last):
>   File "/usr/bin/van-pydeb", line 9, in <module>
>     load_entry_point('van.pydeb==1.3.3', 'console_scripts', 'van-pydeb')()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 552, 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 2672, in load_entry_point
>     return ep.load()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2345, in load
>     return self.resolve()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2351, in resolve
>     module = __import__(self.module_name, fromlist=['__name__'], level=0)
>   File "/usr/lib/python2.7/dist-packages/van/pydeb/__init__.py", line 20, in <module>
>     from pkg_resources import component_re # Is this a public interface?
> ImportError: cannot import name component_re
> pydeb: Working on binary package
> ERROR: Expected binary package in debian/control but did not find it.
> debian/rules:6: recipe for target 'binary' failed
> make: *** [binary] Error 1

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard



More information about the pkg-zope-developers mailing list