From: Alexey Shabalin <a.shabalin@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] python and typelib Date: Mon, 2 Dec 2019 20:39:56 +0300 Message-ID: <CAEdvWkRy4cpQLabMc561bvELsFjXbXO=Ww+OGh1u+D-S21DE8w@mail.gmail.com> (raw) День добрый. Разбираясь с пакетом virt-install по поводу отсутствующих нужных зависимостей, Пришел к следующему выводу: Если в пакете есть зависимость вида python3(gi) python3(gi.repository) то так же обязана быть хотя бы одна зависимость на _typelib_. Рассмотрим пример: в virt-manager-common в osdict.py присутствует код: ----------------------------- from gi.repository import Libosinfo ----------------------------- Это означает, что должны появится следующие зависимости: python3(gi.repository) typelib(Libosinfo) typelib(Libosinfo) отсутствовал в зависимостях, и соответственно код не работал. Если в ручную доустановить libosinfo-gir, то все нормальною Последняя зависимость успешно появляется, если в сборочную среду добавить rpm-build-gir: Т.е. нужно BuildRequires(pre): rpm-build-python3 rpm-build-gir Ниже список пакетов(спасибо vseleznv@) в которых присутствует python3(gi.repository), но нет ни одной зависимости на typelib, что означает, что "из коробки" что-то не заработает. Прошу мантейнеров посмотреть и поправить. Возможно достаточно добавить rpm-build-gir в сборочную среду. arandr lav @everybody battray viy @everybody catfish george @qa dogtail lav @qa fleet-commander-admin slev @everybody fleet-commander-client slev @everybody lirc rider lakostis @everybody mate-menu cas @everybody mugshot cas @everybody playitslowly george @everybody python-module-ipykernel @python @everybody python3-module-mass mrdrew @everybody python3-module-mpltools mrdrew @everybody python3-module-xapp cow @everybody rednotebook lav @everybody xfce4-panel-profiles sem @xfce @everybody PS: или развесить баги? -- Alexey Shabalin
next reply other threads:[~2019-12-02 17:39 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-12-02 17:39 Alexey Shabalin [this message] 2019-12-02 18:52 ` Stanislav Levin 2019-12-02 19:27 ` Alexey Shabalin 2019-12-02 20:10 ` Stanislav Levin 2019-12-04 18:22 ` Alexey Shabalin 2019-12-03 12:59 ` Mikhail Efremov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CAEdvWkRy4cpQLabMc561bvELsFjXbXO=Ww+OGh1u+D-S21DE8w@mail.gmail.com' \ --to=a.shabalin@gmail.com \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git