Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1544

Packaging scripts broken for 0.10.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • Packaging
    • None

    Description

      While building python artifacts, the debian build fails with the stack trace below I believe the RPM build will fail similarly.

      Exception caught: (<class 'pants.option.errors.ParseError'>)
        File "/aurora/.cache/pants/setup/bootstrap/0.0.57/bin/pants", line 11, in <module>
          sys.exit(main())
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 120, in main
          do_run()
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 103, in do_run
          _run(exiter)
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 67, in _run
          options, build_config = OptionsInitializer().setup()
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/bin/goal_runner.py", line 82, in __init__
          self._working_set = working_set or PluginResolver(self._options_bootstrapper).resolve()
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/bin/plugin_resolver.py", line 36, in __init__
          bootstrap_options = self._options_bootstrapper.get_bootstrap_options().for_global_scope()
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/options_bootstrapper.py", line 78, in get_bootstrap_options
          bootstrap_option_values = initial_bootstrap_options.for_global_scope()
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/options.py", line 310, in for_global_scope
          return self.for_scope(GLOBAL_SCOPE)
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/options.py", line 260, in for_scope
          self._parser_hierarchy.get_parser_by_scope(scope).parse_args(flags_in_scope, values)
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/parser.py", line 181, in parse_args
          val = self._compute_value(dest, kwargs, flag_vals)
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/parser.py", line 426, in _compute_value
          env_val = parse(env_val_str)
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/parser.py", line 408, in parse_typed_list
          return None if val_str is None else [value_type(x) for x in list_option(expand(val_str))]
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/custom_types.py", line 28, in list_option
          return _convert(s, (list, tuple))
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/option/custom_types.py", line 63, in _convert
          return parse_expression(val, acceptable_types, raise_type=ParseError)
        File "/aurora/.cache/pants/setup/bootstrap/pants.DndJ62/install/local/lib/python2.7/site-packages/pants/util/eval.py", line 54, in parse_expression
          value=format_raw_value())))
      
      Exception message: The value cannot be evaluated as a literal expression: invalid syntax (<string>, line 1)
      Given raw value:
      1: /pants.ini
      

      Attachments

        Activity

          People

            wfarner Bill Farner
            wfarner Bill Farner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: