hpcugent / Lmod-UGent

spec files of Lmod for UGent-HPC
8 stars 7 forks source link

all python code needs proper shebang #39

Closed stdweird closed 3 years ago

stdweird commented 4 years ago
*** ERROR: ambiguous python shebang in /usr/share/lmod/8.2.5/libexec/run_lmod_cache.py: #!/usr/bin/python -E. Change it to python3 (or python2) explicitly.
error: Bad exit status from /var/tmp/rpm-tmp.Imca5x (%install)

easiest fix is to fix it in the spec file during the %build phase

stdweird commented 4 years ago

or use /usr/bin/python-stripped-env?