Fenics Compilation Issue: Pygments

Issue #631 invalid
Venkat Raman created an issue

Hello:

I am compiling on Mac OS El Capitan using the fenics.Darwin.yaml file (no changes from the default profile). I get the following error:

[pygments] Building pygments/qhcxwsva3f5m, follow log with: [pygments] tail -f /Users/raman/.hashdist/tmp/pygments-qhcxwsva3f5m-2/_hashdist/build.log [pygments|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 1 [pygments|ERROR] command failed (code=1); raising

The build.log file:

2015/12/20 12:18:01 - INFO: [package:run_job] running [u'/bin/bash', '_hashdist/build.sh'] 2015/12/20 12:18:01 - INFO: [package:run_job] environment: 2015/12/20 12:18:01 - INFO: [package:run_job] {'ARTIFACT': u'/Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m', 2015/12/20 12:18:01 - INFO: [package:run_job] 'BASH': u'/bin/bash', 2015/12/20 12:18:01 - INFO: [package:run_job] 'BUILD': u'/Users/raman/.hashdist/tmp/pygments-qhcxwsva3f5m-2', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HASHDIST_CPU_COUNT': '4', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_CONFIG': '{"gc_roots":"/Users/raman/.hashdist/gcroots","build_stores":[{"dir":"/Users/raman/.hashdist/bld"}],"source_caches":[{"dir":"/Users/raman/.hashdist/src"}],"cache":"/Users/raman/.hashdist/cache","build_temp":"/Users/raman/.hashdist/tmp"}', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_IMPORT': u'python/k3rasqqukeucbowlqek6jn6p4bqerfje', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_IMPORT_PATHS': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_VIRTUALS': '', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PATH': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PKG_CONFIG_PATH': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc/lib/pkgconfig', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PWD': u'/Users/raman/.hashdist/tmp/pygments-qhcxwsva3f5m-2', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PYTHON': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc/bin/python', 2015/12/20 12:18:01 - INFO: [package:run_job] u'PYTHON_DIR': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc', 2015/12/20 12:18:01 - INFO: [package:run_job] u'PYTHON_ID': u'python/k3rasqqukeucbowlqek6jn6p4bqerfje'} 2015/12/20 12:18:02 - INFO: [package:run_job] running install 2015/12/20 12:18:02 - INFO: [package:run_job] Checking .pth file support in /Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/lib/python2.7/site-packages/ 2015/12/20 12:18:02 - INFO: [package:run_job] /Users/raman/.hashdist/bld/python/k3rasqqukeuc/bin/python -E -c pass 2015/12/20 12:18:02 - INFO: [package:run_job] TEST FAILED: /Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/lib/python2.7/site-packages/ does NOT support .pth files 2015/12/20 12:18:02 - INFO: [package:run_job] error: bad install directory or PYTHONPATH 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] You are attempting to install a package to a directory that is not 2015/12/20 12:18:02 - INFO: [package:run_job] on PYTHONPATH and which Python does not read ".pth" files from. The 2015/12/20 12:18:02 - INFO: [package:run_job] installation directory you specified (via --install-dir, --prefix, or 2015/12/20 12:18:02 - INFO: [package:run_job] the distutils default setting) was: 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] /Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/lib/python2.7/site-packages/ 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] and your PYTHONPATH environment variable currently contains: 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] '/Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/Python.framework/Versions/2.7/lib/python2.7/site-packages:' 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] Here are some of your options for correcting the problem: 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] * You can choose a different installation directory, i.e., one that is 2015/12/20 12:18:02 - INFO: [package:run_job] on PYTHONPATH or supports .pth files 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] * You can add the installation directory to the PYTHONPATH environment 2379590932:_hashdist raman$ more build.log 2015/12/20 12:18:01 - INFO: [package:run_job] running [u'/bin/bash', '_hashdist/build.sh'] 2015/12/20 12:18:01 - INFO: [package:run_job] environment: 2015/12/20 12:18:01 - INFO: [package:run_job] {'ARTIFACT': u'/Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m', 2015/12/20 12:18:01 - INFO: [package:run_job] 'BASH': u'/bin/bash', 2015/12/20 12:18:01 - INFO: [package:run_job] 'BUILD': u'/Users/raman/.hashdist/tmp/pygments-qhcxwsva3f5m-2', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HASHDIST_CPU_COUNT': '4', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_CONFIG': '{"gc_roots":"/Users/raman/.hashdist/gcroots","build_stores":[{"dir":"/Users/raman/.hashdist/bld"}],"source_caches":[{"dir":"/Users/raman/.hashdist/src"}],"cache":"/Users/raman/.hashdist/cache","build_temp":"/Users/raman/.hashdist/tmp"}', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_IMPORT': u'python/k3rasqqukeucbowlqek6jn6p4bqerfje', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_IMPORT_PATHS': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc', 2015/12/20 12:18:01 - INFO: [package:run_job] 'HDIST_VIRTUALS': '', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PATH': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PKG_CONFIG_PATH': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc/lib/pkgconfig', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PWD': u'/Users/raman/.hashdist/tmp/pygments-qhcxwsva3f5m-2', 2015/12/20 12:18:01 - INFO: [package:run_job] 'PYTHON': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc/bin/python', 2015/12/20 12:18:01 - INFO: [package:run_job] u'PYTHON_DIR': u'/Users/raman/.hashdist/bld/python/k3rasqqukeuc', 2015/12/20 12:18:01 - INFO: [package:run_job] u'PYTHON_ID': u'python/k3rasqqukeucbowlqek6jn6p4bqerfje'} 2015/12/20 12:18:02 - INFO: [package:run_job] running install 2015/12/20 12:18:02 - INFO: [package:run_job] Checking .pth file support in /Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/lib/python2.7/site-packages/ 2015/12/20 12:18:02 - INFO: [package:run_job] /Users/raman/.hashdist/bld/python/k3rasqqukeuc/bin/python -E -c pass 2015/12/20 12:18:02 - INFO: [package:run_job] TEST FAILED: /Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/lib/python2.7/site-packages/ does NOT support .pth files 2015/12/20 12:18:02 - INFO: [package:run_job] error: bad install directory or PYTHONPATH 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] You are attempting to install a package to a directory that is not 2015/12/20 12:18:02 - INFO: [package:run_job] on PYTHONPATH and which Python does not read ".pth" files from. The 2015/12/20 12:18:02 - INFO: [package:run_job] installation directory you specified (via --install-dir, --prefix, or 2015/12/20 12:18:02 - INFO: [package:run_job] the distutils default setting) was: 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] /Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/lib/python2.7/site-packages/ 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] and your PYTHONPATH environment variable currently contains: 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] '/Users/raman/.hashdist/bld/pygments/qhcxwsva3f5m/Python.framework/Versions/2.7/lib/python2.7/site-packages:' 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] Here are some of your options for correcting the problem: 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] * You can choose a different installation directory, i.e., one that is 2015/12/20 12:18:02 - INFO: [package:run_job] on PYTHONPATH or supports .pth files 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] * You can add the installation directory to the PYTHONPATH environment 2015/12/20 12:18:02 - INFO: [package:run_job] variable. (It must then also be on PYTHONPATH whenever you run 2015/12/20 12:18:02 - INFO: [package:run_job] Python and want to use the package(s) you are installing.) 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] * You can set up the installation directory to support ".pth" files by 2015/12/20 12:18:02 - INFO: [package:run_job] using one of the approaches described here: 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations 2015/12/20 12:18:02 - INFO: [package:run_job] 2015/12/20 12:18:02 - INFO: [package:run_job] Please make the appropriate changes for your system and try again. 2015/12/20 12:18:02 - ERROR: [package:run_job] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 1 2015/12/20 12:18:02 - ERROR: [package:run_job] command failed (code=1); raising

Comments (2)

  1. Log in to comment