Comment 29 for bug 518122

Revision history for this message
Lucas Nussbaum (lucas) wrote :

This bug renders librmagick-ruby unusable in lucid. It was fixed in maverick since a newer was synced from Debian, hence rebuilt.
Rebuilding the package against the version of imagemagick in lucid is enough to fix the bug, though a more long-term solution would be better to prevent it from happening again. Debian bug about that: #591419.

Test case:
apt-get install ruby1.8 librmagick-ruby
# ruby1.8 -e "require 'RMagick'"
/usr/lib/ruby/1.8/x86_64-linux/RMagick2.so: This installation of RMagick was configured with ImageMagick 6.5.5 but ImageMagick 6.5.7-8 is in use. (RuntimeError)
 from /usr/lib/ruby/1.8/RMagick.rb:11
 from -e:1:in `require'
 from -e:1

Patch (uploaded to lucid-proposed):
diff -u librmagick-ruby-2.11.1/debian/changelog librmagick-ruby-2.11.1/debian/changelog
--- librmagick-ruby-2.11.1/debian/changelog
+++ librmagick-ruby-2.11.1/debian/changelog
@@ -1,3 +1,10 @@
+librmagick-ruby (2.11.1-1ubuntu0.1) lucid-proposed; urgency=low
+
+ * No-changes upload to build against the imagemagick version in Lucid, and
+ avoid RMagick's version check. LP: #518122
+
+ -- Lucas Nussbaum <email address hidden> Tue, 24 Aug 2010 10:56:24 +0200
+
 librmagick-ruby (2.11.1-1) unstable; urgency=low

   * New upstream release