* [Comm] Зависимости при сборке rpm
@ 2006-02-24 6:32 Valentin Lavrinenko
2006-02-24 8:47 ` Valentin Lavrinenko
0 siblings, 1 reply; 3+ messages in thread
From: Valentin Lavrinenko @ 2006-02-24 6:32 UTC (permalink / raw)
To: ALT Linux Community
Hi, All!
Подскажите, плз, где почитать о том, каким образом определяются
зависимости результирующего rpm'а (не src.rpm) при сборке из спека?
Поиск по гуглю результатов сходу не дал - может, я неправильно запрос
формулировал, не знаю. Дело в том, что у меня вылазит зависимость,
которой вроде бы быть не должно, и от которой я очень хочу избавиться.
With best regards, LVU.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Зависимости при сборке rpm
2006-02-24 6:32 [Comm] Зависимости при сборке rpm Valentin Lavrinenko
@ 2006-02-24 8:47 ` Valentin Lavrinenko
2006-02-24 13:33 ` Dmitry V. Levin
0 siblings, 1 reply; 3+ messages in thread
From: Valentin Lavrinenko @ 2006-02-24 8:47 UTC (permalink / raw)
To: ALT Linux Community
Valentin Lavrinenko wrote:
> Hi, All!
>
> Подскажите, плз, где почитать о том, каким образом определяются
> зависимости результирующего rpm'а (не src.rpm) при сборке из спека?
> Поиск по гуглю результатов сходу не дал - может, я неправильно запрос
> формулировал, не знаю. Дело в том, что у меня вылазит зависимость,
> которой вроде бы быть не должно, и от которой я очень хочу избавиться.
Сам нашел, как это сделать, делюсь опытом:
$ rpm -bp <spec>
$ rpm -bc <spec>
// что должно быть в <buildroot>? Я написал ~/RPM/BUILD/<project>,
сработало...
$ export RPM_BUILD_ROOT=<buildroot>
$ export RPM_FINDREQ_METHOD=all
$ find ~/RPM/BUILD/<project> | /bin/sh -x /usr/lib/rpm/find-requires
>~/log 2>&1
После чего ищем в логе интересующую нас зависимость и
где-то перед ней видим, какой файл ее породил.
Может и криво, но для меня сработало. Если кто-то знает, как сделать лучше -
буду рад увидеть.
With best regards, LVU.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Зависимости при сборке rpm
2006-02-24 8:47 ` Valentin Lavrinenko
@ 2006-02-24 13:33 ` Dmitry V. Levin
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2006-02-24 13:33 UTC (permalink / raw)
To: ALT Linux general discussion list
[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]
On Fri, Feb 24, 2006 at 10:47:38AM +0200, Valentin Lavrinenko wrote:
> Valentin Lavrinenko wrote:
> > Hi, All!
> >
> > Подскажите, плз, где почитать о том, каким образом определяются
> > зависимости результирующего rpm'а (не src.rpm) при сборке из спека?
> > Поиск по гуглю результатов сходу не дал - может, я неправильно запрос
> > формулировал, не знаю. Дело в том, что у меня вылазит зависимость,
> > которой вроде бы быть не должно, и от которой я очень хочу избавиться.
> Сам нашел, как это сделать, делюсь опытом:
> $ rpm -bp <spec>
> $ rpm -bc <spec>
> // что должно быть в <buildroot>? Я написал ~/RPM/BUILD/<project>,
> сработало...
> $ export RPM_BUILD_ROOT=<buildroot>
> $ export RPM_FINDREQ_METHOD=all
> $ find ~/RPM/BUILD/<project> | /bin/sh -x /usr/lib/rpm/find-requires
> >~/log 2>&1
> После чего ищем в логе интересующую нас зависимость и
> где-то перед ней видим, какой файл ее породил.
>
> Может и криво, но для меня сработало. Если кто-то знает, как сделать лучше -
> буду рад увидеть.
$ RPM_SCRIPTS_DEBUG=1 rpmbuild -bi specfile &>logfile
- включает трассировку скриптов, которые вычисляют зависимости.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-24 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-24 6:32 [Comm] Зависимости при сборке rpm Valentin Lavrinenko
2006-02-24 8:47 ` Valentin Lavrinenko
2006-02-24 13:33 ` Dmitry V. Levin
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