liblldb cannot find python installation #329246
Labels
0.kind: bug
Something is broken
6.topic: llvm/clang
Issues related to llvmPackages, clangStdenv and related
Describe the bug
When bpftrace is linked against liblldb and tries to initialize it, we get the error:
Steps To Reproduce
Steps to reproduce the behavior:
nix build .#appimage
echo "int main() {return 0;}" | gcc -g -x c -
sudo ./result -e 'uprobe:./a.out:main { @ = count(); }'
Expected behavior
Not to get this error
Additional context
When I set PYTHONPATH to my host stdlib location it seems to work better (but still has odd errors):
Maybe it's an issue with PYTHONPATH? I see some magic is being done for the
lldb
executable here:nixpkgs/pkgs/development/compilers/llvm/common/lldb.nix
Line 162 in 63d37cc
Alternatively would it make sense to provide a build option to not build with language support?
Notify maintainers
@dtzWill
@Ericson2314
@lovek323
@qyliss
@RossComputerGuy
@rrbutani
@sternenseemann
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: