[llvm-bugs] [Bug 47987] New: Many scripts use /usr/bin/env python but python3 might not have that symlink.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 26 18:48:53 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47987

            Bug ID: 47987
           Summary: Many scripts use  /usr/bin/env python but python3
                    might not have that symlink.
           Product: new-bugs
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: zarniwhoop at ntlworld.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

I initially thought that only one of the compiler-rt tests was involved,
because I had been running builds and tests while the python symlink was in
place, then removed it for other reasons and got an extra test failure.

But grepping through llvm with clang and compiler-rt found more than 130 such
files, mostly utilities and examples.

With the demise of python2, not every system will install a python symlink.

Certainly the compiler-rt test ran fine when converted to python3, and I see
from fedora's specfile that they appear to be doing something similar for some
of the others.

OTOH, if you want to continue to support python2 then this sort of change will
be painful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201027/09a0426a/attachment.html>


More information about the llvm-bugs mailing list