Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Arch Linux sup now failing.
@ 2010-09-03 13:13 Daren Lord
  2010-09-03 13:33 ` Piotr Kempa
  2010-09-03 15:26 ` Arian Kuschki
  0 siblings, 2 replies; 8+ messages in thread
From: Daren Lord @ 2010-09-03 13:13 UTC (permalink / raw)
  To: sup-talk


[-- Attachment #1.1: Type: text/plain, Size: 1013 bytes --]

There must have been an arch package update that is now causing my sup mail to 
fail with this error.

/usr/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could not find 
RubyGem ncurses (>= 0) (Gem::LoadError)
    from /usr/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
    from /usr/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
    from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `each'
    from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
    from /usr/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
    from /usr/bin/sup:18:in `<main>'

I have both ncurses and ncursesw installed through the aur branch.

Any ideas? Use this at work so I am down right now.

aur/ruby-ncurses 1.2.4-1 [installed] (17)
    This ruby extension makes most functions, constants, and external variables 
of the C library ncurses accessible 

    from the Ruby programming language. 
aur/ruby-ncursesw 1.2.4.1-2 [installed] (17)
    Ruby wrapper for ncurses providing wide character support.

Thanks,

dalord


      

[-- Attachment #1.2: Type: text/html, Size: 1422 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

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

* Re: [sup-talk] Arch Linux sup now failing.
  2010-09-03 13:13 [sup-talk] Arch Linux sup now failing Daren Lord
@ 2010-09-03 13:33 ` Piotr Kempa
  2010-09-03 17:57   ` hollunder
  2010-09-03 15:26 ` Arian Kuschki
  1 sibling, 1 reply; 8+ messages in thread
From: Piotr Kempa @ 2010-09-03 13:33 UTC (permalink / raw)
  To: Daren Lord; +Cc: sup-talk

Excerpts from Daren Lord's message of 2010-09-03 15:13:40 +0200:
> There must have been an arch package update that is now causing my sup mail to 
> fail with this error.
> 
> /usr/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could not find 
> RubyGem ncurses (>= 0) (Gem::LoadError)
>     from /usr/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `each'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
>     from /usr/bin/sup:18:in `<main>'
> 
> I have both ncurses and ncursesw installed through the aur branch.
> 
> Any ideas? Use this at work so I am down right now.
> 
> aur/ruby-ncurses 1.2.4-1 [installed] (17)
>     This ruby extension makes most functions, constants, and external variables 
> of the C library ncurses accessible 
> 
>     from the Ruby programming language. 
> aur/ruby-ncursesw 1.2.4.1-2 [installed] (17)
>     Ruby wrapper for ncurses providing wide character support.
> 
> Thanks,
> 
> dalord
> 

Hi, I just had the same thing this morning. I reinstalled sup from aur
(there's been a new package version, upgraded me from 0.11-1 to 0.11-2)
and just in case backed ruby (upgraded recently to 1.9.2) to 1.9.1. I'm
not sure the latter was necessary but I'm up and running again. I'm
using this at work too so I have no time to experiment with upgrading
ruby, but I'll try when I get a chance (especially if somebody here can
confirm sup works with ruby 1.9.2 on their box). 

The new package release -2 depends on ruby-ncursesw instead of
ruby-ncurses the -1 depended on - this might have something to do with
the whole error (but it's just a guess). 

Try respawning sup from aur and if this doesn't help, downgrade ruby to
1.9.1. 

Good luck!
Piotr
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


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

* Re: [sup-talk] Arch Linux sup now failing.
  2010-09-03 13:13 [sup-talk] Arch Linux sup now failing Daren Lord
  2010-09-03 13:33 ` Piotr Kempa
@ 2010-09-03 15:26 ` Arian Kuschki
  1 sibling, 0 replies; 8+ messages in thread
From: Arian Kuschki @ 2010-09-03 15:26 UTC (permalink / raw)
  To: sup-talk


[-- Attachment #1.1: Type: text/plain, Size: 1488 bytes --]

same thing happened to me on Arch Linux a couple of days ago after the
upgrade to ruby 1.9.2. p0 (or similar, can't check right now). downgrading
 to 1.9.1 didn't help. I would also be happy if somebody could help.

On 3 September 2010 15:13, Daren Lord <dlordxorso@yahoo.com> wrote:

> There must have been an arch package update that is now causing my sup mail
> to fail with this error.
>
> /usr/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could not
> find RubyGem ncurses (>= 0) (Gem::LoadError)
>     from /usr/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `each'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
>     from /usr/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
>     from /usr/bin/sup:18:in `<main>'
>
> I have both ncurses and ncursesw installed through the aur branch.
>
> Any ideas? Use this at work so I am down right now.
>
> aur/ruby-ncurses 1.2.4-1 [installed] (17)
>     This ruby extension makes most functions, constants, and external
> variables of the C library ncurses accessible
>     from the Ruby programming language.
> aur/ruby-ncursesw 1.2.4.1-2 [installed] (17)
>     Ruby wrapper for ncurses providing wide character support.
>
> Thanks,
>
> dalord
>
>
>
> _______________________________________________
> sup-talk mailing list
> sup-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
>
>

[-- Attachment #1.2: Type: text/html, Size: 2080 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

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

* Re: [sup-talk] Arch Linux sup now failing.
  2010-09-03 13:33 ` Piotr Kempa
@ 2010-09-03 17:57   ` hollunder
  2010-09-03 18:13     ` Gaute Hope
  2010-09-03 23:01     ` carmen
  0 siblings, 2 replies; 8+ messages in thread
From: hollunder @ 2010-09-03 17:57 UTC (permalink / raw)
  To: sup-talk

> Excerpts from Daren Lord's message of 2010-09-03 15:13:40 +0200:
>> There must have been an arch package update that is now causing my sup
>> mail to
>> fail with this error.
>>
>> /usr/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could
>> not find
>> RubyGem ncurses (>= 0) (Gem::LoadError)
>>     from /usr/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
>>     from /usr/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
>>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `each'
>>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
>>     from /usr/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
>>     from /usr/bin/sup:18:in `<main>'
>>
>> I have both ncurses and ncursesw installed through the aur branch.
>>
>> Any ideas? Use this at work so I am down right now.
>>
>> aur/ruby-ncurses 1.2.4-1 [installed] (17)
>>     This ruby extension makes most functions, constants, and external
>> variables
>> of the C library ncurses accessible
>>
>>     from the Ruby programming language.
>> aur/ruby-ncursesw 1.2.4.1-2 [installed] (17)
>>     Ruby wrapper for ncurses providing wide character support.
>>
>> Thanks,
>>
>> dalord
>>
>
> Hi, I just had the same thing this morning. I reinstalled sup from aur
> (there's been a new package version, upgraded me from 0.11-1 to 0.11-2)
> and just in case backed ruby (upgraded recently to 1.9.2) to 1.9.1. I'm
> not sure the latter was necessary but I'm up and running again. I'm
> using this at work too so I have no time to experiment with upgrading
> ruby, but I'll try when I get a chance (especially if somebody here can
> confirm sup works with ruby 1.9.2 on their box).
>
> The new package release -2 depends on ruby-ncursesw instead of
> ruby-ncurses the -1 depended on - this might have something to do with
> the whole error (but it's just a guess).
>
> Try respawning sup from aur and if this doesn't help, downgrade ruby to
> 1.9.1.
>
> Good luck!
> Piotr

The situation looks grim. I don't seem to have the 1.9.1 package anymore
due to a recent cache cleaning. Read all the things I tried:
http://aur.archlinux.org/packages.php?ID=26439

How can a stupid minor version change break things so badly? And no one
knows what's wrong or how to solve this mess? I'm kinda pissed.

Maybe we can get sup into community, so it's kinda supported and might get
some testing that would catch this kind of breakage before it hits users.


_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


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

* Re: [sup-talk] Arch Linux sup now failing.
  2010-09-03 17:57   ` hollunder
@ 2010-09-03 18:13     ` Gaute Hope
  2010-09-03 18:25       ` Gaute Hope
  2010-09-03 23:01     ` carmen
  1 sibling, 1 reply; 8+ messages in thread
From: Gaute Hope @ 2010-09-03 18:13 UTC (permalink / raw)
  To: hollunder; +Cc: sup-talk

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

Hey,

ran into the same problem. The first problem I ran into was related to
ncursesw using STR2CSTR () and not StringValuePtr, this has been
obsolete for a while, but was apparently removed in 1.9.2. I got
ncurses to work; see attached PKGBUILD with patch. But there were some
problems with the tmpfile stuff, sup would start (complain about
ncurses not being ncursesw, which i don't think is correct because i
didn't seem to have problems with wide chars.. but well well, probably
just a matter of names). But when creating a new message it would
fail.

So I gave up :p and downgraded to 1.9.1-p378 from arch, I jumped a few
revisions back in Arch'es ABS (PKGBUILD's), I'll attach the PKGBUILD
here for you, but you could grab it yourself from ArchLinux's
repository. Still rebuilding some gems so haven't been able to test if
something else is the cause yet.. but this should work.

To be able to build the old ruby I first had to delete the 1.9.2
ruby.. (otherwise the build will segfault). I just removed it with
pacman -Ud ruby ( or actually yaourt.. but..)

The attached files should be put in their own folder and you can
create the packages with makepkg, and install the resulting *.pkg..*
with pacman -U filename.

- gaute

On Fri, Sep 3, 2010 at 7:57 PM,  <hollunder@lavabit.com> wrote:
>> Excerpts from Daren Lord's message of 2010-09-03 15:13:40 +0200:
>>> There must have been an arch package update that is now causing my sup
>>> mail to
>>> fail with this error.
>>>
>>> /usr/lib/ruby/1.9.1/rubygems.rb:762:in `report_activate_error': Could
>>> not find
>>> RubyGem ncurses (>= 0) (Gem::LoadError)
>>>     from /usr/lib/ruby/1.9.1/rubygems.rb:219:in `activate'
>>>     from /usr/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
>>>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `each'
>>>     from /usr/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
>>>     from /usr/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
>>>     from /usr/bin/sup:18:in `<main>'
>>>
>>> I have both ncurses and ncursesw installed through the aur branch.
>>>
>>> Any ideas? Use this at work so I am down right now.
>>>
>>> aur/ruby-ncurses 1.2.4-1 [installed] (17)
>>>     This ruby extension makes most functions, constants, and external
>>> variables
>>> of the C library ncurses accessible
>>>
>>>     from the Ruby programming language.
>>> aur/ruby-ncursesw 1.2.4.1-2 [installed] (17)
>>>     Ruby wrapper for ncurses providing wide character support.
>>>
>>> Thanks,
>>>
>>> dalord
>>>
>>
>> Hi, I just had the same thing this morning. I reinstalled sup from aur
>> (there's been a new package version, upgraded me from 0.11-1 to 0.11-2)
>> and just in case backed ruby (upgraded recently to 1.9.2) to 1.9.1. I'm
>> not sure the latter was necessary but I'm up and running again. I'm
>> using this at work too so I have no time to experiment with upgrading
>> ruby, but I'll try when I get a chance (especially if somebody here can
>> confirm sup works with ruby 1.9.2 on their box).
>>
>> The new package release -2 depends on ruby-ncursesw instead of
>> ruby-ncurses the -1 depended on - this might have something to do with
>> the whole error (but it's just a guess).
>>
>> Try respawning sup from aur and if this doesn't help, downgrade ruby to
>> 1.9.1.
>>
>> Good luck!
>> Piotr
>
> The situation looks grim. I don't seem to have the 1.9.1 package anymore
> due to a recent cache cleaning. Read all the things I tried:
> http://aur.archlinux.org/packages.php?ID=26439
>
> How can a stupid minor version change break things so badly? And no one
> knows what's wrong or how to solve this mess? I'm kinda pissed.
>
> Maybe we can get sup into community, so it's kinda supported and might get
> some testing that would catch this kind of breakage before it hits users.
>
>
> _______________________________________________
> sup-talk mailing list
> sup-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
>

[-- Attachment #2: ruby-ncursesw-fixed-stringvalueptr.tar.xz --]
[-- Type: application/x-xz, Size: 3112 bytes --]

[-- Attachment #3: ruby-1.9.1p378.pkgbuild.tar.xz --]
[-- Type: application/x-xz, Size: 2372 bytes --]

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

* Re: [sup-talk] Arch Linux sup now failing.
  2010-09-03 18:13     ` Gaute Hope
@ 2010-09-03 18:25       ` Gaute Hope
  0 siblings, 0 replies; 8+ messages in thread
From: Gaute Hope @ 2010-09-03 18:25 UTC (permalink / raw)
  To: hollunder, sup-talk

Excerpts from Gaute Hope's message of 2010-09-03 20:13:42 +0200:
> So I gave up :p and downgraded to 1.9.1-p378 from arch, I jumped a few
> revisions back in Arch'es ABS (PKGBUILD's), I'll attach the PKGBUILD
> here for you, but you could grab it yourself from ArchLinux's
> repository. Still rebuilding some gems so haven't been able to test if
> something else is the cause yet.. but this should work.

Yeah, that worked. Writing this from sup. In cases the attachements
don't appear at the mailing list the updated ruby-ncurses PKGBUILD is
located here: http://github.com/gauteh/arch/tree/master/ruby-ncursesw/

(don't use it thou, it might be helpful for anyone who want to get sup
to work on 1.9.2)

You can find the old PKGBUILDS for ruby here: 
p378:
http://repos.archlinux.org/wsvn/packages/ruby/trunk/?rev=75260&peg=75260

but p429 should probably also work:
http://repos.archlinux.org/wsvn/packages/ruby/trunk/?rev=84971&peg=84971

checkout the wiki or manpage on how to use 'makepkg'.

- gaute
 


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

* Re: [sup-talk] Arch Linux sup now failing.
  2010-09-03 17:57   ` hollunder
  2010-09-03 18:13     ` Gaute Hope
@ 2010-09-03 23:01     ` carmen
  2010-09-04  9:05       ` Philipp Überbacher
  1 sibling, 1 reply; 8+ messages in thread
From: carmen @ 2010-09-03 23:01 UTC (permalink / raw)
  To: sup-talk

> How can a stupid minor version change break things so badly?
Arch totally hosed 1.9.2 here too. way beyond sup, into justnuking Gem-installed lib functionality in general

actually, ive never used sup beacuse it refuses to find my mail (notmuch has no issues) because its not in {cur,new,tmp} subdirs. nor does it seem to recursively dig. but i spent a while and there was just too much code to read, so i wrote my own webmail [ http://gitorious.org/element/element/blobs/master/ruby/W/mail.rb ] 

well, TMail is totally broken on 1.9.2, and RMail (as sup uses) and Mail (from TMail's maintainer and now abandoner) is simply way too slow as theyre pure-ruby

unless you install activeSupport 2.3.x which has a hacked tmail that runson 1.9.x

anyways.. i'm trying to figure out a good permanent solution to this, and it seems to involve rewriting eveyrthing in HAskell..
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


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

* Re: [sup-talk] Arch Linux sup now failing.
  2010-09-03 23:01     ` carmen
@ 2010-09-04  9:05       ` Philipp Überbacher
  0 siblings, 0 replies; 8+ messages in thread
From: Philipp Überbacher @ 2010-09-04  9:05 UTC (permalink / raw)
  To: sup-talk

Excerpts from carmen's message of 2010-09-04 01:01:55 +0200:
> > How can a stupid minor version change break things so badly?
> Arch totally hosed 1.9.2 here too. way beyond sup, into justnuking Gem-installed lib functionality in general

Ok, good to know that other stuff is broken too, so it's not entirely
sups fault and the Arch devs need to look into this. I filed a bug
report (with a somewhat bad title) sometime yesterday:
http://bugs.archlinux.org/task/20733

> actually, ive never used sup beacuse it refuses to find my mail (notmuch has no issues) because its not in {cur,new,tmp} subdirs. nor does it seem to recursively dig. but i spent a while and there was just too much code to read, so i wrote my own webmail [ http://gitorious.org/element/element/blobs/master/ruby/W/mail.rb ] 

Hmm, not sure what issue you ran into there. The way it works for me:
everything lands in the inbox at the mail provider, offlineimap pulls it
to my machine, sup indexes it, done.

> well, TMail is totally broken on 1.9.2, and RMail (as sup uses) and Mail (from TMail's maintainer and now abandoner) is simply way too slow as theyre pure-ruby
> 
> unless you install activeSupport 2.3.x which has a hacked tmail that runson 1.9.x
>
> anyways.. i'm trying to figure out a good permanent solution to this, and it seems to involve rewriting eveyrthing in HAskell..

Nah, the solution is to rewrite everything in lua :)
-- 
Philipp

--
"Wir stehen selbst enttäuscht und sehn betroffen / Den Vorhang zu
und alle Fragen offen." Bertolt Brecht, Der gute Mensch von Sezuan

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

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

end of thread, other threads:[~2010-09-04  9:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-03 13:13 [sup-talk] Arch Linux sup now failing Daren Lord
2010-09-03 13:33 ` Piotr Kempa
2010-09-03 17:57   ` hollunder
2010-09-03 18:13     ` Gaute Hope
2010-09-03 18:25       ` Gaute Hope
2010-09-03 23:01     ` carmen
2010-09-04  9:05       ` Philipp Überbacher
2010-09-03 15:26 ` Arian Kuschki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox