ElementsProject / ElementsProject/lightning

v26.06rc1: configure: uv: not found

Open
#9,129 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

2599c093e750fb69ce2a90037938a203433c3596 seems misguided, as it fails to work correctly on systems lacking `uv`:
```
./configure: 119: uv: not found
./configure: 119: uv: not found
./configure: 119: uv: not found
./configure: 119: uv: not found
./configure: 119: uv: not found
```

Then, during the build, running `msggen` fails because the Python interpreter was not correctly detected:
```
PYTHONPATH=contrib/msggen contrib/msggen/msggen/__main__.py bundle doc/schemas
/bin/sh: 1: contrib/msggen/msggen/__main__.py: Permission denied
make: *** [contrib/msggen/Makefile:15: contrib/msggen/msggen/schema.json] Error 126
```
(Notice the extra space between `PYTHONPATH=contrib/msggen` and `contrib/msggen/msggen/__main__.py`. That's where the Python interpreter command name is supposed to go.)

`uv` is not a hard dependency for building CLN, even if one wants the Python components. Gentoo is now resorting to stripping out the extraneous `uv run` tokens from `configure`, but an upstream solution would be preferable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.