[Debian-zh-dev] Bug#975041: FTBFS: galternatives fails during "clean"

Sven Mueller sven.mueller72 at gmail.com
Wed Nov 18 09:50:52 GMT 2020


Package: galternatives
Version: 1.0.7
Tags: patch

When attempting to build galternatives with sbuild, I run into:

dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py clean
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from galternatives import PACKAGE, INFO
  File "/<<PKGBUILDDIR>>/galternatives/__init__.py", line 32, in <module>
    gi.require_version('Gdk', '3.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in
require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available
E: pybuild pybuild:352: clean: plugin distutils failed with: exit code=1:
python3.8 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.8 returned
exit code 13

The attached patch fixes this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20201118/480c44c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: depend_on_gdk.patch
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/chinese-developers/attachments/20201118/480c44c7/attachment.bin>


More information about the Chinese-developers mailing list