validate-schema.py.in starts with #!@PYTHON@. If the full path to the python interpreter that flux is configured with is >127 characters, it fails to exec (thanks to kernel limits).
→ head -n1 ./src/modules/job-ingest/validators/validate-schema.py │···········
#!/home/herbein1/Repositories/spack/opt/spack/linux-ubuntu18.04-ivybridge/gcc-7.4.0/python-2.7.16-v4r2orsb2vj4zvawlln3npwe4vzntf3r/bin/python
→ ./src/modules/job-ingest/validators/validate-schema.py
zsh: ./src/modules/job-ingest/validators/validate-schema.py: bad interpreter: /home/herbein1/Repositories/spack/opt/spack/linux-ubuntu18.04-ivybridge/gcc-7.4.0/python-2.7.16-v4r2orsb2vj4zvawlln3npwe4vzntf: no such file or directory
Switching the shebang to #!/usr/bin/env flux-python should fix this particular problem, but it may cause a regression to the problem seen in #2434.
In it's current state, this file means we cannot run spack install --test=root flux-core for versions 0.12.0, 0.13.0, and master.
validate-schema.py.instarts with#!@PYTHON@. If the full path to the python interpreter that flux is configured with is >127 characters, it fails to exec (thanks to kernel limits).Switching the shebang to
#!/usr/bin/env flux-pythonshould fix this particular problem, but it may cause a regression to the problem seen in #2434.In it's current state, this file means we cannot run
spack install --test=root flux-corefor versions 0.12.0, 0.13.0, and master.