[Reproducible-builds] Bug#811324: menulibre: FTBFS: ImportError: cannot import name Gtk, introspection typelib not found

Chris Lamb lamby at debian.org
Sun Jan 17 23:10:19 UTC 2016


Source: menulibre
Version: 2.0.7-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

menulibre fails to build from source in unstable/amd64:

  [..]

  I: pybuild base:184: cd /home/lamby/temp/cdt.20160118000827.mdAp8LauEh/menulibre-2.0.7/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  menulibre (unittest.loader._FailedTest) ... ERROR
  menulibre_lib (unittest.loader._FailedTest) ... ERROR
  
  ======================================================================
  ERROR: menulibre (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: menulibre
  Traceback (most recent call last):
    File "<frozen importlib._bootstrap>", line 890, in _find_spec
  AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
  
  During handling of the above exception, another exception occurred:
  
  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.20160118000827.mdAp8LauEh/menulibre-2.0.7/.pybuild/pythonX.Y_3.5/build/menulibre/__init__.py", line 23, in <module>
      from menulibre import MenulibreApplication
    File "/home/lamby/temp/cdt.20160118000827.mdAp8LauEh/menulibre-2.0.7/.pybuild/pythonX.Y_3.5/build/menulibre/MenulibreApplication.py", line 24, in <module>
      from gi.repository import Gio, GObject, Gtk, Pango, Gdk, GdkPixbuf, GLib
    File "/usr/lib/python3/dist-packages/gi/importer.py", line 100, in find_module
      'introspection typelib not found' % namespace)
  ImportError: cannot import name Gtk, introspection typelib not found
  
  
  ======================================================================
  ERROR: menulibre_lib (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: menulibre_lib
  Traceback (most recent call last):
    File "<frozen importlib._bootstrap>", line 890, in _find_spec
  AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
  
  During handling of the above exception, another exception occurred:
  
  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.20160118000827.mdAp8LauEh/menulibre-2.0.7/.pybuild/pythonX.Y_3.5/build/menulibre_lib/__init__.py", line 22, in <module>
      from . helpers import get_builder, set_up_logging, show_uri
    File "/home/lamby/temp/cdt.20160118000827.mdAp8LauEh/menulibre-2.0.7/.pybuild/pythonX.Y_3.5/build/menulibre_lib/helpers.py", line 21, in <module>
      from gi.repository import Gtk
    File "/usr/lib/python3/dist-packages/gi/importer.py", line 100, in find_module
      'introspection typelib not found' % namespace)
  ImportError: cannot import name Gtk, introspection typelib not found
  
  
  ----------------------------------------------------------------------
  Ran 2 tests in 0.000s
  
  FAILED (errors=2)
  E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /home/lamby/temp/cdt.20160118000827.mdAp8LauEh/menulibre-2.0.7/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 3.5 --dir . returned exit code 13
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 25

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: menulibre.2.0.7-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2361 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160118/aa7968c7/attachment.obj>


More information about the Reproducible-builds mailing list