ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Отключение работы find_requires для пакета
Date: Fri, 19 Mar 2021 16:58:47 +0400
Message-ID: <20210319125847.tl5puvnu6pfjtnt3@titan.localdomain> (raw)
In-Reply-To: <17849f4b830.2807.7fa2a2f3bb6a924ec61a71903b1e5144@gmail.com>

On Fri, Mar 19, 2021 at 01:07:58PM +0300, Sergei Epiphanov wrote:
> Есть необходимость в Сизифе (система x86_64) собрать пакет под себя для
> проверки безо всяких зависимостей, только указанные в spec. Но указание в
> самых разных местах спека параметра
> 
> 
> %define _findreq_method none
> 
> не влияет ни на что, rpm всегда берёт все возможные req. Сейчас пришлось в
> /usr/lib/rpm/find-requires руками вставить 'exit 0'. Кто может принудительно
> включать все зависимости? Или я не там прописываю отключение? Пока грешу на
> /usr/lib/rpm/find-scriplet-requires.

AutoReq: yes,nolib

http://git.altlinux.org/gears/r/rpm-build.git?a=blob;f=README.ALT-ru_RU.UTF-8;h=24ab470d32e982a56393b8be202ec73f269a6903;hb=HEAD#l577

> 
> Причина в том, что нужно собрать пакет с x86 бинарником без использования
> arepo (не спрашивайте, почему такое извращение). rpm пристёгивает в
> зависимость, например
> 
> /lib/libc.so.6(GLIBC_2.0)
> 
> Из-за этого собранный пакет нельзя установить командой rpm, хотя в системе
> уже стоит i586-glibc-core. То есть apt-get на команду
> 
> apt-get install /lib/libc.so.6
> 
> сообщает, что пакет i586-glibc-core стоит, а на команду
> 
> apt-get install '/lib/libc.so.6(GLIBC_2.0)'
> 
> говорит, что пакета с этой зависимостью нет. Репозиторий x86_64-i586
> подключен. В пакете i586-glibc-core есть libc.so.6(GLIBC_2.0).

То есть, lib.req добавляет (не удаляет) путь до libc (который /lib).
Интересно.

-- 
  wbr,
    iv m.


       reply	other threads:[~2021-03-19 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 12:58 ` Ivan A. Melnikov [this message]
2021-03-19 14:33   ` Dmitry V. Levin
2021-03-19 14:51       ` 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=20210319125847.tl5puvnu6pfjtnt3@titan.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