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

python build broken on OS X 10.10

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.6.0
    • None
    • None

    Description

      [tw-172-25-132-201 aurora (master)]$ ./pants ./src/test/python:all
      <snip>
      Traceback (most recent call last):
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/commands/build.py", line 130, in _python_build
          debug=self._verbose)
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/python_builder.py", line 43, in build
          debug=debug).run()
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/test_builder.py", line 88, in run
          rv = self._run_tests([target], stdout, stderr)
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/test_builder.py", line 316, in _run_tests
          with self._test_runner(targets, stdout, stderr) as (pex, test_args):
        File "/Users/jsmith/Python/CPython-2.7.8/lib/python2.7/contextlib.py", line 17, in __enter__
          return self.gen.next()
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/test_builder.py", line 295, in _test_runner
          builder = chroot.dump()
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/python_chroot.py", line 165, in dump
          self.MEMOIZED_THRIFTS[thr] = self._generate_thrift_requirement(thr)
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/python_chroot.py", line 135, in _generate_thrift_requirement
          return self._generate_requirement(library, PythonThriftBuilder)
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/python_chroot.py", line 127, in _generate_requirement
          sdist = builder.build(interpreter=self._interpreter)
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/code_generator.py", line 96, in build
          self.generate()
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/thrift_builder.py", line 123, in generate
          self.run_thrifts()
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/thrift_builder.py", line 69, in run_thrifts
          if not self._run_thrift(src):
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/backend/python/thrift_builder.py", line 74, in _run_thrift
          select_thrift_binary(self.config),
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/thrift_util.py", line 107, in select_thrift_binary
          return BinaryUtil(config=config).select_binary(thrift_supportdir, thrift_version, 'thrift')
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/binary_util.py", line 162, in select_binary
          with self.select_binary_stream(base_path, version, name) as stream:
        File "/Users/jsmith/Python/CPython-2.7.8/lib/python2.7/contextlib.py", line 17, in __enter__
          return self.gen.next()
        File "/Users/jsmith/.pex/install/pantsbuild.pants-0.0.24-py2-none-any.whl.0285abd76697304cfaec8a361df04094600f0e74/pantsbuild.pants-0.0.24-py2-none-any.whl/pants/binary_util.py", line 147, in select_binary_stream
          raise BinaryUtil.BinaryNotFound((base_path, version, name), accumulated_errors)
      BinaryNotFound: Failed to fetch binary ('bin/thrift', '0.5.0-finagle', u'thrift') from any source: (Failed to fetch binary from http://maven.twttr.com/twitter-commons/pants/build-support/bin/thrift/mac/10.10/0.5.0-finagle/thrift: HTTP Error 404: Not Found)
      

      Attachments

        Activity

          People

            yasumoto Joe Smith
            yasumoto Joe Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: