[DRE-maint] [Bug 609576] [NEW] Qt4 package for Ruby 1.9 is empty

mkfs 609576 at bugs.launchpad.net
Sat Jul 24 20:47:23 UTC 2010


Public bug reported:

Binary package hint: libqt4-ruby

After installing libqt4-ruby, Qt4 applications cannot be written in Ruby
1.9.

bash# sudo apt-get install libqt4-ruby
...
bash# cat test1.9.rb
#!/usr/bin/env ruby1.9                                                          
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show()
app.exec()
bash# ruby1.9 test1.9.rb 
ruby1.9 test.rb 
test.rb:2:in `require': no such file to load -- Qt4 (LoadError)
	from test.rb:2:in `<main>'

The libqt4-ruby1.8 packages works fine.

bash# sudo apt-get install libqt4-ruby1.8
...
bash# cat test1.8.rb
#!/usr/bin/env ruby1.8                                                          
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show()
app.exec()
bash# ruby1.9 test1.9.rb 
(Qt4 widget is shown as expected).

Examining the packages shows why this is the case:

bash#  dpkg -L libqt4-ruby
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libqt4-ruby
/usr/share/doc/libqt4-ruby/changelog.gz
/usr/share/doc/libqt4-ruby/copyright
/usr/share/doc/libqt4-ruby/changelog.Debian.gz
bash#  dpkg -L libqt4-ruby1.8
... skipping 1300 lines of doc files...
/usr/bin
/usr/bin/rbqtapi
/usr/bin/rbrcc
/usr/bin/rbuic4
/usr/lib
/usr/lib/ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/x86_64-linux
/usr/lib/ruby/1.8/x86_64-linux/phonon.so
/usr/lib/ruby/1.8/x86_64-linux/qtruby4.so
/usr/lib/ruby/1.8/x86_64-linux/qtscript.so
/usr/lib/ruby/1.8/x86_64-linux/qttest.so
/usr/lib/ruby/1.8/x86_64-linux/qtuitools.so
/usr/lib/ruby/1.8/x86_64-linux/qtwebkit.so
/usr/lib/ruby/1.8/Qt.rb
/usr/lib/ruby/1.8/Qt
/usr/lib/ruby/1.8/Qt/active_item_model.rb
/usr/lib/ruby/1.8/Qt/active_table_model.rb
/usr/lib/ruby/1.8/Qt/qtruby4.rb
/usr/lib/ruby/1.8/Qt3.rb
/usr/lib/ruby/1.8/Qt4.rb
/usr/lib/ruby/1.8/phonon
/usr/lib/ruby/1.8/phonon/phonon.rb
/usr/lib/ruby/1.8/qtscript
/usr/lib/ruby/1.8/qtscript/qtscript.rb
/usr/lib/ruby/1.8/qttest
/usr/lib/ruby/1.8/qttest/qttest.rb
/usr/lib/ruby/1.8/qtuitools
/usr/lib/ruby/1.8/qtuitools/qtuitools.rb
/usr/lib/ruby/1.8/qtwebkit
/usr/lib/ruby/1.8/qtwebkit/qtwebkit.rb
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/rbuic4.1.gz
/usr/share/man/man1/rbqtapi.1.gz
/usr/share/man/man1/rbrcc.1.gz
/usr/bin/rbqt4api
/usr/share/man/man1/rbqt4api.1.gz

The 1.9 package has nothing but a changelog!

What's the deal? Ruby 1.9 has been out for a year and a half, after all.

** Affects: libqt4-ruby (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Qt4 package for Ruby 1.9 is empty
https://bugs.launchpad.net/bugs/609576
You received this bug notification because you are subscribed to Ubuntu.

Status in “libqt4-ruby” package in Ubuntu: New

Bug description:
Binary package hint: libqt4-ruby

After installing libqt4-ruby, Qt4 applications cannot be written in Ruby 1.9.

bash# sudo apt-get install libqt4-ruby
...
bash# cat test1.9.rb
#!/usr/bin/env ruby1.9                                                          
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show()
app.exec()
bash# ruby1.9 test1.9.rb 
ruby1.9 test.rb 
test.rb:2:in `require': no such file to load -- Qt4 (LoadError)
	from test.rb:2:in `<main>'

The libqt4-ruby1.8 packages works fine.

bash# sudo apt-get install libqt4-ruby1.8
...
bash# cat test1.8.rb
#!/usr/bin/env ruby1.8                                                          
require 'Qt4'
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show()
app.exec()
bash# ruby1.9 test1.9.rb 
(Qt4 widget is shown as expected).

Examining the packages shows why this is the case:

bash#  dpkg -L libqt4-ruby
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libqt4-ruby
/usr/share/doc/libqt4-ruby/changelog.gz
/usr/share/doc/libqt4-ruby/copyright
/usr/share/doc/libqt4-ruby/changelog.Debian.gz
bash#  dpkg -L libqt4-ruby1.8
... skipping 1300 lines of doc files...
/usr/bin
/usr/bin/rbqtapi
/usr/bin/rbrcc
/usr/bin/rbuic4
/usr/lib
/usr/lib/ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/x86_64-linux
/usr/lib/ruby/1.8/x86_64-linux/phonon.so
/usr/lib/ruby/1.8/x86_64-linux/qtruby4.so
/usr/lib/ruby/1.8/x86_64-linux/qtscript.so
/usr/lib/ruby/1.8/x86_64-linux/qttest.so
/usr/lib/ruby/1.8/x86_64-linux/qtuitools.so
/usr/lib/ruby/1.8/x86_64-linux/qtwebkit.so
/usr/lib/ruby/1.8/Qt.rb
/usr/lib/ruby/1.8/Qt
/usr/lib/ruby/1.8/Qt/active_item_model.rb
/usr/lib/ruby/1.8/Qt/active_table_model.rb
/usr/lib/ruby/1.8/Qt/qtruby4.rb
/usr/lib/ruby/1.8/Qt3.rb
/usr/lib/ruby/1.8/Qt4.rb
/usr/lib/ruby/1.8/phonon
/usr/lib/ruby/1.8/phonon/phonon.rb
/usr/lib/ruby/1.8/qtscript
/usr/lib/ruby/1.8/qtscript/qtscript.rb
/usr/lib/ruby/1.8/qttest
/usr/lib/ruby/1.8/qttest/qttest.rb
/usr/lib/ruby/1.8/qtuitools
/usr/lib/ruby/1.8/qtuitools/qtuitools.rb
/usr/lib/ruby/1.8/qtwebkit
/usr/lib/ruby/1.8/qtwebkit/qtwebkit.rb
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/rbuic4.1.gz
/usr/share/man/man1/rbqtapi.1.gz
/usr/share/man/man1/rbrcc.1.gz
/usr/bin/rbqt4api
/usr/share/man/man1/rbqt4api.1.gz

The 1.9 package has nothing but a changelog!

What's the deal? Ruby 1.9 has been out for a year and a half, after all.







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