Bug#892131: gem2deb: generates spurious dependencies on ruby

2018-03-13 Thread Aurelien Jarno
control: severity -1 serious

On 2018-03-05 23:09, Sven Joachim wrote:
> Package: gem2deb
> Version: 0.38
> Severity: important
> 
> In the last binNMU of redland-bindings, both librdf-perl and
> python-librdf gained a dependency on ruby (<< 1:2.6~).  This cannot be
> right, since these packages have nothing to do with ruby whatsoever.

As we have some essential packages like libselinux that have a ruby
binding, and upload of any of them would make ruby de facto essential.
I am therefore raising the severity.

> Most likely the fix for #889470 is responsible for this, but I know
> nothing about ruby.

Indeed I confirm that:

--- a/bin/dh_ruby_fixdepends
+++ b/bin/dh_ruby_fixdepends
@@ -40,7 +40,8 @@ include Gem2Deb
   std_deps << dep
 end
   end
-  newdeps = (std_deps + [libruby_deps.join(' | ')] + [ruby_deps.join(' | 
')]).join(', ')
+  upper_bound = RubyDebianDev.ruby_upper_bound
+  newdeps = (std_deps + [libruby_deps.join(' | ')] + [ruby_deps.join(' | 
')] + [upper_bound]).join(', ')
   fd.puts "shlibs:Depends=#{newdeps}"
 else
   fd.puts l

The upper_bound should only be added if libruby_deps or ruby_deps are not empty.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#892131: gem2deb: generates spurious dependencies on ruby

2018-03-05 Thread Sven Joachim
Package: gem2deb
Version: 0.38
Severity: important

In the last binNMU of redland-bindings, both librdf-perl and
python-librdf gained a dependency on ruby (<< 1:2.6~).  This cannot be
right, since these packages have nothing to do with ruby whatsoever.

Most likely the fix for #889470 is responsible for this, but I know
nothing about ruby.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.15.7-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)