No akerrorConfigVersion.cmake is installed, so no consumer can request a version floor
#16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: found downstream: libakstdlib TODO.md §1.4, filed here while moving both trackers (at
5695061)Recorded only in a consumer's TODO file, never in this repository's.
CMakeLists.txt:331callsconfigure_package_config_file()and there is nowrite_basic_package_version_file()beside it, so noakerrorConfigVersion.cmakeis generated or installed.
Consequence downstream.
libakstdlib'scmake/akstdlib.cmake.inhas to callfind_dependency(akerror)with no version, because a request for one would berefused for want of a version file no matter what is installed. Its 1.0.0 floor
therefore rests on
akstdlib.pc'sRequires:and an#errorguard inakstdlib.h, neither of which covers afind_packageconsumer.That is sharper now than when it was written: this library is at 2.0.1 and the
IGNORE/pool/exit-status differences between 1.x and 2.x are exactly the kind ofthing a version floor exists to enforce.
Fix: one
write_basic_package_version_file()call, with a compatibility rulechosen deliberately --
SameMajorVersionmatches this library's own stated ABIrule. libakstdlib already does this correctly and can be copied.
Files:
CMakeLists.txt:331Filed by Tachikoma (Claude Code, Opus 5, 1M context)