Source: xmms2 Version: 0.8+dfsg-12 Tags: patch Severity: serious Justification: fails to build from source
Dear Maintainer, xmms2 fails to build in sid currently [1]: Checking for program ruby : /usr/bin/ruby2.2 ruby : 1.8.0 command ['/usr/bin/ruby2.2', '-rrbconfig', '-e', "puts Config::CONFIG['archdir']"] returned 1 debian/rules:39: recipe for target 'override_dh_auto_configure' failed Attached patch fixes this by using RbConfig instead of the obsolete Config. Best regards, Andreas 1: https://reproducible.debian.net/rb-pkg/unstable/amd64/xmms2.html
--- /dev/null +++ b/debian/patches/ruby2.2-RbConfig.patch @@ -0,0 +1,16 @@ +Description: Use RbConfig instead of Config + +Author: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> +Last-Update: <2015-07-15> + +--- a/waflib/Tools/ruby.py ++++ b/waflib/Tools/ruby.py +@@ -45,7 +45,7 @@ def check_ruby_ext_devel(self): + def read_out(cmd): + return Utils.to_list(self.cmd_and_log([self.env.RUBY,'-rrbconfig','-e',cmd])) + def read_config(key): +- return read_out('puts Config::CONFIG[%r]'%key) ++ return read_out('puts RbConfig::CONFIG[%r]'%key) + ruby=self.env['RUBY'] + archdir=read_config('archdir') + cpppath=archdir --- a/debian/patches/series +++ b/debian/patches/series @@ -14,3 +14,4 @@ fix-libmodplug-include.patch samba-with-pkg-cfg.patch ruby2-multiarch.patch libav10.patch +ruby2.2-RbConfig.patch