From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Q: Каковы правильные зависимости на приватные библиотеки? Date: Fri, 4 Sep 2015 16:57:51 +0300 Message-ID: <55E9A35F.3000501@solin.spb.ru> (raw) In-Reply-To: <55E98405.5070906@solin.spb.ru> [-- Attachment #1: Type: text/plain, Size: 1278 bytes --] 04.09.2015 14:44, Aleksey Avdeev пишет: > Приветствую. > > Каковы у нас должны быть правильные зависимости на приватные библиотеки? > > На данный момент, при опакечивании приложения слинкованного с > библиотеками содержащимися в пакете virtualbox -- я получаю пакет > автозависимости которого не могут быть удовлетворены оным пакетом > virtuflbox, содержащим требуемые библиотеки по факту. Т. е.: > > $ hsh-install /tmp/.private/solo/hasher-vd vbox-app > ... > Следующие пакеты имеют неудовлетворенные зависимости: > vbox-app: Требует: /usr/lib64/virtualbox/VBoxRT.so но пакет не может > быть установлен > Требует: /usr/lib64/virtualbox/VBoxXPCOM.so но пакет не > может быть установлен > E: Извините, `битые' пакеты ... > > Для исправления ситуации вижу следующие варианты: > ... > > 4. В собираемом пакете заменять (через filter_from_requires, см. > <https://www.altlinux.org/SpecTips/ReqProvFilter>) файловые зависимости > на эрзац библиотечных, без версионной части (set:...). Работает такая конструкция в спеке: %ifarch x86_64 %filter_from_requires \@^[[:space:]]*%_libdir/virtualbox/[^[:space:]]*\.so[[:space:]]*$@s@^\(.*[^[:space:]]\)\([[:space:]]*\)$@\1()(64bit)\2@ %endif -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 278 bytes --]
prev parent reply other threads:[~2015-09-04 13:57 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-04 11:44 Aleksey Avdeev 2015-09-04 12:29 ` Aleksey Avdeev 2015-09-04 13:57 ` Aleksey Avdeev [this message]
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=55E9A35F.3000501@solin.spb.ru \ --to=solo@solin.spb.ru \ --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