Bug #90212 -DWITH_KEYRING_TEST=ON produces unexpected compiler build failure
Submitted: 26 Mar 2018 5:43 Modified: 19 Sep 2018 18:52
Reporter: Roel Van de Paar Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:8.0.4rc OS:Any
Assigned to: CPU Architecture:Any

[26 Mar 2018 5:43] Roel Van de Paar

Lists -DWITH_KEYRING_TEST as a valid option for MySQL 8.0.4rc, yet;

[ 65%] Building CXX object plugin/keyring/keyring-test/CMakeFiles/keyring-test.dir/keyring-test.cc.o
/git/mysql-server_dbg/plugin/keyring/keyring-test/keyring-test.cc:26:10: fatal error: 'sql_plugin_ref.h' file not found
#include <sql_plugin_ref.h>
1 error generated.
make[2]: *** [plugin/keyring/keyring-test/CMakeFiles/keyring-test.dir/keyring-test.cc.o] Error 1
make[1]: *** [plugin/keyring/keyring-test/CMakeFiles/keyring-test.dir/all] Error 2
make: *** [all] Error 2

How to repeat:
Compile MySQL 8.0.4rc (in debug if it matters)

I have not checked 5.7 yet; it may also be affected
[27 Mar 2018 5:33] MySQL Verification Team
Hello Roel,

Thank you for the report.

[27 Mar 2018 5:34] MySQL Verification Team
Build details

Attachment: 90212_8.0.4_build.log (application/octet-stream, text), 267.97 KiB.

[19 Sep 2018 18:52] Paul DuBois
Posted by developer:
Fixed in 5.7.23, 8.0.12.

Work was done for test suite. No changelog entry needed.