[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Sup 0.12 released



On Tue, Jan 25, 2011 at 11:24 AM, Andrei Thorp <garoth@gmail.com> wrote:
> On Mon, Jan 17, 2011 at 10:36 PM, Rich Lane <rlane@club.cc.cmu.edu> wrote:
>> Excerpts from Philipp Überbacher's message of Mon Jan 17 17:03:23 -0500 2011:
>>> There also seem to be huge problems building and installing sup 0.12,
>>> have a look here to get an idea how much frustration it already caused:
>>> http://aur.archlinux.org/packages.php?ID=26439
>>
>> I use Arch myself so I'm surprised there's been so much trouble
>> packaging for it. Does gettext need to be a gem dependency? I've
>> reconsidered the ncurses mess and master now requires ncursesw. I'm not
>> convinced an Arch package should be using xapian-full - I only made that
>> gem because I wanted the install process to be as simple as "gem install
>> sup". The normal Arch Xapian package should work fine.
>
> Hey there Rich. I'm the package maintainer there and have certainly
> had a never-ending cascade of trouble packaging it. Stuff ranging from
> dire lack of aur packages for the dependencies (which prompted me to
> write a system to automatically create them) to broken dependencies to
> massive Sup errors in the upgrade to Ruby 1.9.
>
> Anyway, I still can't get it to run even with 0.12.1. Here's the
> general situation (reposted partially from my comments there):
>
> * use ruby-xapian-full
> * need gettext to be a gem and not a regular install... -- pacman -Rd
> your ruby-gettext and sudo gem install ruby-gettext (STILL A PROBLEM,
> SHOULD TALK TO THE MAINTAINER OF THAT PACKAGE)
> * gem install sup:
>  - Won't install in local mode (i.e. into your ~), fyi (not that I care a lot)
>  - Still attempts to build ncurses (which fails)? Why's that? If I
> override and install it without dependencies it seems to use ncursesw
> happily enough.
> * The new package throws up this runtime error without a .sup directory:
>
> --- RuntimeError from thread: main
> can't modify frozen string
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
> `force_encoding'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in
> `block in add_account'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in `each'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:54:in `add_account'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/account.rb:38:in `initialize'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:613:in `new'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:613:in `init'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup.rb:164:in `start'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:153:in `<module:Redwood>'
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:69:in `<top (required)>'
> /usr/bin/sup:19:in `load'
> /usr/bin/sup:19:in `<main>'
>
> The above I've seen to be bug 98 on the bugtracker... but for whatever
> reason, the bugtracker has been down for a week or two on my end.
>
> What xapian package do you recommend using? Maybe that's the source of
> my problems.

It also likes to indulge in this error on occasion:

/usr/bin/ruby: symbol lookup error:
/usr/lib/ruby/gems/1.9.1/gems/ncursesw-1.2.4.1/lib/ncursesw_bin.so:
undefined symbol: STR2CSTR
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk