Skip to content

#3168: a configured-only tree builds the headers its build generates before the facade reads it - #3204

Merged
ehartford merged 1 commit into
mainfrom
i3168
Nov 9, 2026
Merged

ehartford merged 1 commit into
mainfrom
i3168

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Fixes #3168. After configuring a binary package's source, with get asks the Ninja graph for the custom-command outputs that are headers (ninja -t targets all) and builds exactly those; the library is never built. libpng: 0 → 256 functions read (pnglibconf.h, pngprefix.h). Fixture conan_generated_headers_test (the listing parser). Battery GREEN on ad92be2 (with run tools/battery.w in ~/.local/with-staging/i3168, wall 1020 s with the gate; GREEN BATTERY_DONE).

…before the facade reads it

`with get` configures a binary package's source (never builds it) to read
its units. A header the build generates was not there: libpng's
pnglibconf.h (from scripts/pnglibconf.dfa) made all 18 units unreadable
and the facade had 0 functions; harfbuzz, which needs libpng, ended the
same. conan_generate_headers asks the Ninja graph for the custom-command
outputs that are headers (`ninja -t targets all`) and builds exactly
those; the library itself is never built. A failure is said and the
unread units are reported as before.

Fixture: conan_generated_headers_test (the listing parser: relative paths
once, CMake utilities and non-header outputs skipped).
@ehartford
ehartford merged commit 28e1a81 into main Nov 9, 2026
@ehartford
ehartford deleted the i3168 branch November 9, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant