QNX compilation inside dev containers#41
Conversation
5a29e53 to
456a4a0
Compare
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
lurtz
left a comment
There was a problem hiding this comment.
Something breaks with renaming the user. E.g. the main tag of the devcontainer got pytest via uv preinstalled in the user directory. This does not work anymore after the user has been renamed.
lure9428 ➜ ~/.../uv/tools/pytest/bin $ pytest --help
bash: /home/lure9428/.local/bin/pytest: cannot execute: required file not foundThe reason is the following:
lure9428 ➜ ~/.../uv/tools/pytest/bin $ cat pytest
#!/home/vscode/.local/share/uv/tools/pytest/bin/python
# -*- coding: utf-8 -*-
import sys
from pytest import console_main
if __name__ == "__main__":
if sys.argv[0].endswith("-script.pyw"):
sys.argv[0] = sys.argv[0][:-11]
elif sys.argv[0].endswith(".exe"):
sys.argv[0] = sys.argv[0][:-4]
sys.exit(console_main())As you can see the shebang still refers to the vscode home directory.
Is it possible to have a symlink from /home/vscode/ to /home/$USER/?
@lurtz |

Proposal for solution how to build for QNX in the dev containers.