Debian Bug report logs - #811324
menulibre: FTBFS: ImportError: cannot import name Gtk, introspection typelib not found

version graph

Package: src:menulibre; Maintainer for src:menulibre is Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Sun, 17 Jan 2016 23:12:06 UTC

Severity: serious

Tags: patch

Found in version menulibre/2.0.7-1

Fixed in version menulibre/2.0.7-1.1

Done: Samuel Henrique Oltramari Pinto (SamuelOPH) <samueloph@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>:
Bug#811324; Package src:menulibre. (Sun, 17 Jan 2016 23:12:09 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>. (Sun, 17 Jan 2016 23:12:09 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: menulibre: FTBFS: ImportError: cannot import name Gtk, introspection typelib not found
Date: Mon, 18 Jan 2016 00:10:19 +0100
[Message part 1 (text/plain, inline)]
Source: menulibre
Version: 2.0.7-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@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@debian.org / chris-lamb.co.uk
       `-
[menulibre.2.0.7-1.unstable.amd64.log.txt.gz (application/octet-stream, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>:
Bug#811324; Package src:menulibre. (Sun, 24 Apr 2016 19:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to SamuelOPH <samueloph@gmail.com>:
Extra info received and forwarded to list. Copy sent to Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>. (Sun, 24 Apr 2016 19:03:06 GMT) (full text, mbox, link).


Message #10 received at 811324@bugs.debian.org (full text, mbox, reply):

From: SamuelOPH <samueloph@gmail.com>
To: 811324@bugs.debian.org
Subject: menulibre: FTBFS: ImportError: cannot import name Gtk, introspection typelib not found
Date: Sun, 24 Apr 2016 15:58:13 -0300
[Message part 1 (text/plain, inline)]
Control: tags 811324 patch
Control: tags 811324 pending

Hi,

I uploaded a NMU to 5-day/delay queue. Feel free to cancel this
upload if needed.

The debian/changelog is:

menulibre (2.0.7-1.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Build-depend on python3-psutil, gir1.2-gtk-3.0 (closes: #811324).
  * debian/clean: Create and add missing entry for po file.

I attached a debdiff.

Thanks.

Samuel Henrique O. P. [samueloph]
[Message part 2 (text/html, inline)]
[menulibre.debdiff (application/octet-stream, attachment)]

Added tag(s) patch. Request was from SamuelOPH <samueloph@gmail.com> to 811324-submit@bugs.debian.org. (Sun, 24 Apr 2016 19:03:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from SamuelOPH <samueloph@gmail.com> to 811324-submit@bugs.debian.org. (Sun, 24 Apr 2016 19:03:07 GMT) (full text, mbox, link).


Reply sent to Samuel Henrique Oltramari Pinto (SamuelOPH) <samueloph@gmail.com>:
You have taken responsibility. (Fri, 29 Apr 2016 19:39:05 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Fri, 29 Apr 2016 19:39:05 GMT) (full text, mbox, link).


Message #19 received at 811324-close@bugs.debian.org (full text, mbox, reply):

From: Samuel Henrique Oltramari Pinto (SamuelOPH) <samueloph@gmail.com>
To: 811324-close@bugs.debian.org
Subject: Bug#811324: fixed in menulibre 2.0.7-1.1
Date: Fri, 29 Apr 2016 19:34:13 +0000
Source: menulibre
Source-Version: 2.0.7-1.1

We believe that the bug you reported is fixed in the latest version of
menulibre, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 811324@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Henrique Oltramari Pinto (SamuelOPH) <samueloph@gmail.com> (supplier of updated menulibre package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 24 Apr 2016 12:39:46 -0300
Source: menulibre
Binary: menulibre
Architecture: source
Version: 2.0.7-1.1
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
Changed-By: Samuel Henrique Oltramari Pinto (SamuelOPH) <samueloph@gmail.com>
Description:
 menulibre  - advanced FreeDesktop.org compliant menu editor
Closes: 811324
Changes:
 menulibre (2.0.7-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Build-depend on python3-psutil, gir1.2-gtk-3.0 (closes: #811324).
   * debian/clean: Create and add missing entry for po file.
Checksums-Sha1:
 a67b04e07a766bfe038464d320dd0d308c11987a 2112 menulibre_2.0.7-1.1.dsc
 bbbbc3260740de4a5d91c7bf0a932579d85c3881 2800 menulibre_2.0.7-1.1.debian.tar.xz
Checksums-Sha256:
 5a0527721ee223980228f69bebffeb91a5486eda0fb9bbda1acdd5c7523bd634 2112 menulibre_2.0.7-1.1.dsc
 9b226d0f4ac23f38d68b739939f26ffb6fe352e54e64b56754ad3692e8547203 2800 menulibre_2.0.7-1.1.debian.tar.xz
Files:
 2dc4ed049f284b66310bb748e354188f 2112 utils optional menulibre_2.0.7-1.1.dsc
 b4ac8899b667afc5c943b88d1718661c 2800 utils optional menulibre_2.0.7-1.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXHRWNAAoJEN5juccE6+nvUtkP/Ap6CYxGhtBYshAjuR4AeFHL
D7LMFeJRjBiej7MwWkOAIb4ubLWaYF4JyCgnBYQUXwoUJewIHqUp9xDFdF6B7C4k
fpMWt/tLxSP9iSx5y+T2Zr+aHdTdav/d1/2zP1xoAEGS71hnWsz9iHKqJd/XqhEJ
dnUHvKse5uUgn/UbOK6c7uUQlZc9e67t+GtfiHVYDizKKeRh1dwEpMhtWvFlopMU
boQgh04+MMka1ecwpr7eP+otR8m+sQj2FlHLgd8xvL7lrGXjPpTMAQ3t5ullGIZv
hoHeFmfJUee0pBqXqn2a7Iz/tYm3XaExk/aEvCCDykhPcBm0TBGBKrzHITGB0ycj
J353jbmUyTHOvFH5yBGTQ2G/LQ2HJJl0dwne9lZs8q+H2s7XDbHUJLOv7LhBaioJ
7OidMcVE2+UTF2pnXCp4Pe8HZvCipeWroSdVsLk98JQ21EDuirhxCIZyQ5KHtsZ8
d1af5mLWTvqmMRz3IjHPU2Ce/jV30v0LZALrGg8KkHPJp8TVUQe1EUumnS+mE7Ih
ga/5X26eKWSrHwAGupaPjCePihWywz90qUWs/oAj7tXzAvGxPeAnpoZ+RYW+J23C
VE+jaQzpQgfZgwkQozBKlK6hFBbqhjNIUPVsjxGvvXJrLSBIeaMNNgVdGhIYBxQB
solTqsnB3tZ5YiAQMXR7
=ckMc
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 28 May 2016 07:28:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 6 09:31:46 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.