ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.ru>
Subject: Re: [Comm] RPATH   &   ":"
Date: Sun, 1 Dec 2002 04:00:14 +0300
Message-ID: <20021201010014.GA16840@basalt.office.altlinux.ru> (raw)
In-Reply-To: <200211291236.25686.alex@eburg.uniland.ru>

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

On Fri, Nov 29, 2002 at 12:36:25PM +0500, Smirnov Alexey wrote:
> Собираю пакет ksensors-0.7-1.src.rpm, все нормально собирается, 
> но в самом конце сборки появляется такая ошибка:
> 
> ...
> Verifying ELF objects in /home/smirnov/tmp/ksensors-buildroot (normal)
> ./usr/bin/ksensors: RPATH contains ":": /usr/lib:/usr/lib/qt3/lib:/usr/X11R6/lib
> 
> насколько я понял это возвращает скрипт /usr/lib/rpm/verify_elf (который 
> вызывается из /usr/lib/rpm/brp-verify-elf). внутри него есть переменная:
> 
> info=$(objdump -p "$f") и дальше в ней смотрится строка RPATH.
> дальше идут разные проверки, одну из которых у меня и не проходит.
> 
> Вопрос - что такое RPATH и почему в ней нельзя иметь ":" ?
> и что исправить чтобы собралось rpm ?

В документации к rpm (/usr/share/doc/rpm-4.0.4/README.ALT-ru_RU.KOI8-R)
написано, как регулировать степень тщательности этой проверки.

Если собираете пакет для собственных нужд (а не с перспективой включения в
Сизиф), можете не задумываясь ослабить строгость проверки на rpath.


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2002-12-01  1:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-29  7:36 Smirnov Alexey
2002-12-01  1:00 ` Dmitry V. Levin [this message]
2002-12-02 10:27 ` 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=20021201010014.GA16840@basalt.office.altlinux.ru \
    --to=ldv@altlinux.org \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git