Description
unable to build thermos_observer with recent commits. going by git bisect, this is the bad commit.
2983fe25d68693f2f737ccd448b8ef349cb00ac2 is the first bad commit
commit 2983fe25d68693f2f737ccd448b8ef349cb00ac2
Author: Joe Smith <yasumoto7@gmail.com>
Date: Tue Jun 17 14:24:20 2014 -0700
Migrate to pantsbuild pants
To correct some 3rdparty-version-collisions, we're migrating onto pants
build's pants.
Testing Done:
On OS X 10.9: ./pants ./src/test/python:all
Bugs closed: AURORA-529
Reviewed at https://reviews.apache.org/r/22662/
./pants src/main/python/apache/thermos/observer/bin:thermos_observer Building PythonBinary PythonBinary(BuildFileAddress(src/main/python/apache/thermos/observer/bin/BUILD, thermos_observer)): Problem executing PythonBuilder for targets OrderedSet([PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/observer/BUILD, observed_task)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/common/BUILD, common)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/observer/http/BUILD, file_browser)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/observer/http/BUILD, json)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/observer/http/BUILD, static_assets)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/observer/BUILD, task_observer)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/common/BUILD, path)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/common/BUILD, ckpt)), PythonBinary(BuildFileAddress(src/main/python/apache/thermos/observer/bin/BUILD, thermos_observer)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/observer/http/BUILD, templating)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/common/BUILD, planner)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/monitoring/BUILD, resource)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/monitoring/BUILD, process)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/monitoring/BUILD, detector)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/observer/http/BUILD, http_observer)), PythonThriftLibrary(BuildFileAddress(src/main/thrift/org/apache/thermos/BUILD, py-thrift)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/config/BUILD, config)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/monitoring/BUILD, process_collector_psutil)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/monitoring/BUILD, disk)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/monitoring/BUILD, monitor)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/common/BUILD, options)), PythonLibrary(BuildFileAddress(src/main/python/apache/thermos/config/BUILD, schema))]): Traceback (most recent call last): File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/backend/python/commands/build.py", line 130, in _python_build fast_tests=self.options.fast) File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/backend/python/python_builder.py", line 49, in build conn_timeout=conn_timeout).run() File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/backend/python/binary_builder.py", line 53, in run env = self.chroot.dump() File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/backend/python/python_chroot.py", line 155, in dump self._dump_library(lib) File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/backend/python/python_chroot.py", line 104, in _dump_library for resource_file_from_source_root in resources_tgt.sources_relative_to_source_root(): File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/base/target.py", line 212, in sources_relative_to_source_root abs_source_root = os.path.join(get_buildroot(), self.target_base) File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/base/target.py", line 108, in target_base return SourceRoot.find(self) File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/base/source_root.py", line 76, in find root = _find() File "/Volumes/apple/mesos/incubator-aurora/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.6.egg/pants/base/source_root.py", line 71, in _find 'Target type %s not allowed under %s' % (target.__class__.__name__, root_dir)) TargetDefinitionException: Error with Resources(SyntheticAddress(src/main/python/apache/thermos/observer/http:templating_synthetic_resources)): Target type Resources not allowed under src/main/python