ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: "Dmitry V. Levin" <ldv@altlinux.org>
Subject: Re: [devel] I: lib.req: upgraded "library not found" warnings to errors
Date: Tue, 08 Feb 2022 23:50:39 +0300
Message-ID: <bae7f83620036464801450e19b0ae827@altlinux.ru> (raw)
In-Reply-To: <20220206230130.GD20689@altlinux.org>

Dmitry V. Levin писал(а) 7.2.22 2:01:
> On Mon, Feb 07, 2022 at 01:44:06AM +0300, Alexey V. Vissarionov wrote:
>> On 2022-02-06 16:41:12 +0300, Dmitry V. Levin wrote:
>> 
>>  > lib.req: upgraded "library not found" warnings to errors:
>>  > these warnings are real packaging errors, they also cause
>>  > further ldd errors down the line.
>>  > Это изменение затрагивает нижеперечисленные пакеты
>> 
>> Дим, а вот тут нужна ручка для отключения: например, лично я
>> предпочитаю использовать "охвисный" пакет (любителям файлов в
>> проприетарных форматах особый превед) без Java со всеми ее
>> ужасающими зависимостями.
> 
> Это всё давно есть.
> 
> Тут речь идёт о том, что если некий elf уже слинкован с некоторой
> библиотекой, эта библиотека должна быть доступна для lib.req,
> иначе lib.req оказывается в сложной ситуации.
> 
> А так можно фильтровать и то, что попадает к lib.req, и то,
> что получается на выходе.

Вы не могли бы подсказать хороший способ для этого?
Вот к примеру
https://git.altlinux.org/tasks/295053/gears/10/git?p=git;a=blob;f=test_lib_requires2.spec;h=93cbd138404bdff484450d986f7b42f0a6721d4f;hb=57d1826fc867f8617bb0de9e0cb3af1c872a3161

у меня есть приватная библиотека ntdll.so, которая расположена в 
%_libdir/%name
Там же находится линкующаяся с ntdll.so библиотека sane.so.

Я смог найти только такой вариант:
1. Положил ntdll.so также и в %_libdir
2. Убрал генерируемые зависимости на неё:
%filter_from_requires /^ntdll.so()(64bit).*/d
3. Не стал упаковывать %_libdir/ntdll.so в пакет, потому что она там не 
нужна.

https://git.altlinux.org/tasks/295053/build/10/x86_64/log

А как было бы лучше? При условии, что мне нужны auto requires для 
ntdll.so, но не нужны auto provides для неё.

-- 
С уважением,
Виталий Липатов,
ALT Linux Team


  parent reply	other threads:[~2022-02-08 20:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-06 13:41 Dmitry V. Levin
2022-02-06 22:44 ` Alexey V. Vissarionov
2022-02-06 23:01   ` Dmitry V. Levin
2022-02-07  3:18     ` Alexey V. Vissarionov
2022-02-08 20:50     ` Vitaly Lipatov [this message]
2022-02-09  0:11       ` Dmitry V. Levin
2022-02-09  0:54         ` Vitaly Lipatov
2022-04-28 11:39     ` Sergey Afonin
2022-02-09  3:11 ` Evgeniy Kukhtinov
2022-02-09 11:15   ` Dmitry V. Levin
2022-02-09 12:12     ` Vitaly Lipatov
2022-02-09 12:46       ` Dmitry V. Levin
2022-02-27 13:15         ` Yuri Sedunov

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=bae7f83620036464801450e19b0ae827@altlinux.ru \
    --to=lav@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    --cc=ldv@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