[DRE-maint] Bug#637581: ruby-rspec-core: installs autotest files to /usr/lib/ruby/vendor_lib

Antonio Terceiro terceiro at debian.org
Fri Aug 12 19:20:25 UTC 2011


Package: ruby-rspec-core
Version: 2.5.1-1
Severity: normal

Trying the cucumber package, I've got the following error:

terceiro at morere:~/src/debian/pkg-ruby-extras/cucumber (master)$ sudo debi
Selecionando pacote previamente não selecionado cucumber.
(Lendo banco de dados ... 253354 ficheiros e directórios actualmente instalados.)
Desempacotando cucumber (de cucumber_1.0.2-1_all.deb) ...
dpkg: erro processando cucumber_1.0.2-1_all.deb (--install):
 a tentar sobre-escrever '/usr/lib/ruby/vendor_ruby/autotest/discover.rb', que também está no pacote ruby-rspec-core 2.5.1-1
Erros foram encontrados durante o processamento de:
 cucumber_1.0.2-1_all.deb
debi: debpkg -i failed

The output is in Portuguese, but the problem is that both cucumber and
ruby-rspec-core had a file called /usr/lib/ruby/vendor_ruby/autotest/discover.rb.

These autotest files are intended to use by the upstream developers as a helper
for the autotest tool in the ZenTest package [1], but they are not supposed to
be installed by Debian packages (except in the case someone ever packages
ZenTest itself, which does have valid files under the autotest/ namespace).

[1] http://rubygems.org/gems/ZenTest

For now I am removing the autotest files in cucumber debian/rules, but this
should probably be handled by gem2deb.

Anyway, ruby-rspec-core should not ship any files in
/usr/lib/ruby/vendor_ruby/autotest

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-rspec-core depends on:
ii  ruby1.8 [ruby-interpreter]   1.8.7.352-2 Interpreter of object-oriented scr
ii  ruby1.9.1 [ruby-interpreter] 1.9.2.290-2 Interpreter of object-oriented scr

ruby-rspec-core recommends no packages.

Versions of packages ruby-rspec-core suggests:
ii  ruby-rspec                    2.5.0-1    Behaviour Driven Development frame

-- no debconf information

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20110812/6a40a165/attachment.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list