From: Alexey Tourbin <at@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] packagereq/buildreq: missing build deps
Date: Thu, 13 Nov 2003 18:59:05 +0300
Message-ID: <20031113155905.GJ2402@julia.office.altlinux.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
Greetings!
При незапланированной пересборке swig (!) мне удалось обнаружить
следующий недостаток в packagereq/buildreq (здесь и далее zsh syntax):
$ rpm -qf /usr/share/ruby/1.8/Env.rb /usr/bin/ruby
ruby-stdlibs-1.8-alt9
ruby-1.8-alt9
$ >prog
#!/bin/sh
cat /usr/share/ruby/1.8/Env.rb /usr/bin/ruby &>/dev/null
$ chmod +x prog
$ packagereq -o /dev/stdout ./prog
packagereq: building requires list: ruby-stdlibs
ruby-stdlibs
$
Иными словами, buildreq считает, что пакет basename-чтоугодно должен
обязательно зависеть от basename. Однако (в данном случае) это не так.
$ rpm -q --requires ruby-stdlibs | grep ruby
libruby = 1.8-alt9
libruby.so.1.8
$
Я уже предлагал автору packagereq усложнить алгоритм для "усечения"
сборочных зависимостей, чтобы этот алгоритм был основан на анализе
зависимостей между пакетами. Надеюсь, что в ближайшее время мне удастся
подготовить формальное описание этого алгоритма.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2003-11-13 15:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-13 15:59 Alexey Tourbin [this message]
2003-11-14 14:31 ` [devel] " Alexey Tourbin
2003-11-14 14:33 ` Michael Shigorin
2003-11-14 15:12 ` Alexey Tourbin
2003-11-14 16:48 ` Alexey Tourbin
2003-11-14 16:52 ` Sergey Vlasov
2003-11-14 17:00 ` Alexey Tourbin
2003-11-14 17:07 ` Sergey Vlasov
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=20031113155905.GJ2402@julia.office.altlinux.ru \
--to=at@altlinux.ru \
--cc=devel@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 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