Hi, I am getting a build error (trunk) on ubuntu :(
Thanks (again) in advance!!!!
I took apart the scripts from the VM and I am running on a cluster (all
ubuntu) and I am getting this below ( I don't think I am missing any steps
). I am on ubuntu 12.04 LTS using Python 2.7.3 and don't seem to have a
local directory in pants.venv
ls -l /opt/apache/incubator-aurora/build-support/pants.venv
total 16
drwxr-xr-x 2 root root 4096 Oct 28 01:27 bin
-rw-r--r-- 1 root root 7 Oct 28 01:27 BOOTSTRAPPED
drwxr-xr-x 2 root root 4096 Oct 28 01:27 include
drwxr-xr-x 3 root root 4096 Oct 28 01:27 lib
happening aurorabuild admin_client
IOError: invalid Python installation: unable to open
/opt/apache/incubator-aurora/build-support/pants.venv/local/include/python2.7/pyconfig.h
(No such file or directory)
Problem executing PythonBuilder for targets
OrderedSet([PythonBinary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/bin/BUILD,
aurora_admin)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/bin/BUILD,
aurora_admin_lib)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/commands/BUILD,
admin)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/admin/BUILD,
util)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/BUILD,
base)),
PythonThriftLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/thrift/org/apache/aurora/gen/BUILD,
py-thrift)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
api)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
restarter)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
instance_watcher)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
scheduler_client)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/auth/BUILD,
auth)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
cluster)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
transport)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
scheduler_mux)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
error_handling_thread)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
task_util)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
http_signaler)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
updater_util)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
sla)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
common)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
aurora_job_key)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
cluster_option)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
clusters)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/common/BUILD,
shellify)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/thrift/org/apache/aurora/gen/BUILD,
py-thrift-packaged)),
PythonThriftLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/thrift/org/apache/aurora/gen/BUILD,
py-thrift-test)),
PythonThriftLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/thrift/org/apache/aurora/gen/BUILD,
py-thrift-storage)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
updater)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
job_monitor)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/api/BUILD,
quota_check)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/commands/BUILD,
help)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/commands/BUILD,
maintenance)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/admin/BUILD,
host_maintenance)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/BUILD,
api)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/aurora/client/BUILD,
options)),
PythonLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/python/apache/thermos/common/BUILD,
options)),
PythonThriftLibrary(BuildFileAddress(/opt/apache/incubator-aurora/src/main/thrift/org/apache/thermos/BUILD,
py-thrift))]): Traceback (most recent call last):
File
"/opt/apache/incubator-aurora/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/commands/build.py",
line 130, in _python_build
debug=self._verbose)
File
"/opt/apache/incubator-aurora/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/python_builder.py",
line 52, in build
conn_timeout=conn_timeout).run()
File
"/opt/apache/incubator-aurora/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/binary_builder.py",
line 53, in run
env = self.chroot.dump()
File
"/opt/apache/incubator-aurora/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/python_chroot.py",
line 191, in dump
conn_timeout=self._conn_timeout)
File
"/opt/apache/incubator-aurora/build-support/pants.venv/lib/python2.7/site-packages/pants/backend/python/resolver.py",
line 100, in resolve_multi
platform=platform)
File
"/opt/apache/incubator-aurora/build-support/pants.venv/lib/python2.7/site-packages/pex/resolver.py",
line 110, in resolve
new_requirements.update(requires(highest_package, requirement))
File
"/opt/apache/incubator-aurora/build-support/pants.venv/lib/python2.7/site-packages/pex/resolver.py",
line 84, in requires
raise Untranslateable('Package %s is not translateable.' % package)
Untranslateable: Package SourcePackage(u'
https://pypi.python.org/packages/source/p/pystachio/pystachio-0.7.2.tar.gz#md5=cd66ead2f4cbd20e040a089e64a0dd32')
is not translateable.
Usage:
pants build (options) [spec] (build args)
pants build (options) [spec]... -- (build args)
Options:
--version show program's version number and exit
--no-pantsrc Specifies that pantsrc files should be ignored.
--log-exit Log an exit message on success or failure.
-t CONN_TIMEOUT, --timeout=CONN_TIMEOUT
Number of seconds to wait for http connections.
-i INTERPRETERS, --interpreter=INTERPRETERS
Constrain what Python interpreters to use. Uses
Requirement format from pkg_resources, e.g.
'CPython>=2.6,<3' or 'PyPy'. By default, no
constraints are used. Multiple constraints may be
added. They will be ORed together.
-v, --verbose Show verbose output.
-f, --fast Run tests in a single chroot.
Builds the specified Python target(s). Use ./pants goal for JVM and other
targets.
/*******************************************
Joe Stein
Founder, Principal Consultant
Big Data Open Source Security LLC
http://www.stealth.ly
Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/