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] I: alternative soname implementations considered harmful
Date: Wed, 19 Jun 2019 10:25:13 +0300
Message-ID: <20190619072513.GB17631@altlinux.org> (raw)
In-Reply-To: <22d590ef5201c38f3389cbca8662ad4d@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]

On Wed, Jun 19, 2019 at 09:33:56AM +0300, Vitaly Lipatov wrote:
> Dmitry V. Levin писал 19.6.19 0:30:
> > On Mon, Jun 17, 2019 at 05:51:55PM +0300, Dmitry V. Levin wrote:
> >> On Sun, Jun 16, 2019 at 12:20:50AM +0300, Dmitry V. Levin wrote:
> >> > Я всё-таки склоняюсь к мысли, что альтернативные реализации одного soname
> >> > в рамках репозитория следует запретить.  Сейчас в Сизифе 18 таких soname.
> 
> Так а аргументы будут?
> Точнее, каковы будут механизмы запрета и механизмы исключения из 
> запрета.

Делать разные soname.

> ...
> >> gcc5-5.3.1-alt6.src.rpm	gcc5-gdb-plugin	libcc1.so.0
> >> gcc6-6.3.1-alt4.src.rpm	gcc6-gdb-plugin	libcc1.so.0
> >> gcc7-7.3.1-alt9.src.rpm	gcc7-gdb-plugin	libcc1.so.0
> >> gcc8-8.3.1-alt3.src.rpm	gcc8-gdb-plugin	libcc1.so.0
> Надеюсь, цифры уберём и у нас будет один gcc :)

Здесь всё ещё проще: поскольку gdb использует libcc1.so с помощью dlopen,
libcc1.so.0 вообще не нужен.

> >> wine-4.10.1-alt1.src.rpm	libwine	libwine.so.1
> >> wine-vanilla-4.10-alt1.src.rpm	libwine-vanilla	libwine.so.1
> Что мне кажется, что тут коса на камень.

Так они же ещё и разные:

$ rpmsodiff libwine-vanilla-4.10-alt1.x86_64.rpm libwine-4.10.1-alt1.x86_64.rpm
	common sonames:
libwine.so.1	/usr/lib64/libwine.so.1.0	/usr/lib64/libwine.so.1.0

--- libwine-vanilla-4.10-alt1/libwine.so.1	2019-06-10 23:56:15.000000000 +0300
+++ libwine-4.10.1-alt1/libwine.so.1	2019-06-11 20:12:18.000000000 +0300
@@ -65,2 +65,3 @@
 wine_dbgstr_wn	T
+wine_dladdr	T
 wine_dlclose	T
@@ -80,2 +81,4 @@
 wine_get_data_dir	T
+wine_get_libs	T
+wine_get_patches	T
 wine_get_server_dir	T

	3 symbols added
T wine_dladdr
T wine_get_libs
T wine_get_patches

$ apt-cache showpkg 'libwine.so.1()(64bit)'
Package: libwine.so.1()(64bit)
Versions: 

Reverse Depends: 
  wine-grdwine,libwine.so.1()(64bit) set:kikzKTTOo11
  dssi-vst,libwine.so.1()(64bit) set:kikzKTTOo11
Dependencies: 
Provides: 
Reverse Provides: 
libwine-vanilla 4.10-alt1@1560199706
libwine 1:4.10.1-alt1@1560272474

Каким образом клиенты libwine.so.1 будут выбирать нужную реализацию?


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  parent reply	other threads:[~2019-06-19  7:25 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 21:06 [devel] libglusterfs6: shlib policy issue Vladimir D. Seleznev
2019-06-14 22:35 ` Ivan Zakharyaschev
2019-06-14 22:43   ` Ivan Zakharyaschev
2019-06-15 19:43         ` Vladimir D. Seleznev
2019-06-15 21:20           ` Dmitry V. Levin
2019-06-17 14:51             ` [devel] I: alternative soname implementations considered harmful Dmitry V. Levin
2019-06-18 21:30               ` Dmitry V. Levin
2019-06-19  6:33                 ` Vitaly Lipatov
2019-06-19  7:00                   ` Vladimir D. Seleznev
2019-06-19  7:25                   ` Dmitry V. Levin [this message]
2019-06-19 11:10                     ` Andrey Savchenko
2019-06-19 11:21                       ` Dmitry V. Levin
2019-06-27  5:39                         ` Vitaly Lipatov
2019-06-19 11:40                       ` Sergey V Turchin
2019-06-19 10:54               ` Anton Farygin
2019-06-15 22:45           ` [devel] libglusterfs6: shlib policy issue Vitaly Lipatov
2019-06-16 19:25             ` Vladimir D. Seleznev
2019-06-17 19:55               ` Alexey Shabalin
2019-06-17 19:58             ` Alexey Shabalin
2019-06-19  6:43               ` Vitaly Lipatov
2019-06-16  6:50     ` Denis Medvedev
2019-06-16 19:12       ` Vladimir D. Seleznev

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=20190619072513.GB17631@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