Skip to content

compat.quickjs-ng: sources list both layouts' exact paths, so every build warns that four of them name no file (mcpp 2026.11.27.1) #930

Done

Description

@speak-agent

Since #903 (2026-11-25) compat.quickjs-ng's sources name each engine file twice, once per layout:

sources = {
    "dtoa.c", "quickjs-0.17.0/dtoa.c",
    "libregexp.c", "quickjs-0.17.0/libregexp.c",
    "libunicode.c", "quickjs-0.17.0/libunicode.c",
    "quickjs.c", "quickjs-0.17.0/quickjs.c",
},

In any one install one path of each pair names no file: a 0.17.0 installed before #903 keeps quickjs-0.17.0/ (the root paths are missing), a fresh install is flattened by install() (the quickjs-0.17.0/ paths are missing). mcpp 2026.11.27.1 reports an exact source path that names no file, so every build that reaches the package prints four warnings, e.g. on a fresh ubuntu-24.04 runner:

warning: .../compat-x-quickjs-ng/0.17.0/mcpp.toml: [build] sources: "quickjs-0.17.0/dtoa.c" names no file: a path without a pattern names one file, and .../0.17.0/quickjs-0.17.0/dtoa.c does not exist (...)

and locally, on a 0.17.0 installed before #903, the same for "dtoa.c". The package builds from the other path of each pair; only the noise is wrong.

A way out that keeps both installs: one pattern per file that matches either layout and is not an exact path (so a pattern that matches nothing in one layout is not reported), or re-installing 0.17.0 flat everywhere and listing the root paths only.

Found while building Sunrisepeak/mui (its CI run 45956715231 and local builds).

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