Skip to content

v26.06rc1: configure: uv: not found #9129

@whitslack

Description

@whitslack

2599c09 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions