Bug#1022286: gnome-shell-extension-manager: FTBFS: ModuleNotFoundError: No module named 'gi'

Lucas Nussbaum lucas at debian.org
Sun Oct 23 13:38:05 BST 2022


Source: gnome-shell-extension-manager
Version: 0.2.3-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu
> The Meson build system
> Version: 0.63.3
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: extension-manager
> Project version: 0.2.3
> C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-7) 12.2.0")
> C linker for the host machine: cc ld.bfd 2.39
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Configuring exm-config.h using configuration
> Program msgfmt found: YES (/usr/bin/msgfmt)
> Program desktop-file-validate found: NO
> Program appstream-util found: YES (/usr/bin/appstream-util)
> Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Run-time dependency gtk4 found: YES 4.8.1
> Run-time dependency libadwaita-1 found: YES 1.2.0
> Run-time dependency json-glib-1.0 found: YES 1.6.6
> Run-time dependency libsoup-3.0 found: YES 3.2.1
> Program blueprint-compiler found: YES (/usr/bin/blueprint-compiler)
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
> Program msginit found: YES (/usr/bin/msginit)
> Program msgmerge found: YES (/usr/bin/msgmerge)
> Program xgettext found: YES (/usr/bin/xgettext)
> Build targets in project: 23
> NOTICE: Future-deprecated features used:
>  * 0.56.0: {'meson.build_root'}
> 
> extension-manager 0.2.3
> 
>   User defined options
>     buildtype    : plain
>     libdir       : lib/x86_64-linux-gnu
>     localstatedir: /var
>     prefix       : /usr
>     sysconfdir   : /etc
>     wrap_mode    : nodownload
> 
> Found ninja-1.11.1 at /usr/bin/ninja
>    dh_auto_build
> 	cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v
> [1/40] /usr/bin/msgfmt ../po/cs.po -o po/cs/LC_MESSAGES/extension-manager.mo
> [2/40] /usr/bin/msgfmt ../po/ca.po -o po/ca/LC_MESSAGES/extension-manager.mo
> [3/40] /usr/bin/msgfmt ../po/de.po -o po/de/LC_MESSAGES/extension-manager.mo
> [4/40] /usr/bin/msgfmt ../po/es.po -o po/es/LC_MESSAGES/extension-manager.mo
> [5/40] /usr/bin/msgfmt ../po/fr.po -o po/fr/LC_MESSAGES/extension-manager.mo
> [6/40] /usr/bin/msgfmt ../po/hu.po -o po/hu/LC_MESSAGES/extension-manager.mo
> [7/40] /usr/bin/msgfmt ../po/ja.po -o po/ja/LC_MESSAGES/extension-manager.mo
> [8/40] /usr/bin/msgfmt ../po/it.po -o po/it/LC_MESSAGES/extension-manager.mo
> [9/40] /usr/bin/msgfmt ../po/nb.po -o po/nb/LC_MESSAGES/extension-manager.mo
> [10/40] /usr/bin/msgfmt ../po/nl.po -o po/nl/LC_MESSAGES/extension-manager.mo
> [11/40] /usr/bin/msgfmt ../po/pl.po -o po/pl/LC_MESSAGES/extension-manager.mo
> [12/40] /usr/bin/msgfmt ../po/tr.po -o po/tr/LC_MESSAGES/extension-manager.mo
> [13/40] /usr/bin/msgfmt ../po/pt_BR.po -o po/pt_BR/LC_MESSAGES/extension-manager.mo
> [14/40] /usr/bin/msgfmt ../po/ru_RU.po -o po/ru_RU/LC_MESSAGES/extension-manager.mo
> [15/40] /usr/bin/blueprint-compiler batch-compile src/. ../src ../src/gtk/help-overlay.blp ../src/exm-window.blp ../src/exm-installed-page.blp ../src/exm-browse-page.blp ../src/exm-extension-row.blp ../src/exm-search-row.blp ../src/exm-detail-view.blp ../src/exm-screenshot.blp
> FAILED: src 
> /usr/bin/blueprint-compiler batch-compile src/. ../src ../src/gtk/help-overlay.blp ../src/exm-window.blp ../src/exm-installed-page.blp ../src/exm-browse-page.blp ../src/exm-extension-row.blp ../src/exm-search-row.blp ../src/exm-detail-view.blp ../src/exm-screenshot.blp
> Traceback (most recent call last):
>   File "/usr/bin/blueprint-compiler", line 37, in <module>
>     from blueprintcompiler import main
>   File "/usr/lib/python3/dist-packages/blueprintcompiler/main.py", line 25, in <module>
>     from .lsp import LanguageServer
>   File "/usr/lib/python3/dist-packages/blueprintcompiler/lsp.py", line 24, in <module>
>     from .completions import complete
>   File "/usr/lib/python3/dist-packages/blueprintcompiler/completions.py", line 22, in <module>
>     from . import gir, language
>   File "/usr/lib/python3/dist-packages/blueprintcompiler/gir.py", line 24, in <module>
>     import gi # type: ignore
> ModuleNotFoundError: No module named 'gi'
> [16/40] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt ../data/com.mattjakeman.ExtensionManager.appdata.xml.in data/com.mattjakeman.ExtensionManager.appdata.xml xml ../data/../po
> [17/40] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt ../data/com.mattjakeman.ExtensionManager.desktop.in data/com.mattjakeman.ExtensionManager.desktop desktop ../data/../po
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:7: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/gnome-shell-extension-manager_0.2.3-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-gnome-maintainers mailing list