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

Closed
zhangmh2 opened this Issue Feb 25, 2013 · 4 comments

Comments

Projects
None yet
3 participants
@zhangmh2

(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:inexecute'
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:inexecute'
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:inrun'
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

@zhangmh2

This comment has been minimized.

Show comment
Hide comment
@zhangmh2

zhangmh2 Feb 25, 2013

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

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

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Feb 25, 2013

Owner

Ahh, this is a bug in fpm.

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

Owner

jordansissel commented Feb 25, 2013

Ahh, this is a bug in fpm.

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

@zhangmh2

This comment has been minimized.

Show comment
Hide comment
@zhangmh2

zhangmh2 Feb 26, 2013

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

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

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

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

@r4um

This comment has been minimized.

Show comment
Hide comment
@r4um

r4um Apr 22, 2013

Collaborator

Resolved with arr-pm update since version 0.4.30.

Collaborator

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