Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error converting from rpm #316

Closed
dblacka opened this Issue Dec 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants

dblacka commented Dec 11, 2012

With the latest version of fpm (0.4.25), converting from an RPM to some other format (I tried deb), fails with this error:

/usr/lib64/ruby/gems/1.9.1/gems/fpm-0.4.25/lib/fpm/package/rpm.rb:190:ininput': undefined method directories' for #<RPM::File:0x00000000b05068> (NoMethodError) from /usr/lib64/ruby/gems/1.9.1/gems/fpm-0.4.25/lib/fpm/command.rb:316:inblock in execute'
from /usr/lib64/ruby/gems/1.9.1/gems/fpm-0.4.25/lib/fpm/command.rb:315:in each' from /usr/lib64/ruby/gems/1.9.1/gems/fpm-0.4.25/lib/fpm/command.rb:315:inexecute'
from /usr/lib64/ruby/gems/1.9.1/gems/clamp-0.3.1/lib/clamp/command.rb:64:in run' from /usr/lib64/ruby/gems/1.9.1/gems/clamp-0.3.1/lib/clamp/command.rb:126:inrun'
from /usr/lib64/ruby/gems/1.9.1/gems/fpm-0.4.25/bin/fpm:8:in <top (required)>' from /usr/bin/fpm:19:inload'
from /usr/bin/fpm:19:in <main>'

This problem appears to have been introduced with pull request #260 (really SHA: a88cca4)

Owner

jordansissel commented Jan 2, 2013

Thanks to some prodding by @rtucker-mozilla, this is fixed.

Will show up in the next release!

@prof-milki prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014

jls - There is no RPM::File#directories method, plus it seems like rpm
  doesn't even record the "%dir" data, instead it just packages an empty
  directory into the cpio.

  fixes #316, based on #325 (patch by rtucker-mozilla)
e1237ac

@prof-milki prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014

@jordansissel jordansissel - There is no RPM::File#directories method, plus it seems like rpm
  doesn't even record the "%dir" data, instead it just packages an empty
  directory into the cpio.

  fixes #316, based on #325 (patch by rtucker-mozilla)
8afcc6c

@jordansissel jordansissel added a commit that referenced this issue Apr 24, 2015

@jordansissel jordansissel - There is no RPM::File#directories method, plus it seems like rpm
  doesn't even record the "%dir" data, instead it just packages an empty
  directory into the cpio.

  fixes #316, based on #325 (patch by rtucker-mozilla)
77062f7

@jordansissel jordansissel added a commit that referenced this issue Jun 20, 2016

@jordansissel jordansissel - There is no RPM::File#directories method, plus it seems like rpm
  doesn't even record the "%dir" data, instead it just packages an empty
  directory into the cpio.

  fixes #316, based on #325 (patch by rtucker-mozilla)
c037dbf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment