New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot convert local CPAN module #1202

Closed
liger1978 opened this Issue Oct 9, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@liger1978
Contributor

liger1978 commented Oct 9, 2016

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
oMethodError)
        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

This comment has been minimized.

Contributor

liger1978 commented Oct 9, 2016

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

jordansissel added a commit that referenced this issue Oct 16, 2016

Merge pull request #1203 from liger1978/fix_merge
Ensured result is not nil. Fixes #1202.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment