alexander j. perez tchernov created AURORA-993:
--------------------------------------------------

             Summary: Aurora2 client building fails due to broken build path in 
pants
                 Key: AURORA-993
                 URL: https://issues.apache.org/jira/browse/AURORA-993
             Project: Aurora
          Issue Type: Bug
          Components: Client
    Affects Versions: 0.7.0
         Environment: ubuntu 12.04
            Reporter: alexander j. perez tchernov


When trying to build aurora cli from latest 0.6.0-incubating (from site or git 
mirrored master branch) using command "./pants 
src/main/python/apache/aurora/client/cli:", it fails with the following error
----------------
Building PythonBinary 
PythonBinary(BuildFileAddress(/opt/apache-aurora-0.6.0-incubating/src/main/python/apache/aurora/client/cli/BUILD,
 aurora2_so)): 
**** Failed to install argparse-1.2.1. stderr:
Traceback (most recent call last):
.....  
File "/usr/lib/python2.7/sysconfig.py", line 355, in _init_posix
    raise IOError(msg)
IOError: invalid Python installation: unable to open 
/opt/apache-aurora-0.6.0-incubating/build-support/pants.venv/local/include/python2.7/pyconfig.h
 (No such file or directory)
----------------

The distribution doesn't contain  pants.venv/local folder, but contains 
everything in pants.venv directly instead. 

Creating the pants.venv/local folder, and moving appropriate data to it, 
resolve the problem. Not sure how to fix original pants file, due to possible 
relation to https://github.com/pantsbuild/pex/issues/21, mentioned in the build 
file as local fix. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to