On Mon, Dec 23, 2019 at 11:59:03PM +0200, Adrian Bunk wrote: > On Fri, Aug 09, 2019 at 10:39:06AM +0200, Andreas Tille wrote: > > self._gen_get_methods(klass, out) > > File "/build/mayavi2-4.7.1/tvtk/wrapper_gen.py", line 919, in > > _gen_get_methods > > if len(sig) == 1 and sig[0][1] is None: > > TypeError: object of type 'NoneType' has no len() > > E: pybuild pybuild:341: build: plugin distutils failed with: exit code=1: > > /usr/bin/python3 setup.py build > > dh_auto_build: pybuild --build -i python{version} -p 3.7 returned exit code > > 13 > > make: *** [debian/rules:10: build] Error 255 > > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > > I: copying local configuration > > E: Failed autobuilding of package > >... > > This one seems fixed by removing the vtk_63.py patch. > Next comes some error that goes away with python3-traits (just passed NEW). > That's not sufficient for building, but a bit further.
Thanks a lot for your investigation. I also made some steps further. It seems xvfb is needed for the tests and I added it. The current failure is: ... debian/rules override_dh_auto_test make[1]: Entering directory '/build/mayavi2-4.7.1' xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" dh_auto_test I: pybuild base:217: cd /build/mayavi2-4.7.1/.pybuild/cpython3_3.7/build; python3.7 -m unittest discover -v QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1454', please create it with 0700 permissions. QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1454', please create it with 0700 permissions. dbus[368675]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directo; Failed to open "/etc/machine-id": No such file or directory) D-Bus not built with -rdynamic so unable to print a backtrace Aborted E: pybuild pybuild:341: test: plugin distutils failed with: exit code=134: cd /build/mayavi2-4.7.1/.pybuild/cpython3_3.7/build; python3.7 -m unittest discover -v dh_auto_test: pybuild --test -i python{version} -p 3.7 returned exit code 13 ... Seems some dbus / systemd issue. Any ideas? Kind regards Andreas. -- http://fam-tille.de