ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] rpm 4.0.4-alt79
Date: Sat, 3 Nov 2007 00:59:44 +0300
Message-ID: <20071102215944.GC24160@solemn.turbinal> (raw)
In-Reply-To: <20071102214632.GB24160@solemn.turbinal>

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

>  SuSEfirewall2-3.6_SVNr175-alt0	Requires	coreutils
> -SuSEfirewall2-3.6_SVNr175-alt0	Requires	module-init-tools
>  SuSEfirewall2-3.6_SVNr175-alt0	Requires	perl(Net/DNS.pm)

shell.req выдает честное предупреждение, что имеется "конфликт" между
функцией внутри пакета и executable за пределами пакета.  Этот конфликт
решается в пользу функции внутри пакета, потому что как бы считается,
что связи внутри пакета сильнее, чем между пакетами.  Однако это грубое
эвристическое правильно делает не всегда то, что нужно.

shell.req: /usr/src/tmp/SuSEfirewall2-buildroot/sbin/SuSEfirewall2: modprobe() is possibly used before its definition
shell.req: /usr/src/tmp/SuSEfirewall2-buildroot/sbin/SuSEfirewall2: modprobe() has execuatable candidate: modprobe -> module-init-tools (skip)
shell.req: /usr/src/tmp/SuSEfirewall2-buildroot/etc/sysconfig/scripts/SuSEfirewall2-qdisc: modprobe() is possibly defined in /usr/src/tmp/SuSEfirewall2-buildroot/sbin/SuSEfirewall2
shell.req: /usr/src/tmp/SuSEfirewall2-buildroot/etc/sysconfig/scripts/SuSEfirewall2-qdisc: modprobe() has execuatable candidate: modprobe -> module-init-tools (skip)

Вот кусочек скрипта /sbin/SuSEfirewall2:

   271  if [ "$MODE" = debug ]; then
   272      IPTABLES="iptables"
   273      iptables()
   274      {
   275          echo iptables "$@"
   276      }
   277      IP6TABLES="ip6tables"
   278      ip6tables()
   279      {
   280          echo ip6tables "$@"
   281      }
   282      TC="tc"
   283      tc()
   284      {
   285          echo tc "$@"
   286      }
   287      modprobe()
   288      {
   289          echo modprobe "$@"
   290      }
   291  else

Функция modprobe имеет приоритет над внешней командой modprobe.

Здесь меня смущает то, что функция modprobe определена условно,
и диагностика "used before its definition" по-видимому, неправильная.
Я ещё над этим подумаю, но в целом чуда здесь ждать не следует.
То есть rpm-build сработал скорее правильно.

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

  reply	other threads:[~2007-11-02 21:59 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 21:46 Alexey Tourbin
2007-11-02 21:59 ` Alexey Tourbin [this message]
2007-11-02 22:04 ` [devel] alsa-utils-1.0.14-alt3 Alexey Tourbin
2007-11-02 22:20 ` [devel] backupninja-0.9.4-alt1 Alexey Tourbin
2007-11-02 22:25 ` [devel] bmpx-devel-0.40.9-alt1 Alexey Tourbin
2007-11-02 22:28 ` [devel] compiz-devel-0.6.2-alt2 Alexey Tourbin
2007-11-02 22:38 ` [devel] compizconfig-python-devel-0.6.0-alt1 Alexey Tourbin
2007-11-02 22:57 ` [devel] emerald-devel-0.5.2-alt1 Alexey Tourbin
2007-11-02 23:10 ` [devel] etcnet-0.9.4-alt1 Alexey Tourbin
2007-11-03 20:28   ` Denis Ovsienko
2007-11-03 20:38     ` Alexey Tourbin
2007-11-02 23:26 ` [devel] f-spot-0.3.5-alt2 (mono) Alexey Tourbin
2007-11-03  9:04   ` Andrey Rahmatullin
2007-11-03 19:10     ` Alexey Tourbin
2007-11-04  9:27       ` Andrey Rahmatullin
2007-11-04 14:44         ` Alexey Tourbin
2007-11-04 18:38           ` Andrey Rahmatullin
2007-11-04 19:53             ` Alexey Tourbin
2007-11-04 21:59             ` Alexey Tourbin
2007-11-05 11:29               ` Andrey Rahmatullin
2007-11-08 13:43                 ` [devel] Versioning (mono) Ildar Mulyukov
2007-11-08 13:49                   ` Alexey Tourbin
2007-11-08 16:00                   ` Andrey Rahmatullin
2007-11-08 16:15                     ` Alexey Tourbin
2007-11-09  5:23                     ` Ildar Mulyukov
2007-11-09  5:40                       ` Andrey Rahmatullin
2007-11-09  5:49                         ` Ildar Mulyukov
2007-11-09  5:59                           ` Andrey Rahmatullin
2007-11-09  6:17                             ` Ildar Mulyukov
2007-11-05  7:29   ` [devel] f-spot-0.3.5-alt2 (mono) Ildar Mulyukov
2007-11-05  9:28     ` Victor Forsyuk
2007-11-05  9:51       ` Ildar Mulyukov
2007-11-05  9:58         ` Alexey Tourbin
2007-11-05 14:33         ` Victor Forsyuk
2007-11-06  6:13           ` Ildar Mulyukov
2007-11-03  0:29 ` [devel] fedora-ds-1.1.0-alt0.20071030 Alexey Tourbin
2007-11-03  0:40 ` [devel] gstreamer-devel-0.10.14-alt1 Alexey Tourbin
2007-11-03  1:25   ` [devel] распил пакетов Alexey Tourbin
2007-11-03 14:39   ` [devel] gstreamer-devel-0.10.14-alt1 Dmitry V. Levin
2007-11-03 19:57     ` Alexey Rusakov
2007-11-04 23:49       ` Alexey Tourbin
2007-11-03  0:51 ` [devel] gtkglarea2-devel-1.99.0-alt3 Alexey Tourbin

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=20071102215944.GC24160@solemn.turbinal \
    --to=at@altlinux.ru \
    --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