ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Repocop, debuginfo и compat-пакеты
Date: Tue, 8 Mar 2011 23:57:01 +0300
Message-ID: <20110308235701.049ee97d@deimos.localdomain> (raw)
In-Reply-To: <20110308185922.GB3858@altlinux.org>

On Tue, 8 Mar 2011 21:59:22 +0300
"Dmitry V. Levin" <ldv@altlinux.org> wrote:

> On Tue, Mar 08, 2011 at 09:32:21PM +0300, Ivan A. Melnikov wrote:
> > Repocop интересно ругается на boost, например так:
> > 
> > value of
> > symlink /usr/lib/debug/usr/lib64/libboost_graph_parallel.so.debug is
> > different from the same symlink in the package
> > libboost_graph_parallel1.45.0-debuginfo-1.45.0-alt7.x86_64.
> > Moreover, the packages have no explicit conflicts with each other.
> > You should add explicit conflicts, or, if conflicts are avoidable,
> > consider using alternatives.
> > 
> > Ругань, вообще говоря, правильная. Что-нибудь можно предпринять по
> > этому поводу? А надо ли?
> 
> А пакеты, которые вытягивают эти debuginfo по зависимостям, можно
> установить одновременно?  Если нет, то можно ничего не предпринимать,
> наверное.
> 

Конфликтуют debuginfo библиотек и соответствующих compat-библиотек,
поскольку и библиотека (например, libboost_graph_parallel.so.1.46.0) и
compat-библиотек (например, libboost_graph_parallel.so.1.45.0) --
видимо, потому что на них есть (была) одна и та же ссылка для линковки
(в нашем примере %_lib/libboost_graph_parallel.so).

debuginfo библиотек из boost 1.45.0 ничего зависеть не может, так как
этот debuginfo появился при сборке compat-пакета одновременно с более
новым бустом -- то есть, после этого собрать что-то с 1.45.0 стало
невозможно.

Однако формально ничего не мешает наличию библиотек из 1.45.0 и 1.46.0
одовременно, а значит в системе могут одновременно присутствовать и их
клиенты, со всеми вытекающими.

Боюсь, проблема вернётся и будет уже актуальной, например, когда будет
boost 1.46.1 (а это довльно скоро), или обновится любая другая
библиотека, собираемая так (в духе shared library policy с разными и
одновременно живущими в системе пакетами для разных версий,
но с одним devel-пакетом для последней версии).

-- 
WBR,
Ivan A. Melnikov


      reply	other threads:[~2011-03-08 20:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 18:32 Ivan A. Melnikov
2011-03-08 18:59 ` Dmitry V. Levin
2011-03-08 20:57   ` Ivan A. Melnikov [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=20110308235701.049ee97d@deimos.localdomain \
    --to=iv@altlinux.org \
    --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