ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Q: duplicate osgi() self-provides
Date: Thu, 12 Nov 2020 16:00:06 +0300
Message-ID: <20201112130006.GB23210@altlinux.org> (raw)
In-Reply-To: <20201112120140.GA2021@hydra.imath.kiev.ua>

On Thu, Nov 12, 2020 at 02:01:40PM +0200, Igor Vlasenko wrote:
> On Wed, Nov 11, 2020 at 07:34:26PM +0300, Dmitry V. Levin wrote:
> > Hi,
> > 
> > У нас в репозитории обнаружилось 76 пакетов, которые содержат сразу две
> > разных версии одного и того же osgi(...) в Provides.
> > Предполагаю, что во всех случаях это ошибки, поскольку сравнения версий в
> > rpm работают не так, как ожидают люди, когда у пакета больше одной версии.
> 
> Все это нужно для работы механизма зависимостей osgi.
> Там всегда явное указание версий в requires и диапазоны в provides.
> Та же ситуация, что с mono и qml.

Получается, что произошло массовая подмена понятия версионирования
интерфейсов.  У интерфейса не может быть одновременно несколько разных
версий, это несколько разных интерфейсов.  На примере libc,

$ rpmquery --provides glibc-core |grep '^libc[^=]*$'
libc.so.6(ALT_2.24)(64bit)  
libc.so.6(GLIBC_2.10)(64bit)  
libc.so.6(GLIBC_2.11)(64bit)  
libc.so.6(GLIBC_2.12)(64bit)  
libc.so.6(GLIBC_2.13)(64bit)  
libc.so.6(GLIBC_2.14)(64bit)  
libc.so.6(GLIBC_2.15)(64bit)  
libc.so.6(GLIBC_2.16)(64bit)  
libc.so.6(GLIBC_2.17)(64bit)  
libc.so.6(GLIBC_2.18)(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.2.6)(64bit)  
libc.so.6(GLIBC_2.22)(64bit)  
libc.so.6(GLIBC_2.23)(64bit)  
libc.so.6(GLIBC_2.24)(64bit)  
libc.so.6(GLIBC_2.25)(64bit)  
libc.so.6(GLIBC_2.26)(64bit)  
libc.so.6(GLIBC_2.27)(64bit)  
libc.so.6(GLIBC_2.28)(64bit)  
libc.so.6(GLIBC_2.29)(64bit)  
libc.so.6(GLIBC_2.3)(64bit)  
libc.so.6(GLIBC_2.3.2)(64bit)  
libc.so.6(GLIBC_2.3.3)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)  
libc.so.6(GLIBC_2.30)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
libc.so.6(GLIBC_2.5)(64bit)  
libc.so.6(GLIBC_2.6)(64bit)  
libc.so.6(GLIBC_2.7)(64bit)  
libc.so.6(GLIBC_2.8)(64bit)  
libc.so.6(GLIBC_2.9)(64bit)  

Это не 31 версия у интерфейса libc.so.6, это 31 интерфейс у libc.so.6.

Теперь надо думать, как это неправильное понимание версионирования
аккуратно исправить.


-- 
ldv


  reply	other threads:[~2020-11-12 13:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 16:34 Dmitry V. Levin
2020-11-12 12:01 ` Igor Vlasenko
2020-11-12 13:00   ` Dmitry V. Levin [this message]
2020-11-12 14:26     ` Sergey V Turchin
2020-11-12 14:52       ` [devel] Q: duplicate qml() self-provides Dmitry V. Levin
2020-11-12 14:59         ` Dmitry V. Levin
2020-11-12 15:21           ` Dmitry V. Levin
2020-11-12 15:28             ` Dmitry V. Levin
2020-11-13  8:18             ` Sergey V Turchin
2020-11-12 15:01         ` Anton Farygin
2020-11-12 15:09           ` Dmitry V. Levin
2020-11-12 15:17             ` Anton Farygin
2020-11-12 15:11           ` Aleksei Nikiforov
2020-11-12 15:06         ` Aleksei Nikiforov
2020-11-12 15:12           ` Dmitry V. Levin
2020-12-08  0:54             ` [devel] Versioned interface provides syntax (Was: Q: duplicate qml() self-provides) Vladimir D. Seleznev
2020-11-13  8:23           ` [devel] Q: duplicate qml() self-provides Sergey V Turchin
2020-11-12 15:24         ` Alexey Gladkov
2020-11-12 15:28           ` Alexey Gladkov
2020-11-13  8:39           ` Sergey V Turchin
2020-11-13  8:20         ` Sergey V Turchin
2020-11-12 18:37     ` [devel] Q: duplicate osgi() self-provides Vladimir D. Seleznev
2020-11-13  8:40       ` 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=20201112130006.GB23210@altlinux.org \
    --to=ldv@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