Cannot convert local CPAN module #1202

liger1978 opened this Issue Oct 9, 2016 · 1 comment


None yet

1 participant


You get the following error when you try to convert a local CPAN module (e.g. to an RPM):

/usr/local/share/gems/gems/fpm-1.6.3/lib/fpm/package/cpan.rb:75:in `input': undefined method `merge' for nil:NilClass (N
        from /usr/local/share/gems/gems/fpm-1.6.3/lib/fpm/command.rb:338:in `block in execute'
        from /usr/local/share/gems/gems/fpm-1.6.3/lib/fpm/command.rb:337:in `each'
        from /usr/local/share/gems/gems/fpm-1.6.3/lib/fpm/command.rb:337:in `execute'
        from /usr/local/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
        from /usr/local/share/gems/gems/fpm-1.6.3/lib/fpm/command.rb:560:in `run'
        from /usr/local/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
        from /usr/local/share/gems/gems/fpm-1.6.3/bin/fpm:8:in `<top (required)>'
        from /usr/local/bin/fpm:23:in `load'
        from /usr/local/bin/fpm:23:in `<main>'

Should be easy to fix. I'll do it and put in a pull request.

@liger1978 liger1978 added a commit to liger1978/fpm that referenced this issue Oct 9, 2016
@liger1978 liger1978 Ensured result is not nil. Fixes #1202. b3f7e6c

I've put in a pull request. Please review and pull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment