Files
RedBear-OS/local
vasilito 5838dcd36a kde: kf6-syntaxhighlighting — build the host katehighlightingindexer correctly
katehighlightingindexer is a Qt6::Core-only HOST code generator (indexes syntax
.xml -> the highlighting index embedded into the cross-compiled library). The
recipe's host build was broken three ways, all masked by 2>/dev/null:
- it used the redox cross-compiler (redoxer env sets CC/CXX) and linked the host
  libQt6Core (glibc) with the redox linker -> every glibc symbol undefined. Force
  host gcc/g++ and clear the redox toolchain env for the host pass.
- it never put the host Qt on CMAKE_PREFIX_PATH, so Qt6 wasn't found.
- the host Qt has no QtNetwork (the target library's definitiondownloader uses
  it); build the indexer from a source COPY with Network dropped, leaving the
  real source (and the target build) with Network intact.
- KATEHIGHLIGHTINGINDEXER_EXECUTABLE pointed at src/indexer/ but KDE emits the
  binary to bin/. Errors are no longer suppressed so a broken host tool fails
  loudly instead of silently breaking the target's index generation.
2026-08-01 15:44:35 +03:00
..