[DRE-maint] Bug#601411: libsdl-ruby1.8: Missing method 'poll' for SDL::Event

Frederico de Oliveira Linhares foliveiralinhares at gmail.com
Mon Oct 25 20:36:05 UTC 2010


Package: libsdl-ruby1.8
Version: 2.1.1.1-1
Severity: important
Tags: patch

When I try to run the demo of the package
(http://www.kmc.gr.jp/~ohai/rubysdl/gh.tar.gz), I receive the following error
message:
gh.rb:37: undefined method `poll' for #<SDL::Event:0x7f62374d3078>
(NoMethodError)

If I try using irb, the same thing hapens:
irb(main):001:0> require 'sdl'
=> true
irb(main):002:0> event = SDL::Event.new
=> #<SDL::Event:0x7f18a780baf8>
irb(main):003:0> event.poll
NoMethodError: undefined method `poll' for #<SDL::Event:0x7f18a780baf8>
        from (irb):3
        from (null):0
irb(main):004:0> event.public_methods
=> ["inspect", "tap", "clone", "public_methods", "__send__", "object_id",
"instance_variable_defined?", "equal?", "freeze", "extend", "send", "methods",
"hash", "dup", "to_enum", "instance_variables", "eql?", "instance_eval", "id",
"singleton_methods", "taint", "enum_for", "frozen?", "instance_variable_get",
"instance_of?", "display", "to_a", "method", "type", "instance_exec",
"protected_methods", "==", "===", "instance_variable_set", "kind_of?",
"respond_to?", "to_s", "class", "__id__", "tainted?", "=~", "private_methods",
"untaint", "nil?", "is_a?"]



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsdl-ruby1.8 depends on:
ii  libc6              2.11.2-6+squeeze1     Embedded GNU C Library: Shared lib
ii  libgl1-mesa-glx [l 7.7.1-4               A free implementation of the OpenG
ii  libruby1.8         1.8.7.302-2           Libraries necessary to run Ruby 1.
ii  libsdl-image1.2    1.2.10-2+b2           image loading library for Simple D
ii  libsdl-mixer1.2    1.2.8-6+b1            mixer library for Simple DirectMed
ii  libsdl-sge         030809dfsg-2          extension of graphic functions for
ii  libsdl-ttf2.0-0    2.0.9-1               ttf library for Simple DirectMedia
ii  libsdl1.2debian    1.2.14-6.1            Simple DirectMedia Layer
ii  libsmpeg0          0.4.5+cvs20030824-2.2 SDL MPEG Player Library - shared l

libsdl-ruby1.8 recommends no packages.

Versions of packages libsdl-ruby1.8 suggests:
pn  libopengl-ruby1.8             <none>     (no description available)

-- no debconf information






More information about the Pkg-ruby-extras-maintainers mailing list