Control: tag -1 + pending Hi Michael,
Axel Beckert wrote: > Package: glark > Version: 1.8.0-1 > Severity: grave > Justification: Wrong/missing dependency, does only work after changing a > system's ruby default version > Tags: wheezy jessie sid patch > > Dear Maintainer, > > while glark 1.8.0-1 seems to work fine on Debian Squeeze, it no more > does so on Wheezy: > > $ glark [Many lines of error messages] > The default ruby version since Wheezy is 1.9.3. But even with installing > the ruby1.8 package and calling "ruby1.8 /usr/bin/glark" does not help. > > The only thing which helps so far is installing ruby1.8 (but glark's > dependency unconditionally pulls in ruby 1.9.x) and then letting > /usr/bin/ruby point to ruby1.8 by running "update-alternatives --config > ruby". [...] > The following patch fixes the issue: I've prepared an NMU for this issue based on my initially posted patch. See attachment for the full diff of the NMU. After I've sent this e-mail, I'll upload the NMU to DELAYED/10. Feel free to tell me if I should delay the NMU for a longer or shorter time -- or even upload it directly to unstable. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
diff -u glark-1.8.0/debian/changelog glark-1.8.0/debian/changelog --- glark-1.8.0/debian/changelog +++ glark-1.8.0/debian/changelog @@ -1,3 +1,12 @@ +glark (1.8.0-1.1) unstable; urgency=low + + * Non-maintainer upload + * Enforce Ruby 1.8 usage (Closes: #724768) + + Patch installed glark binary to use ruby1.8 + + Switch dependency from ruby to rub1.8. + + -- Axel Beckert <a...@debian.org> Wed, 09 Oct 2013 17:52:18 +0200 + glark (1.8.0-1) unstable; urgency=low * New upstream release diff -u glark-1.8.0/debian/control glark-1.8.0/debian/control --- glark-1.8.0/debian/control +++ glark-1.8.0/debian/control @@ -8,7 +8,7 @@ Package: glark Architecture: all -Depends: ruby (>= 1.6.7-3) +Depends: ruby1.8 Description: pattern matching tool similar to grep glark is a program like 'grep' to search for text in files. It can be used from the command line or in scripts. diff -u glark-1.8.0/debian/rules glark-1.8.0/debian/rules --- glark-1.8.0/debian/rules +++ glark-1.8.0/debian/rules @@ -4,0 +5,5 @@ + +install/glark:: + sed -e 's/^exec ruby /exec ruby1.8 /;s/^#!ruby /#!ruby1.8/;s:^#!/usr/bin/ruby :#!/usr/bin/ruby1.8 :' -i \ + $(CURDIR)/debian/glark/usr/bin/glark \ + $(CURDIR)/debian/glark/usr/share/glark/*.rb