On Thu 2016-05-26 08:06:54 -0400, Chris Lamb wrote:
> assword fails to build from source in unstable/amd64:
>   copying assword/__main__.py -> 
> /home/lamby/temp/cdt.20160526122943.T8opNXbT2t.assword/assword-0.9/.pybuild/pythonX.Y_3.5/build/assword
>      dh_auto_test -O--buildsystem=pybuild
>   I: pybuild base:184: cd 
> /home/lamby/temp/cdt.20160526122943.T8opNXbT2t.assword/assword-0.9/.pybuild/pythonX.Y_3.5/build;
>  python3.5 -m unittest discover -v 
>   assword (unittest.loader._FailedTest) ... ERROR
>   
>   ======================================================================
>   ERROR: assword (unittest.loader._FailedTest)
>   ----------------------------------------------------------------------
>   ImportError: Failed to import test module: assword
>   Traceback (most recent call last):
>     File "/usr/lib/python3.5/unittest/loader.py", line 462, in _find_test_path
>       package = self._get_module_from_name(name)
>     File "/usr/lib/python3.5/unittest/loader.py", line 369, in 
> _get_module_from_name
>       __import__(name)
>     File 
> "/home/lamby/temp/cdt.20160526122943.T8opNXbT2t.assword/assword-0.9/.pybuild/pythonX.Y_3.5/build/assword/__init__.py",
>  line 9, in <module>
>       gi.require_version('Gtk', '3.0')
>     File "/usr/lib/python3/dist-packages/gi/__init__.py", line 102, in 
> require_version
>       raise ValueError('Namespace %s not available' % namespace)
>   ValueError: Namespace Gtk not available
>   


I think this can be resolved by adding gir1.2-gtk-3.0 to the build-deps,
but i haven't tested it.

It might also be needed in runtime Depends or Recommends as well.
Ideally, this would only be a required dependency when running "assword
gui" though, so perhaps some upstream dependencies need adjustment?

     --dkg

Attachment: signature.asc
Description: PGP signature

Reply via email to