Commit Graph

6 Commits

Author SHA1 Message Date
vasilito af03420bcc libpng, zsh: two more GCC 14+ strictness regressions
libpng
  contrib/libtests/pngvalid.c calls feenableexcept(), a glibc extension
  relibc does not provide, and GCC 14+ makes the implicit declaration an
  error. It is a test program, so build it the way AGENTS.md
  § CONVENTIONS already prescribes for cross builds -- '--disable-tests'.
  The library is unaffected; only check_PROGRAMS is skipped, and those
  binaries cannot run on the build host regardless.

zsh
  zsh 5.9 probes for the termcap symbol arrays with
      char **test = boolcodes; puts(*test);
  and ncurses declares boolcodes as 'const char * const *'. GCC 14
  promoted -Wincompatible-pointer-types to an error, so the probe stopped
  compiling, configure concluded boolcodes=no, HAVE_BOOLCODES was left
  undefined, and Src/Modules/termcap.c fell back to defining its own
  array -- colliding with the header:
      termcap.c:45: error: conflicting types for 'boolcodes'
  The probe uses a bare shell variable, not an ac_cv_ cache entry, so
  there is nothing to override; restoring the pre-GCC-14 severity is what
  lets it reach the right answer. Scoped to this recipe so the rest of the
  tree keeps the stricter default.

Both cook clean.
2026-08-03 16:15:17 +03:00
vasilito 3bcf4cc196 fix: add [package].version to ALL 250+ non-WIP recipes (was missing)
Comprehensive fix — not a fallback. Each recipe now has explicit
[package] section with name and version. Version inference:
- Git-source recipes without rev/branch: '0.1.0' (Red Bear convention)
- Tar/git recipes with version in URL or dir name: extracted version
- Sysroot-copy recipes: matched to toolchain version

Affected: 250+ recipes across all categories (core, libs, dev, system,
kde, qt, drivers, gpu, drm, kernel, userspace, etc.) Every recipe
in the redbear-mini build chain that was missing [package] now has
explicit version metadata. Cookbook can now always determine a version
at packaging time, eliminating 'cannot guess version' failures.

No cookbook fallback hack — the source of truth is recipe metadata.
2026-07-12 19:08:00 +03:00
vasilito f069dcfa18 conntrack: icmp_error_count 2026-07-09 10:19:22 +03:00
vasilito 04badb070e Fix zsh cross-compilation: --srcdir flag + awk permissions
Added --srcdir="${COOKBOOK_SOURCE}" to zsh configure flags to fix
the config.status error '/subs1.awk: Permission denied' during
cross-compilation. The error occurred because  was empty,
causing awk script paths to resolve to '/subs1.awk' instead of
the correct source directory path.

Also added chmod +x on Src/*.awk to ensure configure-generated
config.status can invoke awk scripts directly (autotools may try
to execute rather than interpret via awk -f).

This unblocks Phase 2.1 end-to-end build test.
2026-07-09 00:49:15 +03:00
vasilito a86717be2f state: 36/48 KDE packages build, 12 blocked — honest final state
The literal task 'build ALL KDE packages' cannot be 100% completed
because 12 packages require upstream dependencies not available on Redox:
- kirigami + plasma* (4): QML JIT disabled — no QQuickWindow/QQmlEngine
- kwin real build (1): Qt6::Sensors port needed
- breeze + kf6-kio + kf6-knewstuff + kde-cli-tools (4): source issues
- plasma extras (3): transitive blockers

What WAS completed:
- Cookbook topological sort fix (root cause — all deps now correct order)
- kf6-attica recipe (183 files, 2.4MB pkgar)
- 12 I2C/GPIO/UCSI daemons archived as durable patches
- Source archival system (make sources)
- Config + all docs synced, no contradictions
2026-04-30 01:54:09 +01:00
vasilito 6f5aa6010b Add kwin full source tree, greeter login, zsh, pcid service, and build system improvements 2026-04-26 22:31:07 +01:00