[PKG-Openstack-devel] Bug#908708: networking-l2gw: FTBFS (ImportError: cannot import name 'topics')

Santiago Vila sanvila at debian.org
Wed Sep 12 22:21:55 BST 2018


Package: src:networking-l2gw
Version: 1:12.0.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh build-indep --buildsystem=python_distutils --with python3
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_autoreconf -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils
dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_configure: This feature will be removed in compat 12.
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions

[... snipped ...]

    from neutron.common import topics as neutron_topics
ImportError: cannot import name 'topics'

Failed to import test module: networking_l2gw.tests.unit.services.l2gateway.service_drivers.test_rpc_l2gw
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/networking_l2gw/tests/unit/services/l2gateway/service_drivers/test_rpc_l2gw.py", line 26, in <module>
    from networking_l2gw.services.l2gateway.ovsdb import data
  File "/<<PKGBUILDDIR>>/networking_l2gw/services/l2gateway/ovsdb/data.py", line 21, in <module>
    from networking_l2gw.services.l2gateway.common import tunnel_calls
  File "/<<PKGBUILDDIR>>/networking_l2gw/services/l2gateway/common/tunnel_calls.py", line 16, in <module>
    from neutron.common import topics as neutron_topics
ImportError: cannot import name 'topics'

Failed to import test module: networking_l2gw.tests.unit.services.l2gateway.test_agent_scheduler
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/networking_l2gw/tests/unit/services/l2gateway/test_agent_scheduler.py", line 26, in <module>
    from neutron.common import topics
ImportError: cannot import name 'topics'

----------------------------------------------------------------------
Ran 0 tests in 2.641s

OK
+ subunit-stats
+ subunit-filter -s --no-passthrough
+ cat /tmp/tmp.p2QwnkCvrS
Total tests:       0
Passed tests:      0
Failed tests:      0
Skipped tests:     0
Seen tags: 
+ rm -f /tmp/tmp.p2QwnkCvrS
+ testr-python3 slowest
make[1]: *** [debian/rules:26: override_dh_install] Error 3
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/networking-l2gw.html

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Unfortunately, I can't compare build logs with the official ones at
buildd.debian.org because they do not exist:

https://buildd.debian.org/status/package.php?p=networking%2dl2gw

Please reconsider uploading in source-only form.

Thanks.



More information about the Openstack-devel mailing list