Bug #91677 Not working with boost 1.67.0
Submitted: 17 Jul 2018 12:04 Modified: 20 Jul 2018 10:16
Reporter: su tristan (OCA) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.11 OS:CentOS
Assigned to: CPU Architecture:Any

[17 Jul 2018 12:04] su tristan
Description:
The document(https://dev.mysql.com/doc/refman/8.0/en/source-installation.html) says:

> The Boost C++ libraries are required to build MySQL (but not to use it). The current version > of Boost must be installed. 

But actually boost 1.66.0 is the only version supported. It failed with the current boost version( 1.67.0 as of this writing).

How to repeat:
build with :

> cmake . -DWITH_BOOST=/path/to/boost_version_1.67.0

Suggested fix:
Either the documentation should be fixed or support building with newer boost version.
[17 Jul 2018 13:06] MySQL Verification Team
Hello su tristan,

Thank you for the report and feedback.

Thanks,
Umesh
[18 Jul 2018 8:03] Tor Didriksen
"The current version of Boost" means one specific version, hard-coded in our build scripts. Boost was introduced for its geometry support, and we develop our GIS code in tandem with geometry support in boost. Build with a different boost version than the one hard-coded in our build script, and you will get wrong results.

I hope this clarifies things.
[20 Jul 2018 10:19] Laurynas Biveinis
With the web page still saying "current version of Boost", perhaps this should be a doc bug and this clarification should go there.
[7 Aug 2018 15:22] Paul DuBois
Updating the docs to say:

MySQL compilation requires a particular Boost version. Typically, that is
the current Boost version, but if a specific MySQL source distribution
requires a different version, the configuration process will stop with a
message indicating the Boost version that it requires.