gentle-wolf-58752
03/07/2019, 5:26 PM/pants test tests/python/pants_test/build_graph:target -- -k=test_has_sources
res:
<reduced output for brevity>
E ImportError: dlopen(/var/folders/fv/9ly0y0dj1g946plb36nm4s1m0000gn/T/tmpxvJsvr/native_engine.so, 2): Symbol not found: __Py_Dealloc
E Referenced from: /var/folders/fv/9ly0y0dj1g946plb36nm4s1m0000gn/T/tmpxvJsvr/native_engine.so
E Expected in: flat namespace
E in /var/folders/fv/9ly0y0dj1g946plb36nm4s1m0000gn/T/tmpxvJsvr/native_engine.so
Seems to be coming from make_target
in TestBase
hundreds-father-404
03/07/2019, 5:27 PMaloof-angle-91616
03/07/2019, 5:27 PM/tmp
, rm -rf ~/.cache/pants/bin/native-engine
, then git clean -xfd
aloof-angle-91616
03/07/2019, 5:27 PMaloof-angle-91616
03/07/2019, 5:28 PMsrc/python/pants/engine/native_engine.so
after building, not sure if that's something we need to clean up as well when switching pythonshundreds-father-404
03/07/2019, 5:28 PMaloof-angle-91616
03/07/2019, 5:28 PMhundreds-father-404
03/07/2019, 5:29 PM./pants clean-all
? That is one case where this would fail if you forgot togentle-wolf-58752
03/07/2019, 5:30 PMaloof-angle-91616
03/07/2019, 5:31 PMaloof-angle-91616
03/07/2019, 5:32 PMgentle-wolf-58752
03/07/2019, 5:36 PMclean-all
- Exception caught: (pex.resolver.Untranslateable)
- seeing a few issues related so looking more into thosegentle-wolf-58752
03/07/2019, 5:38 PMhundreds-father-404
03/07/2019, 5:40 PMPEX_VERBOSE=9
?gentle-wolf-58752
03/07/2019, 5:43 PM2.7.14
and 3.6.6
set via pyenv
gentle-wolf-58752
03/07/2019, 5:44 PM3.6.6
'Exception message: received exit code 127 during execution of ['/Users/schmitt/.pyenv/shims/python2.7'] while trying to execute `['/Users/schmitt/.pyenv/shims/python2.7']
hundreds-father-404
03/07/2019, 5:45 PMpyenv global 2.7 3.6 3.7
enabled just fine.gentle-wolf-58752
03/07/2019, 5:47 PMPEX_VERBOSE=9
- not sure what would be most helpful (seems like it’s too much for a post on the issue)gentle-wolf-58752
03/07/2019, 5:48 PMUnder current interpreter PythonInterpreter('/Users/schmitt/Workspace/pants/build-support/pants_dev_deps.py36.venv/bin/python3' ...
and
To match given interpreter PythonInterpreter('/Users/schmitt/Workspace/pants/build-support/pants_dev_deps.py36.venv/bin/python3', PythonIdentity('cp', 'cp36m', '36', 3, 6, 6), {('setuptools', '40.4.3'): '/Users/schmitt/.cache/pants/python_cache/interpreters/CPython-3.6.6/setuptools-40.4.3-py3.6.egg', ('wheel', '0.31.1'): '/Users/schmitt/.cache/pants/python_cache/interpreters/CPython-3.6.6/wheel-0.31.1-py3.6.egg'}).
hundreds-father-404
03/07/2019, 5:49 PMgentle-wolf-58752
03/07/2019, 5:50 PMclean-all
(sorry should have been more clear above that this was a different / new issue, which is what sent me back to github to find other reports)hundreds-father-404
03/07/2019, 5:50 PMgentle-wolf-58752
03/07/2019, 5:59 PMhundreds-father-404
03/07/2019, 6:00 PMgentle-wolf-58752
03/07/2019, 6:05 PMwitty-crayon-22786
03/07/2019, 6:28 PMwitty-crayon-22786
03/07/2019, 6:29 PMpantsd
by default, and we need to prioritize that first for metrics purposes =(witty-crayon-22786
03/07/2019, 6:30 PMaloof-angle-91616
03/07/2019, 10:47 PMwitty-crayon-22786
03/07/2019, 10:48 PM