ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] I: SharedLibsPolicy update (libjxl update)
Date: Tue, 27 Feb 2024 10:19:42 +0300
Message-ID: <8e1c3e95-e8ae-49c3-aaf9-50e071b345da@basealt.ru> (raw)
In-Reply-To: <20240226171404.GA17415@altlinux.org>

On 26.02.2024 20:14, Dmitry V. Levin wrote:
> On Fri, Feb 23, 2024 at 12:56:10PM +0300, Anton Farygin wrote:
> [...]
>> Дополнил SharedLibsPolicy двумя условиями, про выполнение которых часто
>> забывают ментейнеры, делая ошибки сборки shared библиотек в отдельные
>> подпакеты.
>>
>> https://www.altlinux.org/index.php?title=Shared_Libs_Policy&type=revision&diff=78668&oldid=76336
> Добавленный пример с libxmlb - это скорее пример того, как не надо делать:
>
> $ rpmquery -Rp Sisyphus/files/x86_64/RPMS/libxmlb2-0.3.14-alt1.x86_64.rpm |grep ^libxmlb
> libxmlb-common = 0.3.14-alt1:sisyphus+329788.100.1.1
> $ rpmquery -Rp Sisyphus/files/x86_64/RPMS/libxmlb-common-0.3.14-alt1.x86_64.rpm |grep ^libxmlb
> libxmlb2 = 0.3.14-alt1:sisyphus+329788.100.1.1
> $ rpmquery -lp Sisyphus/files/x86_64/RPMS/libxmlb-common-0.3.14-alt1.x86_64.rpm |grep /bin/
> /usr/bin/xb-tool
> $ rpmpeek Sisyphus/files/x86_64/RPMS/libxmlb-common-0.3.14-alt1.x86_64.rpm \
>    readelf -d ./usr/bin/xb-tool |grep libxmlb
>   0x0000000000000001 (NEEDED)             Shared library: [libxmlb.so.2]

Спасибо. Надо ещё и эту ситуацию описать в Policy.

Для тех, кто не понял - у библиотеки есть зависимость на common пакет, 
но и у common пакета есть зависимость на библиотеку и это фактически 
блокирует возможность одновременной установки пакетов с библиотеками 
разных версий.

В данном случае нужно сделать отдельный подпакет tools, на который у 
библиотеки не будет зависимости.





  reply	other threads:[~2024-02-27  7:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23  9:56 Anton Farygin
2024-02-26  7:02 ` Ruslandh
2024-02-26 12:40 ` [devel] I: Cannot mix incompatible Qt library (6.6.1) with this library (6.6.2) Ruslandh
2024-02-26 17:14 ` [devel] I: SharedLibsPolicy update (libjxl update) Dmitry V. Levin
2024-02-27  7:19   ` Anton Farygin [this message]
2024-02-27 21:17 ` Vitaly Lipatov
2024-02-28  5:53   ` Anton Farygin
2024-02-28  6:14   ` [devel] I: SharedLibsPolicy update (openssl1.1 & openssl3) Anton Farygin
2024-02-28 20:03   ` [devel] I: SharedLibsPolicy update (libjxl update) Paul Wolneykien
2024-02-28 23:21     ` Dmitry V. Levin
2024-02-29  7:56     ` Sergey V Turchin
2024-02-29 10:46       ` Paul Wolneykien
2024-02-29 10:51         ` Sergey V Turchin
2024-03-01 10:54         ` Anton Farygin
2024-03-22 14:29 ` manowar
2024-03-22 14:54   ` Mikhail Efremov
2024-03-25 11:59     ` Sergey V Turchin
2024-03-22 15:26   ` Anton Farygin
2024-03-25 11:57     ` Sergey V Turchin

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=8e1c3e95-e8ae-49c3-aaf9-50e071b345da@basealt.ru \
    --to=rider@basealt.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