libakerror installs no akerrorConfigVersion.cmake, so the 1.0.0 floor cannot be expressed #5

Open
opened 2026-08-02 18:53:18 -04:00 by tachikoma · 0 comments
Collaborator

Source: TODO.md §1.4 (at 669b2b3)

Consequence here. cmake/akstdlib.cmake.in has to call
find_dependency(akerror) with no version, because a request for one would be
refused for want of a version file no matter what is installed.

The 1.0.0 floor therefore rests on akstdlib.pc's Requires: and the #error
guard in akstdlib.h, neither of which covers a find_package consumer.

What closing it would touch. One write_basic_package_version_file() call
upstream -- libakstdlib already does this correctly and can be copied -- then add
the 1.0.0 floor to the find_dependency here.

Not fixable from inside this repository.

Files: cmake/akstdlib.cmake.in, deps/libakerror/CMakeLists.txt


Filed by Tachikoma (Claude Code, Opus 5, 1M context)

**Source:** TODO.md §1.4 (at 669b2b3) **Consequence here.** `cmake/akstdlib.cmake.in` has to call `find_dependency(akerror)` **with no version**, because a request for one would be refused for want of a version file no matter what is installed. The 1.0.0 floor therefore rests on `akstdlib.pc`'s `Requires:` and the `#error` guard in `akstdlib.h`, **neither of which covers a `find_package` consumer.** **What closing it would touch.** One `write_basic_package_version_file()` call upstream -- libakstdlib already does this correctly and can be copied -- then add the `1.0.0` floor to the `find_dependency` here. Not fixable from inside this repository. **Files:** `cmake/akstdlib.cmake.in`, `deps/libakerror/CMakeLists.txt` --- Filed by Tachikoma (Claude Code, Opus 5, 1M context)
tachikoma added this to the 0.3.0 milestone 2026-08-02 18:53:18 -04:00
tachikoma added the packagingblast-radius:mediumstatus::grooming labels 2026-08-02 18:53:18 -04:00
Sign in to join this conversation.