[Pkg-privacy-maintainers] Bug#808689: txtorcon: FTBFS: exceptions.ImportError: cannot import name IStreamClientEndpointStringParser

Chris West (Faux) solo-debianbugs at goeswhere.com
Mon Dec 21 20:22:05 UTC 2015


Source: txtorcon
Version: 0.14.0-1
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

make[1]: Entering directory '/txtorcon-0.14.0'
make test
make[2]: Entering directory '/txtorcon-0.14.0'
trial --reporter=text test
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/trial.py", line 473, in postOptions
    _BasicOptions.postOptions(self)
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/trial.py", line 383, in postOptions
    self['reporter'] = self._loadReporterByName(self['reporter'])
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/trial.py", line 370, in _loadReporterByName
    for p in plugin.getPlugins(itrial.IReporter):
  File "/usr/lib/python2.7/dist-packages/twisted/plugin.py", line 213, in getPlugins
    allDropins = getCache(package)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/plugin.py", line 171, in getCache
    provider = pluginModule.load()
  File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 389, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/txtorcon-0.14.0/twisted/plugins/txtorcon_endpoint_parser.py", line 1, in <module>
    import txtorcon
  File "/txtorcon-0.14.0/txtorcon/__init__.py", line 35, in <module>
    from txtorcon.endpoints import TorOnionAddress
  File "/txtorcon-0.14.0/txtorcon/endpoints.py", line 18, in <module>
    from twisted.internet.interfaces import IStreamClientEndpointStringParser
exceptions.ImportError: cannot import name IStreamClientEndpointStringParser

EEEEEEEEEEEEEE
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/trial/runner.py", line 511, in loadPackage
    module = modinfo.load()
  File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 389, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/txtorcon-0.14.0/test/test_addrmap.py", line 7, in <module>
    from txtorcon.addrmap import AddrMap
  File "/txtorcon-0.14.0/txtorcon/__init__.py", line 35, in <module>
    from txtorcon.endpoints import TorOnionAddress
  File "/txtorcon-0.14.0/txtorcon/endpoints.py", line 18, in <module>
    from twisted.internet.interfaces import IStreamClientEndpointStringParser
exceptions.ImportError: cannot import name IStreamClientEndpointStringParser

test.test_addrmap
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/trial/runner.py", line 511, in loadPackage
    module = modinfo.load()
  File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 389, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/txtorcon-0.14.0/test/test_circuit.py", line 7, in <module>
    from txtorcon import Circuit
  File "/txtorcon-0.14.0/txtorcon/__init__.py", line 35, in <module>
    from txtorcon.endpoints import TorOnionAddress
  File "/txtorcon-0.14.0/txtorcon/endpoints.py", line 18, in <module>
    from twisted.internet.interfaces import IStreamClientEndpointStringParser
exceptions.ImportError: cannot import name IStreamClientEndpointStringParser

test.test_circuit
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/trial/runner.py", line 511, in loadPackage
    module = modinfo.load()
  File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 389, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/txtorcon-0.14.0/test/test_endpoints.py", line 25, in <module>
    from txtorcon import TorControlProtocol
  File "/txtorcon-0.14.0/txtorcon/__init__.py", line 35, in <module>
    from txtorcon.endpoints import TorOnionAddress
  File "/txtorcon-0.14.0/txtorcon/endpoints.py", line 18, in <module>
    from twisted.internet.interfaces import IStreamClientEndpointStringParser
exceptions.ImportError: cannot import name IStreamClientEndpointStringParser

test.test_endpoints
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/trial/runner.py", line 511, in loadPackage
    module = modinfo.load()
  File "/usr/lib/python2.7/dist-packages/twisted/python/modules.py", line 389, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 303, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.7/dist-packages/twisted/python/reflect.py", line 250, in _importAndCheckStack
    reraise(excValue, excTraceback)
  File "/txtorcon-0.14.0/test/test_fsm.py", line 2, in <module>
    import txtorcon.spaghetti
  File "/txtorcon-0.14.0/txtorcon/__init__.py", line 35, in <module>
    from txtorcon.endpoints import TorOnionAddress
  File "/txtorcon-0.14.0/txtorcon/endpoints.py", line 18, in <module>
    from twisted.internet.interfaces import IStreamClientEndpointStringParser
exceptions.ImportError: cannot import name IStreamClientEndpointStringParser


...


FAILED (errors=14)
Makefile:6: recipe for target 'test' failed
make[2]: *** [test] Error 1
make[2]: Leaving directory '/txtorcon-0.14.0'
debian/rules:25: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/txtorcon-0.14.0'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/txtorcon.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Pkg-privacy-maintainers mailing list