Bug #96263 | 8.0.17 protobuf-related build errors on macOS | ||
---|---|---|---|
Submitted: | 22 Jul 2019 6:27 | Modified: | 30 Jul 2019 14:07 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 8.0.17 | OS: | MacOS (10.14.5) |
Assigned to: | CPU Architecture: | Any | |
Tags: | protobuf |
[22 Jul 2019 6:27]
Laurynas Biveinis
[22 Jul 2019 6:45]
Laurynas Biveinis
Does not build with -DWITH_PROTOBUF=bundled neither: In file included from /Users/laurynas/percona/mysql-8.0/router/src/metadata_cache/src/gr_notifications_listener.cc:28: In file included from /Users/laurynas/percona/mysql-8.0/plugin/x/client/mysqlxclient/xsession.h:34: In file included from /Users/laurynas/percona/mysql-8.0/plugin/x/client/mysqlxclient/xprotocol.h:39: In file included from /Users/laurynas/percona/mysql-8.0/plugin/x/client/mysqlxclient/xmessage.h:56: /Users/laurynas/percona/obj-mysql-8.0-debug-san/plugin/x/generated/protobuf_lite/mysqlx.pb.h:17:2: error: This file was generated by an older version of protoc which is #error This file was generated by an older version of protoc which is ^ /Users/laurynas/percona/obj-mysql-8.0-debug-san/plugin/x/generated/protobuf_lite/mysqlx.pb.h:18:2: error: incompatible with your Protocol Buffer headers. Please #error incompatible with your Protocol Buffer headers. Please ^ /Users/laurynas/percona/obj-mysql-8.0-debug-san/plugin/x/generated/protobuf_lite/mysqlx.pb.h:19:2: error: regenerate this file with a newer version of protoc. #error regenerate this file with a newer version of protoc. ^
[22 Jul 2019 6:46]
Laurynas Biveinis
Editing title accordingly
[22 Jul 2019 12:44]
MySQL Verification Team
Hi Laurynas, Thank you for the bug report. Build worked for me with XCode, bundled PROTOBUF, enabled MYSQLX_PROTOBUF_LITE and enabled XPLUGIN_LOG_PROTOBUF, disabled protobuf_MSVC_STATIC_RUNTIME and enabled protobuf_BUILD_PROTOC_BINARIES. Can you try that ???
[22 Jul 2019 13:56]
MySQL Verification Team
Hi Laurynas, No need to send any new info. Our Build department has verified this bug.
[23 Jul 2019 5:47]
Tor Didriksen
I verified the build break with protobuf 3.7.1 I am not able to verify any breakage of the "bundled" version.
[30 Jul 2019 14:07]
Paul DuBois
Posted by developer: Fixed in 8.0.18. Protobuf compilation failed on macOS.
[30 Jul 2019 15:25]
MySQL Verification Team
Thank you, Paul.