Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error converting from rpm #316

Closed
dblacka opened this Issue · 1 comment

2 participants

@dblacka

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:in `input': 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:in `block 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:in `execute'
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:in `run'
from /usr/lib64/ruby/gems/1.9.1/gems/fpm-0.4.25/bin/fpm:8:in `<top (required)>'
from /usr/bin/fpm:19:in `load'
from /usr/bin/fpm:19:in `<main>'

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

@rtucker-mozilla rtucker-mozilla referenced this issue from a commit in rtucker-mozilla/fpm
Rob Tucker Bandaid fix for Issue #316. Without digging too deep into commmit a88… af63a63
@jordansissel jordansissel closed this issue from a commit
@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)
65f6bb1
@jordansissel
Owner

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

Will show up in the next release!

@prof-milki prof-milki referenced this issue from a commit in prof-milki/xpm
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 referenced this issue from a commit in prof-milki/xpm
@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 referenced this issue from a commit
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.