Package: src:nevow
Version: 0.14.0-1
Severity: serious
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,sphinxdoc --buildsystem=pybuild
dh_testdir -i -O--buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config
running config
dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build
running build
got version from file /<<PKGBUILDDIR>>/nevow/_version.py {'version': '0.14.0',
'full': '8204df0b63285ddbcc02e0cd56b21cd3757f7d83'}
running build_py
package init file 'twisted/plugins/__init__.py' not found (or not a regular
file)
[... snipped ...]
nevow.test.test_howtolistings.RenderAndChat01.test_basicRendering
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/nevow/test/test_nit.py", line 68, in
test_errorRendering
return renderLivePage(FragmentWrapper(te)).addCallback(
File "/<<PKGBUILDDIR>>/nevow/testutil.py", line 378, in renderLivePage
D = renderPage(res, topLevelContext, reqFactory)
File "/<<PKGBUILDDIR>>/nevow/testutil.py", line 392, in renderPage
render = appserver.NevowRequest(None, True).gotPageContext
File "/<<PKGBUILDDIR>>/nevow/appserver.py", line 204, in __init__
server.Request.__init__(self, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 107, in
__init__
http.Request.__init__(self, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 612, in
__init__
self.transport = self.channel.transport
exceptions.AttributeError: 'NoneType' object has no attribute 'transport'
nevow.test.test_nit.NevowInteractiveTesterTest.test_errorRendering
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/nevow/test/test_testutil.py", line 114, in test_urls
return renderPage(_URLPage()).addCallback(_checkForUrl)
File "/<<PKGBUILDDIR>>/nevow/testutil.py", line 392, in renderPage
render = appserver.NevowRequest(None, True).gotPageContext
File "/<<PKGBUILDDIR>>/nevow/appserver.py", line 204, in __init__
server.Request.__init__(self, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 107, in
__init__
http.Request.__init__(self, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 612, in
__init__
self.transport = self.channel.transport
exceptions.AttributeError: 'NoneType' object has no attribute 'transport'
nevow.test.test_testutil.TestFakeRequest.test_urls
-------------------------------------------------------------------------------
Ran 902 tests in 1.217s
FAILED (skips=21, expectedFailures=4, failures=71, errors=113, successes=776)
E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: python2.7
/usr/bin/trial nevow formless
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:20: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.
For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:
https://tests.reproducible-builds.org/
Thanks.