diff --git a/contrib/voidlibrary-migration/build-support/vl/VoidLibraryModules.cpp b/contrib/voidlibrary-migration/build-support/vl/VoidLibraryModules.cpp index 0e348d8..89ce194 100644 --- a/contrib/voidlibrary-migration/build-support/vl/VoidLibraryModules.cpp +++ b/contrib/voidlibrary-migration/build-support/vl/VoidLibraryModules.cpp @@ -45,6 +45,10 @@ const std::map> &known_modules() { {{"Core", "Functional", "Memory", "Time", "Binary", "Async", "IO", "Resilience"}, false}}, {"Fsm", {{"Async", "Core", "Data", "Functional", "Time", "Log", "Service"}, false}}, + // External dependencies (linked by the embedding build): OpenSSL/Boost for Net, + // SQLite3 for Sqlite. + {"Net", {{"Functional", "Text"}, true}}, + {"Sqlite", {{"Functional", "Time"}, false}}, }; return kDefs; } diff --git a/docs/agent-workflow/STATE.md b/docs/agent-workflow/STATE.md index 396359e..bcf26dc 100644 --- a/docs/agent-workflow/STATE.md +++ b/docs/agent-workflow/STATE.md @@ -312,6 +312,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B - **Wave 109 (VoidLibrary Migration: Pure Module Expansion)**: the native module table gained Containers, Binary, IO, Service, ObservabilityHooks, Resilience, Storage, IPC and Fsm. In the separate clone at `0002e74`, `vbs build` compiled and archived all of them (18 actions) with no CMake; upstream [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) was updated with the result and what remains (externally dependent modules and further table entries). +- **Wave 110 (VoidLibrary Migration: Net & Sqlite)**: the module table gained `Net` (Functional, Text, threads) and `Sqlite` (Functional, Time). In the clone with `-p openssl -p boost -p sqlite`, `vbs build` compiled and archived both (13 actions incl. `libVoid_Net.a` and `libVoid_Sqlite.a`), with the system libraries linked by the embedding build; [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) was updated. + ## Remaining future scope - **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order. diff --git a/docs/agent-workflow/TASKS.md b/docs/agent-workflow/TASKS.md index e8f13e1..680591c 100644 --- a/docs/agent-workflow/TASKS.md +++ b/docs/agent-workflow/TASKS.md @@ -113,4 +113,5 @@ Base HEAD: `fe0d1a6` | Wave 107 (CI groundwork + RPM finding) | Sanitizer and MinGW/Wine CI jobs added to the template; RPM prototype investigated with real rpm tooling and deferred | PARTIAL: CI template updated (unverified on runners), RPM generator deferred with recorded evidence | `.github/workflows/ci.yml`, `docs/agent-workflow/STATE.md` | | Wave 108 (Native RPM generator) | `--archive-format rpm`: lead + signature/main headers + uncompressed cpio payload; validated with rpm 6.1 | COMPLETE & VERIFIED (rpm -qip/-qlp/rpm2cpio accept it; full CTest 8/8) | `src/Install/Installer.cpp`, `src/Main.cpp`, `tests/FullV1Tests.cpp`, docs | | Wave 109 (VoidLibrary pure module expansion) | Nine more modules in the native table; verified building in the migration clone; #61 updated | COMPLETE & VERIFIED IN CLONE (18 actions, no CMake) | `recipes/VoidLibrary/VoidLibraryRecipe.cpp`, `contrib/voidlibrary-migration/`, Void/Library#61 | +| Wave 110 (VoidLibrary Net & Sqlite) | Net and Sqlite in the native table; built in the clone under `-p openssl -p boost -p sqlite`; #61 updated | COMPLETE & VERIFIED IN CLONE (13 actions, no CMake) | `recipes/VoidLibrary/VoidLibraryRecipe.cpp`, `contrib/voidlibrary-migration/`, Void/Library#61 | | Future (Plan 20 Slice 3 / Tracks C, E3 editor extensions) |"}] Live `conan` CLI verification; macOS/Windows/cross-compile; binary-variant signing and key distribution; daemon-side dependency materialization and editor plugins; `Void::Net`/`Void::Sqlite` alignment | PLANNED (unimplemented) | [21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md), [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md) | diff --git a/docs/agent-workflow/VERIFICATION.md b/docs/agent-workflow/VERIFICATION.md index 55842dc..b91f387 100644 --- a/docs/agent-workflow/VERIFICATION.md +++ b/docs/agent-workflow/VERIFICATION.md @@ -1559,6 +1559,21 @@ vbs build --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrat - Upstream [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) was updated with the result and the remaining gaps (Net/Sqlite/Stacktrace/Script need Boost/OpenSSL/SQLite3/Lua). +## VoidLibrary Migration: Net & Sqlite (GCC 16.2, VoidLibrary `0002e74`) + +In the separate clone, with `dev cpp-gcc -p openssl -p boost -p sqlite`: + +```sh +vbs build --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrate/build3 \ + --profile debug --target Void_Net --target Void_Sqlite --jobs 8 +``` + +- **exit 0**, 13 actions: compiles `src/Net/{Http,HttpServer,Server,Socket,Url,WebSocket}.cpp` and + `src/Sqlite/Sqlite.cpp`, then archives `libVoid_Net.a` and `libVoid_Sqlite.a` - no CMake. +- The embedding `build.cpp` links the system libraries on the module targets + (`-lssl -lcrypto -lboost_url -ldl`, `-lsqlite3`). +- [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) was updated with the result. + ## Limits and Unrun Checks 1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified). diff --git a/recipes/VoidLibrary/VoidLibraryRecipe.cpp b/recipes/VoidLibrary/VoidLibraryRecipe.cpp index cef721d..c0c901b 100644 --- a/recipes/VoidLibrary/VoidLibraryRecipe.cpp +++ b/recipes/VoidLibrary/VoidLibraryRecipe.cpp @@ -45,6 +45,10 @@ const std::map> &known_modules() { {{"Core", "Functional", "Memory", "Time", "Binary", "Async", "IO", "Resilience"}, false}}, {"Fsm", {{"Async", "Core", "Data", "Functional", "Time", "Log", "Service"}, false}}, + // External dependencies (linked by the embedding build): OpenSSL/Boost for Net, + // SQLite3 for Sqlite. + {"Net", {{"Functional", "Text"}, true}}, + {"Sqlite", {{"Functional", "Time"}, false}}, }; return kDefs; }