Bug 41911 - typelib.req генерирует неверсионированные зависимости
Summary: typelib.req генерирует неверсионированные зависимости
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build-gir (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 42255
  Show dependency tree
 
Reported: 2022-02-09 21:43 MSK by Vladimir D. Seleznev
Modified: 2022-05-31 22:47 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir D. Seleznev 2022-02-09 21:43:37 MSK
Устанавливаем gajim, запускаем, видим backtrace:

$ gajim
No translations found
Dirs searched: [PosixPath('/home/wladmis_im/.local/share'), PosixPath('/usr/local/share'), PosixPath('/usr/share')]
Traceback (most recent call last):
  File "/usr/bin/gajim", line 33, in <module>
    sys.exit(load_entry_point('gajim==1.3.3', 'gui_scripts', 'gajim')())
  File "/usr/lib/python3/site-packages/gajim/gajim.py", line 156, in main
    _check_required_deps()
  File "/usr/lib/python3/site-packages/gajim/gajim.py", line 48, in _check_required_deps
    import nbxmpp
  File "/usr/lib/python3/site-packages/nbxmpp/__init__.py", line 5, in <module>
    gi.require_version('Soup', '2.4')
  File "/usr/lib64/python3/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available for version %s' %
ValueError: Namespace Soup not available for version 2.4

Смотрим:

$ rpm -qR gajim |grep Soup
typelib(Soup)
$ rpm -q --whatprovides 'typelib(Soup)'
libsoup3.0-gir-3.0.4-alt1.x86_64

Доустановка libsoup-gir решила проблему.

$ rpm -q --whatprovides 'typelib(Soup)'
libsoup3.0-gir-3.0.4-alt1.x86_64
libsoup-gir-2.74.2-alt1.x86_64

Возможно, стоит генерировать версионированные требования зависимостей.