Skip to content

clang version string contains malformed repo URL https:/github.com #27745

Description

@simonw

I spotted this in Pyodide:

https://pyodide.org/en/stable/console.html

>>> import sys
>>> sys.version
'3.14.2 (main, Sep 14 2026, 03:03:51) [Clang 23.0.0git (https:/github.com/llvm/llvm-project e5927fecf8a6ce89e1a4eac5b8'

Note the URL there is:

https:/github.com/llvm/llvm-project

It should be:

https://github.com/llvm/llvm-project

It looks like the bug is in emscripten-releases - which doesn't have a separate bug tracker as far as I can tell.

https://chromium.googlesource.com/emscripten-releases/+/6eae703422b3962d1ed75e15f728ece57aad6bd6/src/build.py#646 does this:

    return [WindowsFSEscape(arg) for arg in command]

And one of those command arguments is:

'-DCLANG_REPOSITORY_STRING=%s' % CLANG_GIT_REPO,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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