ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Вопрос по find-requires
@ 2005-07-02 10:40 Yuri N. Glibovetz
  2005-07-02 12:50 ` Alexey Borovskoy
  0 siblings, 1 reply; 4+ messages in thread
From: Yuri N. Glibovetz @ 2005-07-02 10:40 UTC (permalink / raw)
  To: community

Здравствуйте!
Пытаюсь построить бинарный пакет для mozart-oz (из
http://www.mozart-oz.org/download/mozart-ftp/store/1.3.1-2004-06-16/mozart-1.3.1.20040616-3.src.rpm).
В конце сборки пакета имеем:

> Поиск Requires (используя /usr/lib/rpm/find-requires)
> Выполняется(Requires): /bin/sh -e /home/yura/tmp/rpm-tmp.58492
> + umask 022
> + /bin/mkdir -p /home/yura/RPM/BUILD
> + cd /home/yura/RPM/BUILD
> + /usr/lib/rpm/find-requires
> /home/yura/tmp/mozart-buildroot/usr/lib/mozart/bin/convertTextPickle: line 4: syntax error near unexpected token `)'
> /home/yura/tmp/mozart-buildroot/usr/lib/mozart/bin/convertTextPickle: line 4: `<тут всякий бинарный мусор...>'
> ошибка: /bin/sh не удалось
> ошибка: Невозможно найти Requires
> 
> 
> Ошибки сборки пакетов:
>     /bin/sh не удалось
>     Невозможно найти Requires

Файл convertTextPickle имеет структуру:

#!/bin/sh

exec ozengine $0 "$@"

<далее идёт бинарный код>

Как уговорить find-requires не проверять этот файл?

ALT Master 2.4

-- 
Чудес не бывает - бывают только глюки...

Linux Registered User #387540
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=387540



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] Вопрос по find-requires
  2005-07-02 10:40 [Comm] Вопрос по find-requires Yuri N. Glibovetz
@ 2005-07-02 12:50 ` Alexey Borovskoy
  2005-07-03  7:41   ` Yuri N. Glibovetz
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Borovskoy @ 2005-07-02 12:50 UTC (permalink / raw)
  To: community

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

* Суббота 02 Июль 2005 23:40 Yuri N. Glibovetz

> Как уговорить find-requires не проверять этот файл?

%add_findreq_skiplist путь_к_файлу.

-- 
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63  2753 E37A 9E3F 11F3 BDE1

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] Вопрос по find-requires
  2005-07-02 12:50 ` Alexey Borovskoy
@ 2005-07-03  7:41   ` Yuri N. Glibovetz
  2005-07-03  9:30     ` Alexey Borovskoy
  0 siblings, 1 reply; 4+ messages in thread
From: Yuri N. Glibovetz @ 2005-07-03  7:41 UTC (permalink / raw)
  To: community

Alexey Borovskoy пишет:
>>Как уговорить find-requires не проверять этот файл?
> 
> 
> %add_findreq_skiplist путь_к_файлу.

Спасибо огромное, это то что надо. Классический вопрос: а где про это
можно почитать?

-- 
Чудес не бывает - бывают только глюки...

Linux Registered User #387540
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=387540



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] Вопрос по find-requires
  2005-07-03  7:41   ` Yuri N. Glibovetz
@ 2005-07-03  9:30     ` Alexey Borovskoy
  0 siblings, 0 replies; 4+ messages in thread
From: Alexey Borovskoy @ 2005-07-03  9:30 UTC (permalink / raw)
  To: community

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

* Воскресенье 03 Июль 2005 20:41 Yuri N. Glibovetz

> Alexey Borovskoy пишет:
> >>Как уговорить find-requires не проверять этот файл?
> >
> > %add_findreq_skiplist путь_к_файлу.
>
> Спасибо огромное, это то что надо. Классический вопрос: а где
> про это можно почитать?

1. Частично это описано в документации к Мастеру 2.4
2. Команда rpm --showrc иногда показывает очень много интересного 
и полезного. Потом в каталогах /usr/lib/rpm и /etc/rpm/macros.d 
можно посмотреть реализацию откопанной диковинки.

Я наличие этих макросов обнаружил вторым методом.

-- 
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63  2753 E37A 9E3F 11F3 BDE1

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-03  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-02 10:40 [Comm] Вопрос по find-requires Yuri N. Glibovetz
2005-07-02 12:50 ` Alexey Borovskoy
2005-07-03  7:41   ` Yuri N. Glibovetz
2005-07-03  9:30     ` Alexey Borovskoy

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