Comment 6 for bug 1692754

Revision history for this message
Gustavo Silva (gsilvapt) wrote :

Wanted to reproduce this bug (Ubuntu Gnome 16.04) but faced some issues building from the source.

To build version 2.30 (I can't use apt for this, right?), I cloned the Git's repository, changed to branch 2.30 (git checkout 2.30) and simply tried sudo dpkg-buildpackage -us -uc -d. I previously had used apt-get source snapcraft and then tried building from there but not success. I also had built all dependencies using apt build-dep snapcraft.

The buildpackage command has a massive output but in the end it returned:
FAILED (errors=1)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: python3.5 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 3.5 --dir . returned exit code 13
debian/rules:5: recipe for target 'build' failed
make: *** [build] Error 22
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This seems to be related with the rules file but I can't find any extra whitespace in there. What am I doing wrong?
Thanks!