Hi, The fix for this but is quite simple: You upgraded your build-depends, but several files were still referencing ruby1.6 - Which didn't fail in your system as you still had it installed.
I am attaching here the patch and uploading an NMU; I tested the build in a pbuilder, and works correctly. Greetings, -- Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
--- rsjog-1.1/debian/changelog 2006-08-13 13:36:49.000000000 -0500 +++ rsjog-1.1.NMU/debian/changelog 2006-08-13 13:35:38.000000000 -0500 @@ -1,3 +1,14 @@ +rsjog (1.1-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Changed hard-coded references to Ruby 1.6 to use 1.8 instead + (Closes: #379589) + * Specified sitedir as part of the install target, as otherwise we + were installing XTest in /usr/local (perhaps there is a cleaner way + to do this?) + + -- Gunnar Wolf <[EMAIL PROTECTED]> Sun, 13 Aug 2006 13:35:38 -0500 + rsjog (1.1-5) unstable; urgency=low * Build aginst ruby1.8.(Closes:Bug#1367089) --- rsjog-1.1/debian/rules 2006-08-13 13:36:49.000000000 -0500 +++ rsjog-1.1.NMU/debian/rules 2006-08-13 13:34:32.000000000 -0500 @@ -53,7 +53,7 @@ dh_installdirs # Add here commands to install the package into debian/rsjog. - $(MAKE) install DESTDIR=$(CURDIR)/debian/rsjog + $(MAKE) install DESTDIR=$(CURDIR)/debian/rsjog sitedir=$(CURDIR)/debian/rsjog/usr/lib/ruby # Build architecture-independent files here. --- rsjog-1.1/Makefile 2006-08-13 13:36:49.000000000 -0500 +++ rsjog-1.1.NMU/Makefile 2006-08-13 13:07:44.000000000 -0500 @@ -4,7 +4,7 @@ PREFIX = $(DESTDIR)/usr/bin all: - @cd XTest && ruby1.6 extconf.rb && make + @cd XTest && ruby1.8 extconf.rb && make install: @cd XTest && make install --- rsjog-1.1/XTest/extconf.rb 2006-08-13 13:36:49.000000000 -0500 +++ rsjog-1.1.NMU/XTest/extconf.rb 2006-08-13 13:07:44.000000000 -0500 @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.6 -w +#!/usr/bin/ruby1.8 -w require 'mkmf' --- rsjog-1.1/XTest/test.rb 2006-08-13 13:36:49.000000000 -0500 +++ rsjog-1.1.NMU/XTest/test.rb 2006-08-13 13:07:44.000000000 -0500 @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.6 -w +#!/usr/bin/ruby1.8 -w require 'XTest'