bernd / fpm-cookery

A tool for building software packages with fpm.
Other
460 stars 88 forks source link

The omnibustest build is failing? #69

Closed beddari closed 10 years ago

beddari commented 10 years ago

Something with destdir not working? Haven't looked at it .. yet

[root@centos65 omnibustest]# /opt/fpm-refinery/embedded/bin/fpm-cook package recipe.rb
===> Recipe omnibus-test is an Omnibus package; looking for child recipes to build
===> Loading dependency recipe ruby from /vagrant/fpm-cookery/recipes/omnibustest/ruby.rb
/opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/omnibus_packager.rb:29:in `block (2 levels) in load_omnibus_recipes': undefined method `destdir=' for #<Module:0x00000002e6bcf0>::Ruby200 (NoMethodError)
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/book.rb:16:in `call'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/book.rb:16:in `load_recipe'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/omnibus_packager.rb:28:in `block in load_omnibus_recipes'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/omnibus_packager.rb:20:in `each'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/omnibus_packager.rb:20:in `load_omnibus_recipes'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/omnibus_packager.rb:44:in `run'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/cli.rb:108:in `exec'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/cli.rb:76:in `block in execute'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/book.rb:16:in `call'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/book.rb:16:in `load_recipe'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/lib/fpm/cookery/cli.rb:71:in `execute'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/clamp-0.6.3/lib/clamp/command.rb:67:in `run'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/clamp-0.6.3/lib/clamp/subcommand/execution.rb:11:in `execute'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/clamp-0.6.3/lib/clamp/command.rb:67:in `run'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/clamp-0.6.3/lib/clamp/command.rb:125:in `run'
        from /opt/fpm-refinery/embedded/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.20.0/bin/fpm-cook:7:in `<top (required)>'
        from /opt/fpm-refinery/embedded/bin/fpm-cook:23:in `load'
        from /opt/fpm-refinery/embedded/bin/fpm-cook:23:in `<main>'
bernd commented 10 years ago

Yes, that's fallout from my latest changes. :( I'll fix it. Thanks for the report!

beddari commented 10 years ago

No worries, I'm trying to follow and learn why hehe

bernd commented 10 years ago

Fixed in master, will release shortly. Sorry for the delay.

bernd commented 10 years ago

And 0.20.1 is pushed to rubygems.