[DRE-maint] Bug#783508: ruby-jquery-ui-rails: bad spec.files in rails-assets-jquery-ui.gemspec

Aaron M. Ucko ucko at debian.org
Mon Apr 27 15:45:51 UTC 2015


Package: ruby-jquery-ui-rails
Version: 4.2.0-4
Severity: important

rails-assets-jquery-ui.gemspec tries to set spec.files dynamically, as

  spec.files         = `find ./* -type f | cut -b 3-`.split($/)

However, this find command starts from the overall Ruby process's
current directory, which could be anything.  Moreover, the rubygems
module processes this file whether or not the application has any
actual interest in this gem.

As such, gem-using scripts launched from dpkg maintainer scripts,
which start with a current directory of /, wind up listing the
contents of all mounted filesystems, which can be particularly
problematic with remote filesystems along the lines of OpenAFS.

Could you please take a look, and either explicitly set spec.files in
advance or at least ensure find starts in the intended directory?

Thanks!

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ruby-jquery-ui-rails depends on:
ii  libjs-jquery-ui               1.10.1+dfsg-1
ii  ruby                          1:2.1.5
ii  ruby-railties                 2:4.1.8-1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-2
ii  ruby2.0 [ruby-interpreter]    2.0.0.484+really457-3
ii  ruby2.1 [ruby-interpreter]    2.1.5-3
ii  ruby2.2 [ruby-interpreter]    2.2.1-1

ruby-jquery-ui-rails recommends no packages.

ruby-jquery-ui-rails suggests no packages.

-- no debconf information



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