ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Cc: Vitaly Lipatov <lav@altlinux.ru>
Subject: [devel] alexandria-0.6.2-alt1
Date: Sat, 9 Feb 2008 12:23:43 +0300
Message-ID: <20080209092343.GC14803@hell.fortress> (raw)
In-Reply-To: <20080207222100.GA21067@hell.fortress>

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

* Alexey I. Froloff <raorn@> [080208 01:26]:
> Package alexandria version 0.6.2-alt1 has an unmet dep:
>  Depends: ruby(alexandria/config)
>  Depends: ruby(alexandria/default_preferences)
>  Depends: ruby(alexandria/version)
Этих файлов в пакете нет.  Видимо ошибка упаковки.

$ alexandria 
/usr/share/ruby/vendor_ruby/1.8/alexandria.rb:92:in `require': no such file to load -- alexandria/config (LoadError)
        from /usr/share/ruby/vendor_ruby/1.8/alexandria.rb:92
        from /usr/bin/alexandria:4:in `require'
        from /usr/bin/alexandria:4
[1]    17106 exit 1     alexandria

>  Depends: ruby(mechanize)
Нашлась зависимость не неупакеченый модуль
http://rubyforge.org/projects/mechanize/

Вообще говоря способ загрузки этого модуля изрядно крив:

alexandria/book_providers/dea_store_it.rb:

begin
  # rubygems may be required or not by hpricot (used by mechanize), and may be installed or not
  require 'rubygems'
rescue LoadError
end
require 'mechanize'

Тут мы видим top-level зависимость.

alexandria/book_providers.rb:

    # mechanize is optional
    begin
      require 'alexandria/book_providers/dea_store_it'
    rescue LoadError
      puts "Can't load mechanize, hence provider Deastore not available"
    end

"Не загрузилось, ну и хрен с ним".  Но из-за
alexandria/book_providers/dea_store_it.rb эта зависимость
попадает в пакет.

Проще всего собрать ruby-mechanize.

>  alexandria-0.6.2-alt1	Requires	ruby-amazon  
> +alexandria-0.6.2-alt1	Requires	ruby(amazon/search)  
>  alexandria-0.6.2-alt1	Requires	ruby-gconf2  
> +alexandria-0.6.2-alt1	Requires	ruby(gconf2)  
>  alexandria-0.6.2-alt1	Requires	ruby-gettext  
> +alexandria-0.6.2-alt1	Requires	ruby(gettext)  
>  alexandria-0.6.2-alt1	Requires	ruby-gdkpixbuf2  
> +alexandria-0.6.2-alt1	Requires	ruby(gdk_pixbuf2)  
>  alexandria-0.6.2-alt1	Requires	ruby-glib2  
> +alexandria-0.6.2-alt1	Requires	ruby(glib2)  
>  alexandria-0.6.2-alt1	Requires	ruby-gnome2  
> +alexandria-0.6.2-alt1	Requires	ruby(gnome2)  
>  alexandria-0.6.2-alt1	Requires	ruby-libglade2  
> +alexandria-0.6.2-alt1	Requires	ruby(libglade2)  
>  alexandria-0.6.2-alt1	Requires	ruby-zoom  
> +alexandria-0.6.2-alt1	Requires	ruby(zoom)  
Теперь уже не надо ставить зависимости вручную.  Ура!  Ура!  Ура!

>  alexandria-0.6.2-alt1	Requires	ruby-atk  
>  alexandria-0.6.2-alt1	Requires	ruby-gnomecanvas2  
>  alexandria-0.6.2-alt1	Requires	ruby-pango  
А эти модули не используются.

> +alexandria-0.6.2-alt1	Requires	/usr/share/ruby/vendor_ruby/1.8  
Скрытая зависимость на libruby.

-- 
Regards,
Sir Raorn.

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

  parent reply	other threads:[~2008-02-09  9:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 10:22 [devel] I: rpm-build-ruby или Разлом Сизифа наносит ответный удар Alexey I. Froloff
2008-01-18 11:27 ` Dmitry V. Levin
2008-01-18 11:30 ` Dmitry V. Levin
2008-01-18 11:40   ` Alexey I. Froloff
2008-02-07 22:21 ` Alexey I. Froloff
2008-02-09  8:59   ` Alexey I. Froloff
2008-02-09  9:06     ` Valery V. Inozemtsev
2008-02-09  9:05   ` Alexey I. Froloff
2008-02-09  9:23   ` Alexey I. Froloff [this message]
2008-02-09  9:33   ` [devel] ruby-actionpack-2.0.2-alt1 Alexey I. Froloff
2008-02-09 10:22     ` Kirill A. Shutemov

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=20080209092343.GC14803@hell.fortress \
    --to=raorn@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    --cc=lav@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