Bug#1125186: gnome-builder: shortcuts broken

Juan Pablo Ugarte juanpablougarte at gmail.com
Tue Mar 24 14:37:28 GMT 2026


Hi, sorry I'm not really familiar with Debian issue mailing, I sent a new
message directly instead of replying.

Anyways I ran it with gdb to see the value of the search path and it seems
correct.


Thread 1 "gnome-builder" hit Breakpoint 1,
gi_repository_prepend_search_path (repository=0x555555c1bf20
[GIRepository],
    directory=directory at entry=0x555555876a68
"/usr/lib/x86_64-linux-gnu/gnome-builder/girepository-1.0")
    at ../../../girepository/girepository.c:391
⚠️ warning: 391 ../../../girepository/girepository.c: No such file or
directory
(gdb) c
Continuing.
10:23:40.3510                       ide-shortcut-bundle[ 19413]: CRITICAL:
Failed to eval keybindings.gsl: Typelib file for namespace 'Ide' (any
version) not found

As you can see the call is made before the warning, so the next thing to
check would be the return value of ide_get_gir_repository () and the code
that actually uses the Ide namespace

On Tue, Mar 24, 2026 at 6:56 AM Simon McVittie <smcv at debian.org> wrote:

> (Please try to keep the subject line intact when replying to a bug,
> otherwise maintainers will often get your message out-of-context and not
> know which package or which bug you are referring to)
>
> On Mon, 23 Mar 2026 at 17:36:24 -0400, Juan Pablo Ugarte wrote:
> >Hi, not sure where is the bug but as a workaround you can define
> >GI_TYPELIB_PATH=/usr/lib/x86_64-linux-gnu/gnome-builder/girepository-1.0/
> >gnome-builder
> >to make gi repository find the private library
>
> This suggests that gnome-builder should be calling
> gi_repository_prepend_search_path() to add that directory to the search
> path. It seems that it *does* call
>
>    gi_repository_prepend_search_path (ide_get_gir_repository (),
>
> PACKAGE_LIBDIR"/gnome-builder/girepository-1.0");
>
> in at least some code paths, but perhaps that isn't always reached, or
> perhaps it isn't happening early enough?
>
>      smcv
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20260324/6d788d3a/attachment.htm>


More information about the pkg-gnome-maintainers mailing list