Bug #62014 No build rules for archive_reader and archive_test with CMake
Submitted: 28 Jul 2011 9:47 Modified: 6 Jan 2017 18:58
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Archive storage engine Severity:S3 (Non-critical)
Version:>= 5.5 OS:Any
Assigned to: CPU Architecture:Any
Tags: regression

[28 Jul 2011 9:47] Hartmut Holzgraefe
The archive storage engine code comes with two tools archive_reader and archive_test which the autotools build system built together with the engine but excluded from installation so that they were only available from a self built source tree.

There are no equivalent CMake rules for this so the two tools can't be built at all anymore with the generated Makefiles, making the archive_reader.c and archive_test.c files dead code.

How to repeat:
Check the storage/archive/CMakeLists.txt file for any rules regarding archive_reader.c and archive_test.c, unlike in the prior Makefile.am there aren't any ...

Suggested fix:
Restore old build behavior (preferred), or get rid of the unused archive_reader.c and archive_test.c files.
[28 Jul 2011 10:13] Valeriy Kravchuk
Thank you for the bug report. Verified with current mysql-5.5 from bzr by code review.
[6 Jan 2017 18:58] Paul DuBois
Posted by developer:
Noted in 8.0.1 changelog.

The unused and undocumented archive_reader and archive_test utilities
have been removed from MySQL source distributions.