ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] rpm provides/requires
Date: Wed, 11 Sep 2024 19:27:14 +0300
Message-ID: <20240911162714.GA1613@altlinux.org> (raw)
In-Reply-To: <5a6c9264-3873-441a-b83c-126c4d98a2e1@altlinux.ru>

On Wed, Sep 11, 2024 at 06:54:44PM +0300, Валерий Иноземцев wrote:
> 11.09.2024 16:17, Gleb Fotengauer-Malinovskiy пишет:
> > On Tue, Sep 10, 2024 at 01:47:00PM +0300, Валерий Иноземцев wrote:
> >> День добрый
> >>
> >> $ rpmquery -p --provides libGLX-mesa-24.2.2-alt1.x86_64.rpm | grep gallium
> >> libgallium-24.2.2.so()(64bit) = set:id1Zo2upF3EBa9nEtyFb9C9YVhNoB9BAfUCSM1
> > 
> > Это provide с символами, которые в целом есть в библиотеке.
> > 
> >> $ rpmquery -p --requires libGLX-mesa-24.2.2-alt1.x86_64.rpm | grep gallium
> >> libgallium-24.2.2.so(libgallium-24.2.2.so)(64bit)
> > 
> > А это выглядит как зависимость по версии в ELF-е, т.е. как:
> > libc.so.6(GLIBC_2.38)(64bit)
> > 
> >> ну и вопрос. почему версионирование не попадает в provides
> > 
> > Сложно понять, что именно пошло не так, но вот это (libgallium-24.2.2.so)
> > выглядит действительно странно.
> 
> вот и я не панимаю. пакет с библиотекой
> https://git.altlinux.org/tasks/357285/build/100/x86_64/rpms/libGLX-mesa-24.2.2-alt1.x86_64.rpm

Ничего удивительного, когда в библиотеке есть такие интерфейсы:

$ rpmpeek /tasks/357285/build/100/x86_64/rpms/libGLX-mesa-24.2.2-alt1.x86_64.rpm readelf -Ws ./usr/lib64/libgallium-24.2.2.so |grep -F libgallium-24.2.2.so
   784: 00000000000b22a0     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_r300@@libgallium-24.2.2.so
   785: 00000000000b22b0     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_r600@@libgallium-24.2.2.so
   786: 00000000000b22f0    52 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_zink@@libgallium-24.2.2.so
   787: 00000000007e0f00  8303 FUNC    GLOBAL DEFAULT   14 radeon_drm_winsys_create@@libgallium-24.2.2.so
   788: 00000000000b2270     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_iris@@libgallium-24.2.2.so
   789: 00000000000b2290     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_nouveau@@libgallium-24.2.2.so
   790: 00000000000b2260     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_i915@@libgallium-24.2.2.so
   791: 00000000000b22d0     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_vmwgfx@@libgallium-24.2.2.so
   792: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS libgallium-24.2.2.so
   793: 00000000009455e0  2310 FUNC    GLOBAL DEFAULT   14 amdgpu_winsys_create@@libgallium-24.2.2.so
   794: 00000000000b2250     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_kms_swrast@@libgallium-24.2.2.so
   795: 00000000000b22c0     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_radeonsi@@libgallium-24.2.2.so
   796: 00000000009b3b80    19 FUNC    GLOBAL DEFAULT   14 ac_init_shared_llvm_once@@libgallium-24.2.2.so
   797: 00000000000b2330   470 FUNC    GLOBAL DEFAULT   14 dri_loader_get_extensions@@libgallium-24.2.2.so
   798: 00000000000b2280     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_crocus@@libgallium-24.2.2.so
   799: 00000000000b2240     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_swrast@@libgallium-24.2.2.so
   800: 00000000000b22e0     8 FUNC    GLOBAL DEFAULT   14 __driDriverGetExtensions_virtio_gpu@@libgallium-24.2.2.so
   801: 00000000009d5a10   769 FUNC    GLOBAL DEFAULT   14 nouveau_drm_screen_create@@libgallium-24.2.2.so


-- 
ldv


  reply	other threads:[~2024-09-11 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10 10:47 Валерий Иноземцев
2024-09-11 13:17 ` Gleb Fotengauer-Malinovskiy
2024-09-11 15:54   ` Валерий Иноземцев
2024-09-11 16:27     ` Dmitry V. Levin [this message]
2024-09-12  6:16       ` Валерий Иноземцев
2024-09-12  7:54         ` Dmitry V. Levin
2024-09-12  8:24           ` Валерий Иноземцев
2024-09-12 13:24             ` Dmitry V. Levin

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=20240911162714.GA1613@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