Skip to content

fpm '-e' (--edit) flag exec error ? #368

zhangmh2 opened this Issue Feb 25, 2013 · 4 comments

3 participants


(my_python)[root@mail python]# fpm -s rpm -t rpm -e python26-distribute-0.6.35-1.noarch.rpm
/usr/local/lib/ruby/gems/1.8/gems/arr-pm-0.0.7/lib/arr-pm/file.rb:102:in extract': undefined methodforce_encoding' for "":String (NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/fpm-0.4.26/lib/fpm/package/rpm.rb:214:in input'
from /usr/local/lib/ruby/gems/1.8/gems/fpm-0.4.26/lib/fpm/command.rb:316:in
from /usr/local/lib/ruby/gems/1.8/gems/fpm-0.4.26/lib/fpm/command.rb:315:in each'
from /usr/local/lib/ruby/gems/1.8/gems/fpm-0.4.26/lib/fpm/command.rb:315:in
from /usr/local/lib/ruby/gems/1.8/gems/clamp-0.3.1/lib/clamp/command.rb:64:in run'
from /usr/local/lib/ruby/gems/1.8/gems/clamp-0.3.1/lib/clamp/command.rb:126:in
from /usr/local/lib/ruby/gems/1.8/gems/fpm-0.4.26/bin/fpm:8
from /usr/local/bin/fpm:19:in `load'
from /usr/local/bin/fpm:19
(my_python)[root@mail python]#
gzip: stdin: unexpected end of file
cpio: premature end of archive


I want to output by the the fpm -e flag Export a SPEC file, but the execution error


Ahh, this is a bug in fpm.

Can you include the output of ruby --version in this ticket?


I use command by "/usr/local/bin/ruby --version"

ruby 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux]

r4um commented Apr 22, 2013

Resolved with arr-pm update since version 0.4.30.

@r4um r4um closed this Apr 22, 2013
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.