ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: Sisyphus-20050901 unmets: +3 -4 (102/47)
@ 2005-09-01 19:08 Alexey M. Tourbin
  2005-09-01 21:51 ` [devel] " Alexey Tourbin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey M. Tourbin @ 2005-09-01 19:08 UTC (permalink / raw)
  To: devel

	3 NEW unmet dependencies detected:
gtk-engines-full#1:2.6.3-alt2	gtk-engines-default (= 2.6.3-alt1)
multipath-tools#0.4.4-alt0.18	/etc/rc.status
perl-Text-Reform#1.11-alt5	perl(TeX/Hyphen.pm)

	4 unmet dependencies have been RESOLVED:
MPlayer-gui#1.0-alt20.pre7	MPlayer-skin
kino#0.7.6-alt1         	libraw1394.so.5
perl-Text-Autoformat#1.13-alt1	perl(Text/Reform.pm) (>= 1.110)
zapping#0.8.2-alt0.1.cvs	mp1e

Total 47 packages have 102 unmet dependencies.


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

* [devel] Re: I: Sisyphus-20050901 unmets: +3 -4 (102/47)
  2005-09-01 19:08 [devel] I: Sisyphus-20050901 unmets: +3 -4 (102/47) Alexey M. Tourbin
@ 2005-09-01 21:51 ` Alexey Tourbin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Tourbin @ 2005-09-01 21:51 UTC (permalink / raw)
  To: devel

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

On Thu, Sep 01, 2005 at 11:08:14PM +0400, Alexey M. Tourbin wrote:
> 	3 NEW unmet dependencies detected:
> perl-Text-Reform#1.11-alt5	perl(TeX/Hyphen.pm)

lib/Text/Reform.pm:
   119          croak "Can't find TeX::Hypen module"
   120                  unless require "TeX/Hyphen.pm";

Раньше эта зависимость не обнаруживалась, потому что поиск зависимостей
был привязан к форматированию исходника.  Кстати, "это" (наивно) не работает:

$ perl -MCarp
        croak "Can't find TeX::Hypen module"
                unless require "TeX/Hyphen.pm";
^D
Can't locate TeX/Hyphen.pm in @INC (@INC contains: /etc/perl5 /usr/lib/perl5/i386-linux /usr/lib/perl5 /usr/local/lib/perl5/site_perl/5.8.7/i386-linux /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/i386-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/vendor_perl .) at - line 1.
$

То есть require возбуждает fatal error.  По смыслу, здесь лучше всего
завернуть require в eval.  Т.е. unless eval { require TeX::Hyphen }.
Тогда зависимость на TeX::Hyphen не проставится, а также будет работать
croak.

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

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

end of thread, other threads:[~2005-09-01 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01 19:08 [devel] I: Sisyphus-20050901 unmets: +3 -4 (102/47) Alexey M. Tourbin
2005-09-01 21:51 ` [devel] " Alexey Tourbin

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