1 2 Previous Next 25 Replies Latest reply: Feb 2, 2011 4:02 PM by Marek Goldmann Go to original post RSS
  • 15. Re: Missing deps for boxgrinder
    Sanjay Arora Newbie

    Marek

     

    Installed smooth as silk! Thanks.

     

    Tried boxgrinder help & boxgrinder --help ....argument error with too much output...a diagnostic dump of some kind...maybe while you are testing.

     

    However, where do I find help on the commandset...can you give an appliance file for centos? I don't know much about rolling from start/minimal install especially for a vm....

     

    Also, once the s3 plugin or ebs plugin is installed, does it create both types of storages automatically or does one have to create & attach ebs to the server before building the vm?

     

    Thanks...appreciate all your help.

    Sanjay.

  • 16. Re: Missing deps for boxgrinder
    Marek Goldmann Master

    Sanjay,

    Installed smooth as silk! Thanks.

    Great!

    Tried boxgrinder help & boxgrinder --help ....argument error with too much output...a diagnostic dump of some kind...maybe while you are testing.

    Please paste the output, I get (on a CentOS 5):

     

    # boxgrinder help build
    
    
    BoxGrinder Build:
      A tool for building VM images from simple definition files.
    
    
    Documentation:
      http://community.jboss.org/docs/DOC-14358
    
    
    Examples:
      $ boxgrinder build jeos.appl                                                           # Build KVM image for jeos.appl
      $ boxgrinder build jeos.appl --os-config format:qcow2                                  # Build KVM image for jeos.appl with a qcow2 disk
      $ boxgrinder build jeos.appl -f                                                        # Build KVM image for jeos.appl with removing previous build for this image
      $ boxgrinder build jeos.appl -p ec2 -d ami                                             # Build and register AMI for jeos.appl
      $ boxgrinder build jeos.appl -p vmware --platform-config type:personal thin_disk:true  # Build VMware image for VMware Server, Player, Fusion using thin (growing) disk
      $ boxgrinder build jeos.appl -p vmware -d local                                        # Build VMware image for jeos.appl and deliver it to local directory
    
    
    Usage:
      boxgrinder build [appliance definition file] [options]
    
    
    Options:
          [--platform-config=key:value]           # Platform plugin options.
      -d, [--delivery=DELIVERY]                   # The delivery method for selected appliance.
                                                  # Default: none
          [--debug]                               # Prints debug information while building. Default: false.
          [--os-config=key:value]                 # Operating system plugin options.
          [--trace]                               # Prints trace information while building. Default: false.
      -f, [--force]                               # Force image creation - removes all previous builds for selected appliance. Default: false.
          [--delivery-config=key:value]           # Delivery plugin options.
      -l, [--additional-plugins=plugin1 plugin2]  # Space separated list of additional plugins. Default: empty.
      -p, [--platform=PLATFORM]                   # The name of platform you want to convert to.
                                                  # Default: none
    
    
    Create an image from selected appliance definition for selected platform and deliver it using selected method.
    
    

     

     

    However, where do I find help on the commandset...can you give an appliance file for centos? I don't know much about rolling from start/minimal install especially for a vm....

    It's simple. We have a Quick Start page, but for new 0.8.0 version and CentOS use:

     

    name: centos-basic
    summary: Just Enough Operating System based on CentOS 5
    os:
      name: centos
      version: 5
    hardware:
      partitions:
        "/":
          size: 2
    packages:
      - @core
    

     

    Also, once the s3 plugin or ebs plugin is installed, does it create both types of storages automatically or does one have to create & attach ebs to the server before building the vm?

    Everything is done automatically!

     

     

     

    --Marek

  • 17. Missing deps for boxgrinder
    Sanjay Arora Newbie

    ~]# boxgrinder help build

    WARNING:  #<ArgumentError: Illformed requirement ["~> 2.0.0.beta.22"]>

    # -*- encoding: utf-8 -*-

     

    Gem::Specification.new do |s|

      s.name = %q{gherkin}

      s.version = "2.2.4"

     

      s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=

      s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Helles\303\270y"]

      s.date = %q{2010-09-21}

      s.default_executable = %q{gherkin}

      s.description = %q{A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.}

      s.email = %q{cukes@googlegroups.com}

      s.executables = ["gherkin"]

      s.extensions = ["ext/gherkin_lexer_ar/extconf.rb", "ext/gherkin_lexer_bg/extconf.rb", "ext/gherkin_lexer_ca/extconf.rb", "ext/gherkin_lexer_cs/extconf.rb", "ext/gherkin_lexer_cy_gb/extconf.rb", "ext/gherkin_lexer_da/extconf.rb", "ext/gherkin_lexer_de/extconf.rb", "ext/gherkin_lexer_en/extconf.rb", "ext/gherkin_lexer_en_au/extconf.rb", "ext/gherkin_lexer_en_lol/extconf.rb", "ext/gherkin_lexer_en_pirate/extconf.rb", "ext/gherkin_lexer_en_scouse/extconf.rb", "ext/gherkin_lexer_en_tx/extconf.rb", "ext/gherkin_lexer_eo/extconf.rb", "ext/gherkin_lexer_es/extconf.rb", "ext/gherkin_lexer_et/extconf.rb", "ext/gherkin_lexer_fi/extconf.rb", "ext/gherkin_lexer_fr/extconf.rb", "ext/gherkin_lexer_he/extconf.rb", "ext/gherkin_lexer_hr/extconf.rb", "ext/gherkin_lexer_hu/extconf.rb", "ext/gherkin_lexer_id/extconf.rb", "ext/gherkin_lexer_it/extconf.rb", "ext/gherkin_lexer_ja/extconf.rb", "ext/gherkin_lexer_ko/extconf.rb", "ext/gherkin_lexer_lt/extconf.rb", "ext/gherkin_lexer_lu/extconf.rb", "ext/gherkin_lexer_lv/extconf.rb", "ext/gherkin_lexer_nl/extconf.rb", "ext/gherkin_lexer_no/extconf.rb", "ext/gherkin_lexer_pl/extconf.rb", "ext/gherkin_lexer_pt/extconf.rb", "ext/gherkin_lexer_ro/extconf.rb", "ext/gherkin_lexer_ro_ro/extconf.rb", "ext/gherkin_lexer_ru/extconf.rb", "ext/gherkin_lexer_sk/extconf.rb", "ext/gherkin_lexer_sr_cyrl/extconf.rb", "ext/gherkin_lexer_sr_latn/extconf.rb", "ext/gherkin_lexer_sv/extconf.rb", "ext/gherkin_lexer_tr/extconf.rb", "ext/gherkin_lexer_uk/extconf.rb", "ext/gherkin_lexer_uz/extconf.rb", "ext/gherkin_lexer_vi/extconf.rb", "ext/gherkin_lexer_zh_cn/extconf.rb", "ext/gherkin_lexer_zh_tw/extconf.rb"]

      s.extra_rdoc_files = ["LICENSE", "README.rdoc", "History.txt"]

      s.files = [".gitattributes", ".gitignore", ".mailmap", ".rspec", ".rvmrc", "Gemfile", "History.txt", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "bin/gherkin", "build_native_gems.sh", "cucumber.yml", "features/escaped_pipes.feature", "features/feature_parser.feature", "features/json_formatter.feature", "features/json_parser.feature", "features/native_lexer.feature", "features/parser_with_native_lexer.feature", "features/pretty_formatter.feature", "features/step_definitions/eyeball_steps.rb", "features/step_definitions/gherkin_steps.rb", "features/step_definitions/json_formatter_steps.rb", "features/step_definitions/json_parser_steps.rb", "features/step_definitions/pretty_formatter_steps.rb", "features/steps_parser.feature", "features/support/env.rb", "gherkin.gemspec", "ikvm/.gitignore", "java/.gitignore", "java/src/main/java/gherkin/lexer/i18n/.gitignore", "java/src/main/resources/gherkin/.gitignore", "lib/.gitignore", "lib/gherkin.rb", "lib/gherkin/c_lexer.rb", "lib/gherkin/cli/main.rb", "lib/gherkin/formatter/argument.rb", "lib/gherkin/formatter/colors.rb", "lib/gherkin/formatter/escaping.rb", "lib/gherkin/formatter/filter_formatter.rb", "lib/gherkin/formatter/json_formatter.rb", "lib/gherkin/formatter/line_filter.rb", "lib/gherkin/formatter/model.rb", "lib/gherkin/formatter/monochrome_format.rb", "lib/gherkin/formatter/pretty_formatter.rb", "lib/gherkin/formatter/regexp_filter.rb", "lib/gherkin/formatter/tag_count_formatter.rb", "lib/gherkin/formatter/tag_filter.rb", "lib/gherkin/i18n.rb", "lib/gherkin/i18n.yml", "lib/gherkin/json_parser.rb", "lib/gherkin/lexer/i18n_lexer.rb", "lib/gherkin/listener/event.rb", "lib/gherkin/listener/formatter_listener.rb", "lib/gherkin/native.rb", "lib/gherkin/native/ikvm.rb", "lib/gherkin/native/java.rb", "lib/gherkin/native/null.rb", "lib/gherkin/parser/meta.txt", "lib/gherkin/parser/parser.rb", "lib/gherkin/parser/root.txt", "lib/gherkin/parser/steps.txt", "lib/gherkin/rb_lexer.rb", "lib/gherkin/rb_lexer/.gitignore", "lib/gherkin/rb_lexer/README.rdoc", "lib/gherkin/rubify.rb", "lib/gherkin/tag_expression.rb", "lib/gherkin/tools.rb", "lib/gherkin/tools/files.rb", "lib/gherkin/tools/reformat.rb", "lib/gherkin/tools/stats.rb", "lib/gherkin/tools/stats_listener.rb", "lib/gherkin/version.rb", "ragel/i18n/.gitignore", "ragel/lexer.c.rl.erb", "ragel/lexer.java.rl.erb", "ragel/lexer.rb.rl.erb", "ragel/lexer_common.rl.erb", "spec/gherkin/c_lexer_spec.rb", "spec/gherkin/fixtures/1.feature", "spec/gherkin/fixtures/comments_in_table.feature", "spec/gherkin/fixtures/complex.feature", "spec/gherkin/fixtures/complex.json", "spec/gherkin/fixtures/complex_for_filtering.feature", "spec/gherkin/fixtures/complex_with_tags.feature", "spec/gherkin/fixtures/dos_line_endings.feature", "spec/gherkin/fixtures/hantu_pisang.feature", "spec/gherkin/fixtures/i18n_fr.feature", "spec/gherkin/fixtures/i18n_no.feature", "spec/gherkin/fixtures/i18n_zh-CN.feature", "spec/gherkin/fixtures/scenario_outline_with_tags.feature", "spec/gherkin/fixtures/scenario_without_steps.feature", "spec/gherkin/fixtures/simple_with_comments.feature", "spec/gherkin/fixtures/simple_with_tags.feature", "spec/gherkin/fixtures/with_bom.feature", "spec/gherkin/formatter/argument_spec.rb", "spec/gherkin/formatter/colors_spec.rb", "spec/gherkin/formatter/filter_formatter_spec.rb", "spec/gherkin/formatter/model_spec.rb", "spec/gherkin/formatter/pretty_formatter_spec.rb", "spec/gherkin/formatter/spaces.feature", "spec/gherkin/formatter/tabs.feature", "spec/gherkin/formatter/tag_count_formatter_spec.rb", "spec/gherkin/i18n_spec.rb", "spec/gherkin/java_lexer_spec.rb", "spec/gherkin/json.rb", "spec/gherkin/json_parser_spec.rb", "spec/gherkin/lexer/i18n_lexer_spec.rb", "spec/gherkin/output_stream_string_io.rb", "spec/gherkin/parser/parser_spec.rb", "spec/gherkin/rb_lexer_spec.rb", "spec/gherkin/sexp_recorder.rb", "spec/gherkin/shared/lexer_group.rb", "spec/gherkin/shared/py_string_group.rb", "spec/gherkin/shared/row_group.rb", "spec/gherkin/shared/tags_group.rb", "spec/gherkin/tag_expression_spec.rb", "spec/spec_helper.rb", "tasks/bench.rake", "tasks/bench/feature_builder.rb", "tasks/bench/generated/.gitignore", "tasks/bench/null_listener.rb", "tasks/compile.rake", "tasks/cucumber.rake", "tasks/gems.rake", "tasks/ikvm.rake", "tasks/ragel_task.rb", "tasks/rdoc.rake", "tasks/release.rake", "tasks/rspec.rake", "lib/gherkin/rb_lexer/ar.rb", "lib/gherkin/rb_lexer/bg.rb", "lib/gherkin/rb_lexer/ca.rb", "lib/gherkin/rb_lexer/cs.rb", "lib/gherkin/rb_lexer/cy_gb.rb", "lib/gherkin/rb_lexer/da.rb", "lib/gherkin/rb_lexer/de.rb", "lib/gherkin/rb_lexer/en.rb", "lib/gherkin/rb_lexer/en_au.rb", "lib/gherkin/rb_lexer/en_lol.rb", "lib/gherkin/rb_lexer/en_pirate.rb", "lib/gherkin/rb_lexer/en_scouse.rb", "lib/gherkin/rb_lexer/en_tx.rb", "lib/gherkin/rb_lexer/eo.rb", "lib/gherkin/rb_lexer/es.rb", "lib/gherkin/rb_lexer/et.rb", "lib/gherkin/rb_lexer/fi.rb", "lib/gherkin/rb_lexer/fr.rb", "lib/gherkin/rb_lexer/he.rb", "lib/gherkin/rb_lexer/hr.rb", "lib/gherkin/rb_lexer/hu.rb", "lib/gherkin/rb_lexer/id.rb", "lib/gherkin/rb_lexer/it.rb", "lib/gherkin/rb_lexer/ja.rb", "lib/gherkin/rb_lexer/ko.rb", "lib/gherkin/rb_lexer/lt.rb", "lib/gherkin/rb_lexer/lu.rb", "lib/gherkin/rb_lexer/lv.rb", "lib/gherkin/rb_lexer/nl.rb", "lib/gherkin/rb_lexer/no.rb", "lib/gherkin/rb_lexer/pl.rb", "lib/gherkin/rb_lexer/pt.rb", "lib/gherkin/rb_lexer/ro.rb", "lib/gherkin/rb_lexer/ro_ro.rb", "lib/gherkin/rb_lexer/ru.rb", "lib/gherkin/rb_lexer/sk.rb", "lib/gherkin/rb_lexer/sr_cyrl.rb", "lib/gherkin/rb_lexer/sr_latn.rb", "lib/gherkin/rb_lexer/sv.rb", "lib/gherkin/rb_lexer/tr.rb", "lib/gherkin/rb_lexer/uk.rb", "lib/gherkin/rb_lexer/uz.rb", "lib/gherkin/rb_lexer/vi.rb", "lib/gherkin/rb_lexer/zh_cn.rb", "lib/gherkin/rb_lexer/zh_tw.rb", "ext/gherkin_lexer_ar/gherkin_lexer_ar.c", "ext/gherkin_lexer_bg/gherkin_lexer_bg.c", "ext/gherkin_lexer_ca/gherkin_lexer_ca.c", "ext/gherkin_lexer_cs/gherkin_lexer_cs.c", "ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c", "ext/gherkin_lexer_da/gherkin_lexer_da.c", "ext/gherkin_lexer_de/gherkin_lexer_de.c", "ext/gherkin_lexer_en/gherkin_lexer_en.c", "ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c", "ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c", "ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c", "ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c", "ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c", "ext/gherkin_lexer_eo/gherkin_lexer_eo.c", "ext/gherkin_lexer_es/gherkin_lexer_es.c", "ext/gherkin_lexer_et/gherkin_lexer_et.c", "ext/gherkin_lexer_fi/gherkin_lexer_fi.c", "ext/gherkin_lexer_fr/gherkin_lexer_fr.c", "ext/gherkin_lexer_he/gherkin_lexer_he.c", "ext/gherkin_lexer_hr/gherkin_lexer_hr.c", "ext/gherkin_lexer_hu/gherkin_lexer_hu.c", "ext/gherkin_lexer_id/gherkin_lexer_id.c", "ext/gherkin_lexer_it/gherkin_lexer_it.c", "ext/gherkin_lexer_ja/gherkin_lexer_ja.c", "ext/gherkin_lexer_ko/gherkin_lexer_ko.c", "ext/gherkin_lexer_lt/gherkin_lexer_lt.c", "ext/gherkin_lexer_lu/gherkin_lexer_lu.c", "ext/gherkin_lexer_lv/gherkin_lexer_lv.c", "ext/gherkin_lexer_nl/gherkin_lexer_nl.c", "ext/gherkin_lexer_no/gherkin_lexer_no.c", "ext/gherkin_lexer_pl/gherkin_lexer_pl.c", "ext/gherkin_lexer_pt/gherkin_lexer_pt.c", "ext/gherkin_lexer_ro/gherkin_lexer_ro.c", "ext/gherkin_lexer_ro_ro/gherkin_lexer_ro_ro.c", "ext/gherkin_lexer_ru/gherkin_lexer_ru.c", "ext/gherkin_lexer_sk/gherkin_lexer_sk.c", "ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c", "ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c", "ext/gherkin_lexer_sv/gherkin_lexer_sv.c", "ext/gherkin_lexer_tr/gherkin_lexer_tr.c", "ext/gherkin_lexer_uk/gherkin_lexer_uk.c", "ext/gherkin_lexer_uz/gherkin_lexer_uz.c", "ext/gherkin_lexer_vi/gherkin_lexer_vi.c", "ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c", "ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c", "ext/gherkin_lexer_ar/extconf.rb", "ext/gherkin_lexer_bg/extconf.rb", "ext/gherkin_lexer_ca/extconf.rb", "ext/gherkin_lexer_cs/extconf.rb", "ext/gherkin_lexer_cy_gb/extconf.rb", "ext/gherkin_lexer_da/extconf.rb", "ext/gherkin_lexer_de/extconf.rb", "ext/gherkin_lexer_en/extconf.rb", "ext/gherkin_lexer_en_au/extconf.rb", "ext/gherkin_lexer_en_lol/extconf.rb", "ext/gherkin_lexer_en_pirate/extconf.rb", "ext/gherkin_lexer_en_scouse/extconf.rb", "ext/gherkin_lexer_en_tx/extconf.rb", "ext/gherkin_lexer_eo/extconf.rb", "ext/gherkin_lexer_es/extconf.rb", "ext/gherkin_lexer_et/extconf.rb", "ext/gherkin_lexer_fi/extconf.rb", "ext/gherkin_lexer_fr/extconf.rb", "ext/gherkin_lexer_he/extconf.rb", "ext/gherkin_lexer_hr/extconf.rb", "ext/gherkin_lexer_hu/extconf.rb", "ext/gherkin_lexer_id/extconf.rb", "ext/gherkin_lexer_it/extconf.rb", "ext/gherkin_lexer_ja/extconf.rb", "ext/gherkin_lexer_ko/extconf.rb", "ext/gherkin_lexer_lt/extconf.rb", "ext/gherkin_lexer_lu/extconf.rb", "ext/gherkin_lexer_lv/extconf.rb", "ext/gherkin_lexer_nl/extconf.rb", "ext/gherkin_lexer_no/extconf.rb", "ext/gherkin_lexer_pl/extconf.rb", "ext/gherkin_lexer_pt/extconf.rb", "ext/gherkin_lexer_ro/extconf.rb", "ext/gherkin_lexer_ro_ro/extconf.rb", "ext/gherkin_lexer_ru/extconf.rb", "ext/gherkin_lexer_sk/extconf.rb", "ext/gherkin_lexer_sr_cyrl/extconf.rb", "ext/gherkin_lexer_sr_latn/extconf.rb", "ext/gherkin_lexer_sv/extconf.rb", "ext/gherkin_lexer_tr/extconf.rb", "ext/gherkin_lexer_uk/extconf.rb", "ext/gherkin_lexer_uz/extconf.rb", "ext/gherkin_lexer_vi/extconf.rb", "ext/gherkin_lexer_zh_cn/extconf.rb", "ext/gherkin_lexer_zh_tw/extconf.rb"]

      s.has_rdoc = true

      s.homepage = %q{http://github.com/aslakhellesoy/gherkin}

      s.rdoc_options = ["--charset=UTF-8"]

      s.require_paths = ["lib"]

      s.rubygems_version = %q{1.3.1}

      s.summary = %q{gherkin-2.2.4}

      s.test_files = ["features/escaped_pipes.feature", "features/feature_parser.feature", "features/json_formatter.feature", "features/json_parser.feature", "features/native_lexer.feature", "features/parser_with_native_lexer.feature", "features/pretty_formatter.feature", "features/step_definitions/eyeball_steps.rb", "features/step_definitions/gherkin_steps.rb", "features/step_definitions/json_formatter_steps.rb", "features/step_definitions/json_parser_steps.rb", "features/step_definitions/pretty_formatter_steps.rb", "features/steps_parser.feature", "features/support/env.rb", "spec/gherkin/c_lexer_spec.rb", "spec/gherkin/fixtures/1.feature", "spec/gherkin/fixtures/comments_in_table.feature", "spec/gherkin/fixtures/complex.feature", "spec/gherkin/fixtures/complex.json", "spec/gherkin/fixtures/complex_for_filtering.feature", "spec/gherkin/fixtures/complex_with_tags.feature", "spec/gherkin/fixtures/dos_line_endings.feature", "spec/gherkin/fixtures/hantu_pisang.feature", "spec/gherkin/fixtures/i18n_fr.feature", "spec/gherkin/fixtures/i18n_no.feature", "spec/gherkin/fixtures/i18n_zh-CN.feature", "spec/gherkin/fixtures/scenario_outline_with_tags.feature", "spec/gherkin/fixtures/scenario_without_steps.feature", "spec/gherkin/fixtures/simple_with_comments.feature", "spec/gherkin/fixtures/simple_with_tags.feature", "spec/gherkin/fixtures/with_bom.feature", "spec/gherkin/formatter/argument_spec.rb", "spec/gherkin/formatter/colors_spec.rb", "spec/gherkin/formatter/filter_formatter_spec.rb", "spec/gherkin/formatter/model_spec.rb", "spec/gherkin/formatter/pretty_formatter_spec.rb", "spec/gherkin/formatter/spaces.feature", "spec/gherkin/formatter/tabs.feature", "spec/gherkin/formatter/tag_count_formatter_spec.rb", "spec/gherkin/i18n_spec.rb", "spec/gherkin/java_lexer_spec.rb", "spec/gherkin/json.rb", "spec/gherkin/json_parser_spec.rb", "spec/gherkin/lexer/i18n_lexer_spec.rb", "spec/gherkin/output_stream_string_io.rb", "spec/gherkin/parser/parser_spec.rb", "spec/gherkin/rb_lexer_spec.rb", "spec/gherkin/sexp_recorder.rb", "spec/gherkin/shared/lexer_group.rb", "spec/gherkin/shared/py_string_group.rb", "spec/gherkin/shared/row_group.rb", "spec/gherkin/shared/tags_group.rb", "spec/gherkin/tag_expression_spec.rb", "spec/spec_helper.rb"]

     

      if s.respond_to? :specification_version then

        current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION

        s.specification_version = 3

     

        if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then

          s.add_development_dependency(%q<rake-compiler>, ["~> 0.7.1"])

          s.add_runtime_dependency(%q<trollop>, ["~> 1.15"])

          s.add_runtime_dependency(%q<json>, [">= 1.1.9"])

          s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0.5"])

          s.add_development_dependency(%q<rake>, ["~> 0.8.7"])

          s.add_development_dependency(%q<awesome_print>, ["~> 0.2.1"])

          s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])

          s.add_development_dependency(%q<cucumber>, ["~> 0.9.0"])

        else

          s.add_dependency(%q<rake-compiler>, ["~> 0.7.1"])

          s.add_dependency(%q<trollop>, ["~> 1.15"])

          s.add_dependency(%q<json>, [">= 1.1.9"])

          s.add_dependency(%q<term-ansicolor>, ["~> 1.0.5"])

          s.add_dependency(%q<rake>, ["~> 0.8.7"])

          s.add_dependency(%q<awesome_print>, ["~> 0.2.1"])

          s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])

          s.add_dependency(%q<cucumber>, ["~> 0.9.0"])

        end

      else

        s.add_dependency(%q<rake-compiler>, ["~> 0.7.1"])

        s.add_dependency(%q<trollop>, ["~> 1.15"])

        s.add_dependency(%q<json>, [">= 1.1.9"])

        s.add_dependency(%q<term-ansicolor>, ["~> 1.0.5"])

        s.add_dependency(%q<rake>, ["~> 0.8.7"])

        s.add_dependency(%q<awesome_print>, ["~> 0.2.1"])

        s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])

        s.add_dependency(%q<cucumber>, ["~> 0.9.0"])

      end

    end

    WARNING:  Invalid .gemspec format in '/usr/lib/ruby/gems/1.8/specifications/gherkin-2.2.4.gemspec'

     

    BoxGrinder Build:

      A tool for building VM images from simple definition files.

     

    Documentation:

      http://community.jboss.org/docs/DOC-14358

     

    Examples:

      $ boxgrinder build jeos.appl                                                           # Build KVM image for jeos.appl

      $ boxgrinder build jeos.appl --os-config format:qcow2                                  # Build KVM image for jeos.appl ...

      $ boxgrinder build jeos.appl -f                                                        # Build KVM image for jeos.appl ...

      $ boxgrinder build jeos.appl -p ec2 -d ami                                             # Build and register AMI for jeo...

      $ boxgrinder build jeos.appl -p vmware --platform-config type:personal thin_disk:true  # Build VMware image for VMware ...

      $ boxgrinder build jeos.appl -p vmware -d local                                        # Build VMware image for jeos.ap...

     

    Usage:

      boxgrinder build [appliance definition file] [options]

     

    Options:

          [--platform-config=key:value]           # Platform plugin options.

      -d, [--delivery=DELIVERY]                   # The delivery method for selected appliance.

                                                  # Default: none

          [--debug]                               # Prints debug information while building. Default: false.

          [--os-config=key:value]                 # Operating system plugin options.

          [--trace]                               # Prints trace information while building. Default: false.

      -f, [--force]                               # Force image creation - removes all previous builds for selected appliance. Default: false.

          [--delivery-config=key:value]           # Delivery plugin options.

      -l, [--additional-plugins=plugin1 plugin2]  # Space separated list of additional plugins. Default: empty.

      -p, [--platform=PLATFORM]                   # The name of platform you want to convert to.

                                                  # Default: none

     

    Create an image from selected appliance definition for selected platform and deliver it using selected method.

    [root ~]#

  • 18. Missing deps for boxgrinder
    Sanjay Arora Newbie

    So...will it

     

    - Install from Centos base repo for version 5, with updates till date?

    - Check gpg key before install?

    - Install only the minimal base OS with yum, plus dependencies?

    - How about pv-grub? I am told normal grub does not work in EC2....and some tinkering must be done with initrd & pvgrub?

     

    Sanjay.

  • 19. Missing deps for boxgrinder
    Sanjay Arora Newbie

    Although giving junk output, as above, bitgrinder seemed to be working, as info messages were coming, till it started to convert to EC2 image format when program exited due to some error. Terminal output is pasted below. CPU utilization of the 32 bit micro EC2 vm was at 100% during this process:

     

    appliances]# cat centos-5-minimal.appl

    name: centos-5-minimal

    summary: Just Enough Operating System based on CentOS 5

    os:

      name: centos

      version: 5

    hardware:

      partitions:

        "/":

           size: 2

    packages:

        - @core

        - yum

    [root@ip-10-112-5-3 appliances]# boxgrinder build centos-5-minimal.appl -p ec2 -d ebs

    WARNING:  #<ArgumentError: Illformed requirement ["~> 2.0.0.beta.22"]>

    # -*- encoding: utf-8 -*-

     

    Gem::Specification.new do |s|

      s.name = %q{gherkin}

      s.version = "2.2.4"

     

      s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=

      s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Helles\303\270y"]

      s.date = %q{2010-09-21}

      s.default_executable = %q{gherkin}

      s.description = %q{A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.}

      s.email = %q{cukes@googlegroups.com}

      s.executables = ["gherkin"]

      s.extensions = ["ext/gherkin_lexer_ar/extconf.rb", "ext/gherkin_lexer_bg/extconf.rb", "ext/gherkin_lexer_ca/extconf.rb", "ext/gherkin_lexer_cs/extconf.rb", "ext/gherkin_lexer_cy_gb/extconf.rb", "ext/gherkin_lexer_da/extconf.rb", "ext/gherkin_lexer_de/extconf.rb", "ext/gherkin_lexer_en/extconf.rb", "ext/gherkin_lexer_en_au/extconf.rb", "ext/gherkin_lexer_en_lol/extconf.rb", "ext/gherkin_lexer_en_pirate/extconf.rb", "ext/gherkin_lexer_en_scouse/extconf.rb", "ext/gherkin_lexer_en_tx/extconf.rb", "ext/gherkin_lexer_eo/extconf.rb", "ext/gherkin_lexer_es/extconf.rb", "ext/gherkin_lexer_et/extconf.rb", "ext/gherkin_lexer_fi/extconf.rb", "ext/gherkin_lexer_fr/extconf.rb", "ext/gherkin_lexer_he/extconf.rb", "ext/gherkin_lexer_hr/extconf.rb", "ext/gherkin_lexer_hu/extconf.rb", "ext/gherkin_lexer_id/extconf.rb", "ext/gherkin_lexer_it/extconf.rb", "ext/gherkin_lexer_ja/extconf.rb", "ext/gherkin_lexer_ko/extconf.rb", "ext/gherkin_lexer_lt/extconf.rb", "ext/gherkin_lexer_lu/extconf.rb", "ext/gherkin_lexer_lv/extconf.rb", "ext/gherkin_lexer_nl/extconf.rb", "ext/gherkin_lexer_no/extconf.rb", "ext/gherkin_lexer_pl/extconf.rb", "ext/gherkin_lexer_pt/extconf.rb", "ext/gherkin_lexer_ro/extconf.rb", "ext/gherkin_lexer_ro_ro/extconf.rb", "ext/gherkin_lexer_ru/extconf.rb", "ext/gherkin_lexer_sk/extconf.rb", "ext/gherkin_lexer_sr_cyrl/extconf.rb", "ext/gherkin_lexer_sr_latn/extconf.rb", "ext/gherkin_lexer_sv/extconf.rb", "ext/gherkin_lexer_tr/extconf.rb", "ext/gherkin_lexer_uk/extconf.rb", "ext/gherkin_lexer_uz/extconf.rb", "ext/gherkin_lexer_vi/extconf.rb", "ext/gherkin_lexer_zh_cn/extconf.rb", "ext/gherkin_lexer_zh_tw/extconf.rb"]

      s.extra_rdoc_files = ["LICENSE", "README.rdoc", "History.txt"]

      s.files = [".gitattributes", ".gitignore", ".mailmap", ".rspec", ".rvmrc", "Gemfile", "History.txt", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "bin/gherkin", "build_native_gems.sh", "cucumber.yml", "features/escaped_pipes.feature", "features/feature_parser.feature", "features/json_formatter.feature", "features/json_parser.feature", "features/native_lexer.feature", "features/parser_with_native_lexer.feature", "features/pretty_formatter.feature", "features/step_definitions/eyeball_steps.rb", "features/step_definitions/gherkin_steps.rb", "features/step_definitions/json_formatter_steps.rb", "features/step_definitions/json_parser_steps.rb", "features/step_definitions/pretty_formatter_steps.rb", "features/steps_parser.feature", "features/support/env.rb", "gherkin.gemspec", "ikvm/.gitignore", "java/.gitignore", "java/src/main/java/gherkin/lexer/i18n/.gitignore", "java/src/main/resources/gherkin/.gitignore", "lib/.gitignore", "lib/gherkin.rb", "lib/gherkin/c_lexer.rb", "lib/gherkin/cli/main.rb", "lib/gherkin/formatter/argument.rb", "lib/gherkin/formatter/colors.rb", "lib/gherkin/formatter/escaping.rb", "lib/gherkin/formatter/filter_formatter.rb", "lib/gherkin/formatter/json_formatter.rb", "lib/gherkin/formatter/line_filter.rb", "lib/gherkin/formatter/model.rb", "lib/gherkin/formatter/monochrome_format.rb", "lib/gherkin/formatter/pretty_formatter.rb", "lib/gherkin/formatter/regexp_filter.rb", "lib/gherkin/formatter/tag_count_formatter.rb", "lib/gherkin/formatter/tag_filter.rb", "lib/gherkin/i18n.rb", "lib/gherkin/i18n.yml", "lib/gherkin/json_parser.rb", "lib/gherkin/lexer/i18n_lexer.rb", "lib/gherkin/listener/event.rb", "lib/gherkin/listener/formatter_listener.rb", "lib/gherkin/native.rb", "lib/gherkin/native/ikvm.rb", "lib/gherkin/native/java.rb", "lib/gherkin/native/null.rb", "lib/gherkin/parser/meta.txt", "lib/gherkin/parser/parser.rb", "lib/gherkin/parser/root.txt", "lib/gherkin/parser/steps.txt", "lib/gherkin/rb_lexer.rb", "lib/gherkin/rb_lexer/.gitignore", "lib/gherkin/rb_lexer/README.rdoc", "lib/gherkin/rubify.rb", "lib/gherkin/tag_expression.rb", "lib/gherkin/tools.rb", "lib/gherkin/tools/files.rb", "lib/gherkin/tools/reformat.rb", "lib/gherkin/tools/stats.rb", "lib/gherkin/tools/stats_listener.rb", "lib/gherkin/version.rb", "ragel/i18n/.gitignore", "ragel/lexer.c.rl.erb", "ragel/lexer.java.rl.erb", "ragel/lexer.rb.rl.erb", "ragel/lexer_common.rl.erb", "spec/gherkin/c_lexer_spec.rb", "spec/gherkin/fixtures/1.feature", "spec/gherkin/fixtures/comments_in_table.feature", "spec/gherkin/fixtures/complex.feature", "spec/gherkin/fixtures/complex.json", "spec/gherkin/fixtures/complex_for_filtering.feature", "spec/gherkin/fixtures/complex_with_tags.feature", "spec/gherkin/fixtures/dos_line_endings.feature", "spec/gherkin/fixtures/hantu_pisang.feature", "spec/gherkin/fixtures/i18n_fr.feature", "spec/gherkin/fixtures/i18n_no.feature", "spec/gherkin/fixtures/i18n_zh-CN.feature", "spec/gherkin/fixtures/scenario_outline_with_tags.feature", "spec/gherkin/fixtures/scenario_without_steps.feature", "spec/gherkin/fixtures/simple_with_comments.feature", "spec/gherkin/fixtures/simple_with_tags.feature", "spec/gherkin/fixtures/with_bom.feature", "spec/gherkin/formatter/argument_spec.rb", "spec/gherkin/formatter/colors_spec.rb", "spec/gherkin/formatter/filter_formatter_spec.rb", "spec/gherkin/formatter/model_spec.rb", "spec/gherkin/formatter/pretty_formatter_spec.rb", "spec/gherkin/formatter/spaces.feature", "spec/gherkin/formatter/tabs.feature", "spec/gherkin/formatter/tag_count_formatter_spec.rb", "spec/gherkin/i18n_spec.rb", "spec/gherkin/java_lexer_spec.rb", "spec/gherkin/json.rb", "spec/gherkin/json_parser_spec.rb", "spec/gherkin/lexer/i18n_lexer_spec.rb", "spec/gherkin/output_stream_string_io.rb", "spec/gherkin/parser/parser_spec.rb", "spec/gherkin/rb_lexer_spec.rb", "spec/gherkin/sexp_recorder.rb", "spec/gherkin/shared/lexer_group.rb", "spec/gherkin/shared/py_string_group.rb", "spec/gherkin/shared/row_group.rb", "spec/gherkin/shared/tags_group.rb", "spec/gherkin/tag_expression_spec.rb", "spec/spec_helper.rb", "tasks/bench.rake", "tasks/bench/feature_builder.rb", "tasks/bench/generated/.gitignore", "tasks/bench/null_listener.rb", "tasks/compile.rake", "tasks/cucumber.rake", "tasks/gems.rake", "tasks/ikvm.rake", "tasks/ragel_task.rb", "tasks/rdoc.rake", "tasks/release.rake", "tasks/rspec.rake", "lib/gherkin/rb_lexer/ar.rb", "lib/gherkin/rb_lexer/bg.rb", "lib/gherkin/rb_lexer/ca.rb", "lib/gherkin/rb_lexer/cs.rb", "lib/gherkin/rb_lexer/cy_gb.rb", "lib/gherkin/rb_lexer/da.rb", "lib/gherkin/rb_lexer/de.rb", "lib/gherkin/rb_lexer/en.rb", "lib/gherkin/rb_lexer/en_au.rb", "lib/gherkin/rb_lexer/en_lol.rb", "lib/gherkin/rb_lexer/en_pirate.rb", "lib/gherkin/rb_lexer/en_scouse.rb", "lib/gherkin/rb_lexer/en_tx.rb", "lib/gherkin/rb_lexer/eo.rb", "lib/gherkin/rb_lexer/es.rb", "lib/gherkin/rb_lexer/et.rb", "lib/gherkin/rb_lexer/fi.rb", "lib/gherkin/rb_lexer/fr.rb", "lib/gherkin/rb_lexer/he.rb", "lib/gherkin/rb_lexer/hr.rb", "lib/gherkin/rb_lexer/hu.rb", "lib/gherkin/rb_lexer/id.rb", "lib/gherkin/rb_lexer/it.rb", "lib/gherkin/rb_lexer/ja.rb", "lib/gherkin/rb_lexer/ko.rb", "lib/gherkin/rb_lexer/lt.rb", "lib/gherkin/rb_lexer/lu.rb", "lib/gherkin/rb_lexer/lv.rb", "lib/gherkin/rb_lexer/nl.rb", "lib/gherkin/rb_lexer/no.rb", "lib/gherkin/rb_lexer/pl.rb", "lib/gherkin/rb_lexer/pt.rb", "lib/gherkin/rb_lexer/ro.rb", "lib/gherkin/rb_lexer/ro_ro.rb", "lib/gherkin/rb_lexer/ru.rb", "lib/gherkin/rb_lexer/sk.rb", "lib/gherkin/rb_lexer/sr_cyrl.rb", "lib/gherkin/rb_lexer/sr_latn.rb", "lib/gherkin/rb_lexer/sv.rb", "lib/gherkin/rb_lexer/tr.rb", "lib/gherkin/rb_lexer/uk.rb", "lib/gherkin/rb_lexer/uz.rb", "lib/gherkin/rb_lexer/vi.rb", "lib/gherkin/rb_lexer/zh_cn.rb", "lib/gherkin/rb_lexer/zh_tw.rb", "ext/gherkin_lexer_ar/gherkin_lexer_ar.c", "ext/gherkin_lexer_bg/gherkin_lexer_bg.c", "ext/gherkin_lexer_ca/gherkin_lexer_ca.c", "ext/gherkin_lexer_cs/gherkin_lexer_cs.c", "ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c", "ext/gherkin_lexer_da/gherkin_lexer_da.c", "ext/gherkin_lexer_de/gherkin_lexer_de.c", "ext/gherkin_lexer_en/gherkin_lexer_en.c", "ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c", "ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c", "ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c", "ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c", "ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c", "ext/gherkin_lexer_eo/gherkin_lexer_eo.c", "ext/gherkin_lexer_es/gherkin_lexer_es.c", "ext/gherkin_lexer_et/gherkin_lexer_et.c", "ext/gherkin_lexer_fi/gherkin_lexer_fi.c", "ext/gherkin_lexer_fr/gherkin_lexer_fr.c", "ext/gherkin_lexer_he/gherkin_lexer_he.c", "ext/gherkin_lexer_hr/gherkin_lexer_hr.c", "ext/gherkin_lexer_hu/gherkin_lexer_hu.c", "ext/gherkin_lexer_id/gherkin_lexer_id.c", "ext/gherkin_lexer_it/gherkin_lexer_it.c", "ext/gherkin_lexer_ja/gherkin_lexer_ja.c", "ext/gherkin_lexer_ko/gherkin_lexer_ko.c", "ext/gherkin_lexer_lt/gherkin_lexer_lt.c", "ext/gherkin_lexer_lu/gherkin_lexer_lu.c", "ext/gherkin_lexer_lv/gherkin_lexer_lv.c", "ext/gherkin_lexer_nl/gherkin_lexer_nl.c", "ext/gherkin_lexer_no/gherkin_lexer_no.c", "ext/gherkin_lexer_pl/gherkin_lexer_pl.c", "ext/gherkin_lexer_pt/gherkin_lexer_pt.c", "ext/gherkin_lexer_ro/gherkin_lexer_ro.c", "ext/gherkin_lexer_ro_ro/gherkin_lexer_ro_ro.c", "ext/gherkin_lexer_ru/gherkin_lexer_ru.c", "ext/gherkin_lexer_sk/gherkin_lexer_sk.c", "ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c", "ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c", "ext/gherkin_lexer_sv/gherkin_lexer_sv.c", "ext/gherkin_lexer_tr/gherkin_lexer_tr.c", "ext/gherkin_lexer_uk/gherkin_lexer_uk.c", "ext/gherkin_lexer_uz/gherkin_lexer_uz.c", "ext/gherkin_lexer_vi/gherkin_lexer_vi.c", "ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c", "ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c", "ext/gherkin_lexer_ar/extconf.rb", "ext/gherkin_lexer_bg/extconf.rb", "ext/gherkin_lexer_ca/extconf.rb", "ext/gherkin_lexer_cs/extconf.rb", "ext/gherkin_lexer_cy_gb/extconf.rb", "ext/gherkin_lexer_da/extconf.rb", "ext/gherkin_lexer_de/extconf.rb", "ext/gherkin_lexer_en/extconf.rb", "ext/gherkin_lexer_en_au/extconf.rb", "ext/gherkin_lexer_en_lol/extconf.rb", "ext/gherkin_lexer_en_pirate/extconf.rb", "ext/gherkin_lexer_en_scouse/extconf.rb", "ext/gherkin_lexer_en_tx/extconf.rb", "ext/gherkin_lexer_eo/extconf.rb", "ext/gherkin_lexer_es/extconf.rb", "ext/gherkin_lexer_et/extconf.rb", "ext/gherkin_lexer_fi/extconf.rb", "ext/gherkin_lexer_fr/extconf.rb", "ext/gherkin_lexer_he/extconf.rb", "ext/gherkin_lexer_hr/extconf.rb", "ext/gherkin_lexer_hu/extconf.rb", "ext/gherkin_lexer_id/extconf.rb", "ext/gherkin_lexer_it/extconf.rb", "ext/gherkin_lexer_ja/extconf.rb", "ext/gherkin_lexer_ko/extconf.rb", "ext/gherkin_lexer_lt/extconf.rb", "ext/gherkin_lexer_lu/extconf.rb", "ext/gherkin_lexer_lv/extconf.rb", "ext/gherkin_lexer_nl/extconf.rb", "ext/gherkin_lexer_no/extconf.rb", "ext/gherkin_lexer_pl/extconf.rb", "ext/gherkin_lexer_pt/extconf.rb", "ext/gherkin_lexer_ro/extconf.rb", "ext/gherkin_lexer_ro_ro/extconf.rb", "ext/gherkin_lexer_ru/extconf.rb", "ext/gherkin_lexer_sk/extconf.rb", "ext/gherkin_lexer_sr_cyrl/extconf.rb", "ext/gherkin_lexer_sr_latn/extconf.rb", "ext/gherkin_lexer_sv/extconf.rb", "ext/gherkin_lexer_tr/extconf.rb", "ext/gherkin_lexer_uk/extconf.rb", "ext/gherkin_lexer_uz/extconf.rb", "ext/gherkin_lexer_vi/extconf.rb", "ext/gherkin_lexer_zh_cn/extconf.rb", "ext/gherkin_lexer_zh_tw/extconf.rb"]

      s.has_rdoc = true

      s.homepage = %q{http://github.com/aslakhellesoy/gherkin}

      s.rdoc_options = ["--charset=UTF-8"]

      s.require_paths = ["lib"]

      s.rubygems_version = %q{1.3.1}

      s.summary = %q{gherkin-2.2.4}

      s.test_files = ["features/escaped_pipes.feature", "features/feature_parser.feature", "features/json_formatter.feature", "features/json_parser.feature", "features/native_lexer.feature", "features/parser_with_native_lexer.feature", "features/pretty_formatter.feature", "features/step_definitions/eyeball_steps.rb", "features/step_definitions/gherkin_steps.rb", "features/step_definitions/json_formatter_steps.rb", "features/step_definitions/json_parser_steps.rb", "features/step_definitions/pretty_formatter_steps.rb", "features/steps_parser.feature", "features/support/env.rb", "spec/gherkin/c_lexer_spec.rb", "spec/gherkin/fixtures/1.feature", "spec/gherkin/fixtures/comments_in_table.feature", "spec/gherkin/fixtures/complex.feature", "spec/gherkin/fixtures/complex.json", "spec/gherkin/fixtures/complex_for_filtering.feature", "spec/gherkin/fixtures/complex_with_tags.feature", "spec/gherkin/fixtures/dos_line_endings.feature", "spec/gherkin/fixtures/hantu_pisang.feature", "spec/gherkin/fixtures/i18n_fr.feature", "spec/gherkin/fixtures/i18n_no.feature", "spec/gherkin/fixtures/i18n_zh-CN.feature", "spec/gherkin/fixtures/scenario_outline_with_tags.feature", "spec/gherkin/fixtures/scenario_without_steps.feature", "spec/gherkin/fixtures/simple_with_comments.feature", "spec/gherkin/fixtures/simple_with_tags.feature", "spec/gherkin/fixtures/with_bom.feature", "spec/gherkin/formatter/argument_spec.rb", "spec/gherkin/formatter/colors_spec.rb", "spec/gherkin/formatter/filter_formatter_spec.rb", "spec/gherkin/formatter/model_spec.rb", "spec/gherkin/formatter/pretty_formatter_spec.rb", "spec/gherkin/formatter/spaces.feature", "spec/gherkin/formatter/tabs.feature", "spec/gherkin/formatter/tag_count_formatter_spec.rb", "spec/gherkin/i18n_spec.rb", "spec/gherkin/java_lexer_spec.rb", "spec/gherkin/json.rb", "spec/gherkin/json_parser_spec.rb", "spec/gherkin/lexer/i18n_lexer_spec.rb", "spec/gherkin/output_stream_string_io.rb", "spec/gherkin/parser/parser_spec.rb", "spec/gherkin/rb_lexer_spec.rb", "spec/gherkin/sexp_recorder.rb", "spec/gherkin/shared/lexer_group.rb", "spec/gherkin/shared/py_string_group.rb", "spec/gherkin/shared/row_group.rb", "spec/gherkin/shared/tags_group.rb", "spec/gherkin/tag_expression_spec.rb", "spec/spec_helper.rb"]

     

      if s.respond_to? :specification_version then

        current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION

        s.specification_version = 3

     

        if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then

          s.add_development_dependency(%q<rake-compiler>, ["~> 0.7.1"])

          s.add_runtime_dependency(%q<trollop>, ["~> 1.15"])

          s.add_runtime_dependency(%q<json>, [">= 1.1.9"])

          s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0.5"])

          s.add_development_dependency(%q<rake>, ["~> 0.8.7"])

          s.add_development_dependency(%q<awesome_print>, ["~> 0.2.1"])

          s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])

          s.add_development_dependency(%q<cucumber>, ["~> 0.9.0"])

        else

          s.add_dependency(%q<rake-compiler>, ["~> 0.7.1"])

          s.add_dependency(%q<trollop>, ["~> 1.15"])

          s.add_dependency(%q<json>, [">= 1.1.9"])

          s.add_dependency(%q<term-ansicolor>, ["~> 1.0.5"])

          s.add_dependency(%q<rake>, ["~> 0.8.7"])

          s.add_dependency(%q<awesome_print>, ["~> 0.2.1"])

          s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])

          s.add_dependency(%q<cucumber>, ["~> 0.9.0"])

        end

      else

        s.add_dependency(%q<rake-compiler>, ["~> 0.7.1"])

        s.add_dependency(%q<trollop>, ["~> 1.15"])

        s.add_dependency(%q<json>, [">= 1.1.9"])

        s.add_dependency(%q<term-ansicolor>, ["~> 1.0.5"])

        s.add_dependency(%q<rake>, ["~> 0.8.7"])

        s.add_dependency(%q<awesome_print>, ["~> 0.2.1"])

        s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])

        s.add_dependency(%q<cucumber>, ["~> 0.9.0"])

      end

    end

    WARNING:  Invalid .gemspec format in '/usr/lib/ruby/gems/1.8/specifications/gherkin-2.2.4.gemspec'

    I, [2011-02-02T13:42:12.356989 #17333]  INFO -- : Building 'centos-5-minimal' appliance for i686 architecture.

    I, [2011-02-02T13:42:12.365125 #17333]  INFO -- : Resolving packages added to centos-5-minimal appliance definition file...

    I, [2011-02-02T13:42:14.556812 #17333]  INFO -- : All additional packages for centos-5-minimal appliance successfully resolved.

    I, [2011-02-02T13:42:14.557185 #17333]  INFO -- : Building centos-5-minimal appliance...

    I, [2011-02-02T13:56:38.254755 #17333]  INFO -- : Executing post operations after build...

    I, [2011-02-02T14:04:26.569666 #17333]  INFO -- : Post operations executed.

    I, [2011-02-02T14:04:27.128321 #17333]  INFO -- : Base image for centos-5-minimal appliance was built successfully.

    I, [2011-02-02T14:04:27.138114 #17333]  INFO -- : Converting centos-5-minimal appliance image to EC2 format...

    F, [2011-02-02T14:24:45.558556 #17333] FATAL -- : guestfs_ls: call launch before using this function

    (in guestfish, don't forget to use the 'run' command) (Guestfs::Error)

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:36:in `ls'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:36:in `send'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:36:in `method_missing'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:53:in `redirect_streams'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `method_missing'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/linux-helper.rb:28:in `kernel_version'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/linux-helper.rb:48:in `recreate_kernel_image'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-ec2-platform-plugin-0.0.9/lib/boxgrinder-build-ec2-platform-plugin/ec2-plugin.rb:51:in `execute'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/image-helper.rb:154:in `customize'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:129:in `customize'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/helpers/image-helper.rb:153:in `customize'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-ec2-platform-plugin-0.0.9/lib/boxgrinder-build-ec2-platform-plugin/ec2-plugin.rb:41:in `execute'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/plugins/base-plugin.rb:130:in `run'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/appliance.rb:127:in `execute_platform_plugin'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/appliance.rb:78:in `execute_plugin_chain'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/lib/boxgrinder-build/appliance.rb:89:in `create'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/bin/boxgrinder:60:in `build'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor/task.rb:33:in `send'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor/task.rb:33:in `run'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor/invocation.rb:109:in `invoke'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor/invocation.rb:116:in `call'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor/invocation.rb:116:in `invoke'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor.rb:137:in `start'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor/base.rb:378:in `start'

    /usr/lib/ruby/gems/1.8/gems/thor-0.13.6/lib/thor.rb:124:in `start'

    /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.8.0/bin/boxgrinder:69

    /usr/bin/boxgrinder:19:in `load'

    /usr/bin/boxgrinder:19

    closing guestfs handle 0x9979718 (state 0)

    appliances]#

  • 20. Missing deps for boxgrinder
    Marek Goldmann Master

    Sanjay,

     

    It seems you have completely messed your gem installation. We don't use 'gherkin' gem at all.

     

    --Marek

  • 21. Missing deps for boxgrinder
    Marek Goldmann Master

    Sanjay Arora wrote:

     

    So...will it

     

    - Install from Centos base repo for version 5, with updates till date?

    Yes

     

    - Check gpg key before install?

    Not sure what you mean.

    - Install only the minimal base OS with yum, plus dependencies?

    It'll exactly what you've specified in .appl file with all dependencies.

    - How about pv-grub? I am told normal grub does not work in EC2....and some tinkering must be done with initrd & pvgrub?

    It works with a Fedora 8 kernel available on EC2.  BG version 0.8.0 will try to use pvgrub, but it's hard to support this. Ii would be nice if CentOS 6 could be released soon.

     

    --Marek

  • 22. Missing deps for boxgrinder
    Sanjay Arora Newbie

    Ok Marek

     

    I do a fresh install tomorrow.

     

    Is the function that terminated the process...the fatal call below...that terminated the conversion....full output above...also due to messed gem installation?

     

    I, [2011-02-02T14:04:27.138114 #17333]  INFO -- : Converting centos-5-minimal appliance image to EC2 format...

    F, [2011-02-02T14:24:45.558556 #17333] FATAL -- : guestfs_ls: call launch before using this function

    (in guestfish, don't forget to use the 'run' command) (Guestfs::Error)

     

    I'll reinstall tomorrow. Please accept my thanks. I have encountered this fast a support from a developer very few times in my life.

     

    Best wishes.

    Sanjay.

  • 23. Missing deps for boxgrinder
    Marek Goldmann Master

    Sanjay,

     

    I've built several images today on CentOS 5 and I haven't encountered this error. But I saw it earlier, though. In case it shows up after a fresh install, please give me the output of rpm -qa | grep guestf command.

     

    Thanks!

     

    --Marek

  • 24. Missing deps for boxgrinder
    Sanjay Arora Newbie

    Checking of gpg key...I meant the process will verify the centos gpg key on packages? If its done with yum, it should be automatic...but since I did not know...I thought I'd better ask.

     

    So centos will work as is? without pv-grub? have you tested this? If not can you advise/point out link to what to do post vm generation?

  • 25. Missing deps for boxgrinder
    Marek Goldmann Master

    Sanjay Arora wrote:

     

    Checking of gpg key...I meant the process will verify the centos gpg key on packages? If its done with yum, it should be automatic...but since I did not know...I thought I'd better ask.

    Yes, keys are automatically approved.

    So centos will work as is? without pv-grub? have you tested this? If not can you advise/point out link to what to do post vm generation?

    Yes, feel free to look at 0.0.8 EC2 platform plugin code released with BoxGrinder Build 0.7.1. Making CentOS 5 with pvgrub is a much bigger issue compared to using Fedora 8 kernel.

     

    --Marek

1 2 Previous Next