It turns out not to be very hard to coerce it back to a buildable state with 
ruby1.8.  NMU diff attached.  Uploading since it's an RC bug over a month old 
with no maintainer response.

Scott K
diff -u merb-1.0.12+dfsg/debian/changelog merb-1.0.12+dfsg/debian/changelog
--- merb-1.0.12+dfsg/debian/changelog
+++ merb-1.0.12+dfsg/debian/changelog
@@ -1,3 +1,12 @@
+merb (1.0.12+dfsg-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Switch all 22 (maybe it's 19, it's hard to count) instances of
+    /usr/bin/ruby in debian/rules to /usr/bin/ruby1.8 so that merb ruby1.8
+    during the build now that ruby1.8 is no longer default (Closes: #676078)
+
+ -- Scott Kitterman <sc...@kitterman.com>  Tue, 10 Jul 2012 23:15:04 -0400
+
 merb (1.0.12+dfsg-4) unstable; urgency=low
 
   * Add merb-param-protection package.
diff -u merb-1.0.12+dfsg/debian/rules merb-1.0.12+dfsg/debian/rules
--- merb-1.0.12+dfsg/debian/rules
+++ merb-1.0.12+dfsg/debian/rules
@@ -134,45 +134,45 @@
 
 install/libmerb-core-ruby1.8::
 	$(MERB_CORE_INSTALL_SETUP_CMD)
-	(cd merb-core && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
-	(cd merb-core && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) setup)
-	(cd merb-core && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-core-ruby1.8)
+	(cd merb-core && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
+	(cd merb-core && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) setup)
+	(cd merb-core && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-core-ruby1.8)
 	mv $(CURDIR)/debian/libmerb-core-ruby1.8/usr/bin/merb $(CURDIR)/debian/merb-core/usr/bin/
 	rm $(CURDIR)/debian/libmerb-core-ruby1.8/usr/bin/merb-specs
 	rmdir $(CURDIR)/debian/libmerb-core-ruby1.8/usr/bin/
 
 install/libmerb-haml-ruby1.8::
 	$(MERB_HAML_INSTALL_SETUP_CMD)
-	(cd merb-haml && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
-	(cd merb-haml && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) setup)
-	(cd merb-haml && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-haml-ruby1.8)
+	(cd merb-haml && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
+	(cd merb-haml && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) setup)
+	(cd merb-haml && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-haml-ruby1.8)
 
 install/libmerb-slices-ruby1.8::
 	$(MERB_SLICES_INSTALL_SETUP_CMD)
-	(cd merb-slices && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
-	(cd merb-slices && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) setup)
-	(cd merb-slices && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-slices-ruby1.8)
+	(cd merb-slices && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
+	(cd merb-slices && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) setup)
+	(cd merb-slices && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-slices-ruby1.8)
 	rm $(CURDIR)/debian/libmerb-slices-ruby1.8/usr/lib/ruby/1.8/generators/templates/common/LICENSE
 	mv $(CURDIR)/debian/libmerb-slices-ruby1.8/usr/bin/slice $(CURDIR)/debian/merb-slices/usr/bin/merb-slice
 	rmdir $(CURDIR)/debian/libmerb-slices-ruby1.8/usr/bin/
 
 install/libmerb-assets-ruby1.8::
 	$(MERB_ASSETS_INSTALL_SETUP_CMD)
-	(cd merb-assets && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
-	(cd merb-assets && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) setup)
-	(cd merb-assets && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-assets-ruby1.8)
+	(cd merb-assets && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
+	(cd merb-assets && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) setup)
+	(cd merb-assets && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-assets-ruby1.8)
 
 install/libmerb-helpers-ruby1.8::
 	$(MERB_HELPERS_INSTALL_SETUP_CMD)
-	(cd merb-helpers && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
-	(cd merb-helpers && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) setup)
-	(cd merb-helpers && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-helpers-ruby1.8)
+	(cd merb-helpers && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
+	(cd merb-helpers && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) setup)
+	(cd merb-helpers && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-helpers-ruby1.8)
 
 install/libmerb-param-protection-ruby1.8::
 	$(MERB_PARAM_PROTECTION_INSTALL_SETUP_CMD)
-	(cd merb-param-protection && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
-	(cd merb-param-protection && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) setup)
-	(cd merb-param-protection && /usr/bin/ruby $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-param-protection-ruby1.8)
+	(cd merb-param-protection && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS))
+	(cd merb-param-protection && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) setup)
+	(cd merb-param-protection && /usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) install --prefix=../debian/libmerb-param-protection-ruby1.8)
 
 install/libmerb-ruby-doc::
 	rdoc --all --inline-source --fileboxes --line-numbers --fmt=html -o debian/$(cdbs_curpkg)/usr/share/doc/libmerb-ruby-doc/rdoc merb-core/lib merb-haml/lib merb-helpers/lib merb-assets/lib merb-slices/lib merb-param-protection/lib
@@ -185,7 +185,7 @@
 	$(MERB_ASSETS_INSTALL_SETUP_CMD)
 	$(MERB_HELPERS_INSTALL_SETUP_CMD)
 	$(MERB_PARAM_PROTECTION_INSTALL_SETUP_CMD)
-	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) distclean
+	/usr/bin/ruby1.8 $(DEB_RUBY_SETUP_CMD) distclean
 	$(DEB_RUBY_REMOVE_SETUP_CMD)
 	$(MERB_CORE_REMOVE_SETUP_CMD)
 	$(MERB_HAML_REMOVE_SETUP_CMD)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to