Checkinstall fails to create a Ruby 1.9.2 package

Hi.

Checkinstall fails to create a Ruby 1.9.2 package. It returns the
following error:

# checkinstall --type=debian --install=no --pakdir=/home/<username>

<...>

./miniruby -I./lib -I. -I.ext/common  ./tool/rbinstall.rb --make="make"
--dest-dir="" --extout=".ext" --mflags="" --make-flags=""
--data-mode=0644 --prog-mode=0755 --installed-list .installed.list
--install=all --rdoc-output=".ext/rdoc"
installing binary commands:   /usr/local/bin
/home/<username>/ruby/lib/fileutils.rb:854:in `utime': No such file or
directory - /usr/local/bin/ruby (Errno::ENOENT)
        from /home/<username>/ruby/lib/fileutils.rb:854:in `block in
install'
        from /home/<username>/ruby/lib/fileutils.rb:1423:in `block in
fu_each_src_dest'
        from /home/<username>/ruby/lib/fileutils.rb:1437:in
`fu_each_src_dest0'
        from /home/<username>/ruby/lib/fileutils.rb:1421:in
`fu_each_src_dest'
        from /home/<username>/ruby/lib/fileutils.rb:850:in `install'
        from ./tool/rbinstall.rb:156:in `install'
        from ./tool/rbinstall.rb:317:in `block in <main>'
        from ./tool/rbinstall.rb:583:in `call'
        from ./tool/rbinstall.rb:583:in `block (2 levels) in <main>'
        from ./tool/rbinstall.rb:580:in `each'
        from ./tool/rbinstall.rb:580:in `block in <main>'
        from ./tool/rbinstall.rb:576:in `each'
        from ./tool/rbinstall.rb:576:in `<main>'
make: *** [do-install-all] Ошибка 1

****  Установка неудачна. Отменяется создание пакета.

Очищается...OK

Удачи.

What can be the cause of the error? How can I tackle it?

Thanks.

Debian GNU/Linux 6.0.1;
Checkinstall 1.6.2.

On Fri, 08 Apr 2011 21:37:50 +0900, P. A. wrote:

Hi.

Checkinstall fails to create a Ruby 1.9.2 package

What can be the cause of the error? How can I tackle it?

Thanks.

Debian GNU/Linux 6.0.1;
Checkinstall 1.6.2.

Just install Debian’s ruby1.9.1 package, which is really ruby 1.9.2.

The patch level is different. It’s critical for some applications.

I think, I have to avail myself of your advise.

Thanks, Iñaki.

2011/4/8 P. A. [email protected]:

The patch level is different. It’s critical for some applications.

You can try installing the Debian Sid package which is 1.9.2.180-2:

Debian -- Package Search Results -- ruby1.9.1

On Sat, 09 Apr 2011 01:22:20 +0900, P. A. wrote:

The patch level is different. It’s critical for some applications.

Well, then do the update the right way, namely

apt-get source ruby1.9.1
download the new version into a tarball (let’s call it ruby1.9.2pXXX)
cd ruby1.9.1-1.9.2.180
uupdate …/ruby1.9.2pXXX.tar.gz
cd to the new directory
dpkg-buildpackage -rfakeroot