We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
In Arch Linux, ninja binary detection is wrong. Let's see a minimal extract of build_ninja().
ninja
build_ninja()
# File located at /tmp/main.py import sys import os import subprocess try: subprocess.run( [sys.path[0] + os.path.sep + "ninja", "--version"], stdout=subprocess.PIPE ) except OSError: print("ninja executable not found. Building ...") subprocess.run( args=[ subprocess.run( args=["which", "ninja"], capture_output=True, text=True ).stdout.strip(), "--version", ], stdout=subprocess.PIPE, ) subprocess.run(["ninja", "--version"]) subprocess.run(["pwd"]) print(sys.path[0])
ninja executable not found. Building ... 1.12.1 /tmp /tmp
Desktop
The text was updated successfully, but these errors were encountered:
Thanks, please open a pull request with the proposed fix
Sorry, something went wrong.
No branches or pull requests
Describe the bug
In Arch Linux,
ninja
binary detection is wrong. Let's see a minimal extract ofbuild_ninja()
.Desktop
The text was updated successfully, but these errors were encountered: