Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.1.29, 10.2.11, 10.3.5
-
None
-
FreeBSD 11.1 amd64
clang 4.0.0
boost 1.66.0
Judy 1.0.5
-
10.2.12
Description
When building MariaDB 10.1.29 with OQGRAPH option enabled, a build-error occurs when boost 1.66.0 is installed
$ MAKE_JOBS_UNSAFE=yes make
|
===> Building for mariadb101-server-10.1.29
|
[1/209] cd /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29 && /usr/local/bin/cmake -P /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29/c
|
make/info_src.cmake
|
[2/209] cd /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29 && /usr/local/bin/cmake -P /usr/ports/databases/mariadb101-server/work/mariadb-10.1.29/$make/info_bin.cmake
|
[3/209] /usr/bin/c++ -DBOOST_DISABLE_ASSERTS=1 -DBOOST_NO_RTTI=1 -DBOOST_NO_TYPEID=1 -DHAVE_CONFIG_H -DHAVE_OQGRAPH -DMYSQL_DYNAMIC_PLUGIN -Doqgraph_EXPORTS $Iinclude -Isql -Ipcre -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -isystem /usr/local/include -isystem /usr/local/inc$ude -DWITH_INNODB_DISALLOW_WRITES -fno-rtti -Wno-deprecated -fno-strict-aliasing -fpermissive -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector $isystem /usr/local/include -isystem /usr/local/include -DDBUG_OFF -fPIC -MD -MT storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -MF storage/oqgraph/CMa$eFiles/oqgraph.dir/graphcore.cc.o.d -o storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -c storage/oqgraph/graphcore.cc
|
FAILED: storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o
|
/usr/bin/c++ -DBOOST_DISABLE_ASSERTS=1 -DBOOST_NO_RTTI=1 -DBOOST_NO_TYPEID=1 -DHAVE_CONFIG_H -DHAVE_OQGRAPH -DMYSQL_DYNAMIC_PLUGIN -Doqgraph_EXPORTS -Iinclud$ -Isql -Ipcre -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -isystem /usr/local/include -isystem /usr/local/include -DW$TH_INNODB_DISALLOW_WRITES -fno-rtti -Wno-deprecated -fno-strict-aliasing -fpermissive -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -isystem /usr/local/include -isystem /usr/local/include -DDBUG_OFF -fPIC -MD -MT storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -MF storage/oqgraph/CMakeFiles/$qgraph.dir/graphcore.cc.o.d -o storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o -c storage/oqgraph/graphcore.cc
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
In file included from storage/oqgraph/oqgraph_shim.h:28:
|
storage/oqgraph/oqgraph_judy.h:66:24: error: too few arguments provided to function-like macro invocation
|
return setbit(n);
|
^
|
/usr/include/sys/param.h:285:9: note: macro 'setbit' defined here
|
#define setbit(a,i) (((unsigned char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
In file included from storage/oqgraph/oqgraph_shim.h:28:
|
storage/oqgraph/oqgraph_judy.h:118:36: error: too few arguments provided to function-like macro invocation
|
judy_bitset& setbit(size_type n);
|
^
|
/usr/include/sys/param.h:285:9: note: macro 'setbit' defined here
|
#define setbit(a,i) (((unsigned char *)(a))[(i)/NBBY] |= 1<<((i)%NBBY))
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
In file included from storage/oqgraph/oqgraph_shim.h:28:
|
storage/oqgraph/oqgraph_judy.h:38:5: error: constructor for 'open_query::judy_bitset' must explicitly initialize the reference member 'setbit'
|
judy_bitset()
|
^
|
storage/oqgraph/oqgraph_judy.h:118:18: note: declared here
|
judy_bitset& setbit(size_type n);
|
^
|
storage/oqgraph/oqgraph_judy.h:42:5: error: constructor for 'open_query::judy_bitset' must explicitly initialize the reference member 'setbit'
|
judy_bitset(const judy_bitset& src)
|
^
|
storage/oqgraph/oqgraph_judy.h:118:18: note: declared here
|
judy_bitset& setbit(size_type n);
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
storage/oqgraph/oqgraph_shim.h:30:9: warning: 'BOOST_NO_HASH' macro redefined [-Wmacro-redefined]
|
#define BOOST_NO_HASH 1
|
^
|
/usr/local/include/boost/config/detail/suffix.hpp:307:14: note: previous definition is here
|
# define BOOST_NO_HASH
|
^
|
In file included from storage/oqgraph/graphcore.cc:29:
|
In file included from storage/oqgraph/graphcore-graph.h:28:
|
storage/oqgraph/oqgraph_shim.h:31:9: warning: 'BOOST_NO_SLIST' macro redefined [-Wmacro-redefined]
|
#define BOOST_NO_SLIST 1
|
^
|
/usr/local/include/boost/config/detail/suffix.hpp:303:14: note: previous definition is here
|
# define BOOST_NO_SLIST
|
^
|
2 warnings and 4 errors generated.
|
ninja: build stopped: subcommand failed.
|
*** Error code 1
|
 |
Stop.
|
This error does not occur when we're building with boost 1.65.0