Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.0.19
-
Fix Version/s: 10.0.20
-
Component/s: Storage Engine - OQGRAPH
-
Labels:None
-
Environment:FreeBSD 10.1 amd64
-
Sprint:10.0.20
Description
When building MariaDB 10.0.19 (as well as 10.0.17, 10.0.18 and possibly earlier) cmake fails to pick up the installed boost libraries.
# cmake . -LAH -- Running cmake version 3.1.3 -- MariaDB 10.0.19 -- Packaging as: mariadb-10.0.19-FreeBSD10.1-x86_64 getconf: no such configuration parameter `LEVEL1_DCACHE_LINESIZE' -- suffixes <.so;.a> -- OPENSSL_INCLUDE_DIR = /usr/local/include -- OPENSSL_LIBRARIES = /usr/local/lib/libssl.so -- CRYPTO_LIBRARY = /usr/local/lib/libcrypto.so -- OPENSSL_MAJOR_VERSION = 1 -- SSL_LIBRARIES = /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so -- Configuring OQGraph -- Boost version: 1.55.0 -- Requisites for OQGraph not met. OQGraph will not be compiled
When I add LDFLAGS and CXXFLAGS cmake starts detecting Boost OK and reports Requisites for OQGraph are OK but then fails to compile storage/perfschema/pfs.cc
/usr/ports/databases/mariadb100-server/work/mariadb-10.0.19/storage/perfschema/pfs.cc:5285:3: error: cannot initialize
a member subobject of type 'digest_add_token_v1_t' (aka 'struct PSI_digest_locker *(*)(struct PSI_digest_locker
*, uint, struct OPAQUE_LEX_YYSTYPE *)') with an lvalue of type 'void (PSI_digest_locker *, const
sql_digest_storage *)': different number of parameters (3 vs 2)
pfs_digest_end_v1,
Gliffy Diagrams
Attachments
Issue Links
- is blocked by
-
MDEV-4282 Build on FreeBSD from ports
-
- Open
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
At least I've fixed the Boost detection problem... Thanks to ngladitz on #cmake@Freenode
Now back to failing with
[ 21%] Building CXX object storage/perfschema/CMakeFiles/perfschema.dir/pfs.cc.o /usr/ports/databases/mariadb100-server/work/mariadb-10.0.19/storage/perfschema/pfs.cc:4511:10: error: no member named 'm_digest' in 'PSI_statement_locker_state_v1' state->m_digest= NULL; ~~~~~ ^ /usr/ports/databases/mariadb100-server/work/mariadb-10.0.19/storage/perfschema/pfs.cc:4799:30: error: no member named 'm_digest' in 'PSI_statement_locker_state_v1' digest_storage= state->m_digest; ~~~~~ ^ /usr/ports/databases/mariadb100-server/work/mariadb-10.0.19/storage/perfschema/pfs.cc:4875:32: error: no member named 'm_digest' in 'PSI_statement_locker_state_v1' digest_storage= state->m_digest; ~~~~~ ^ /usr/ports/databases/mariadb100-server/work/mariadb-10.0.19/storage/perfschema/pfs.cc:5145:22: error: no member named 'm_digest' in 'PSI_statement_locker_state_v1' statement_state->m_digest= digest; ~~~~~~~~~~~~~~~ ^ /usr/ports/databases/mariadb100-server/work/mariadb-10.0.19/storage/perfschema/pfs.cc:5285:3: error: cannot initialize a member subobject of type 'digest_add_token_v1_t' (aka 'struct PSI_digest_locker *(*)(struct PSI_digest_locker *, uint, struct OPAQUE_LEX_YYSTYPE *)') with an lvalue of type 'void (PSI_digest_locker *, const sql_digest_storage *)': different number of parameters (3 vs 2) pfs_digest_end_v1, ^~~~~~~~~~~~~~~~~ 5 errors generated. storage/perfschema/CMakeFiles/perfschema.dir/build.make:169: recipe for target 'storage/perfschema/CMakeFiles/perfschema.dir/pfs.cc.o ' failed