[MCOL-991] 1.1.1 with UDAF updates, debian 9 build fails Created: 2017-10-27  Updated: 2017-10-30  Resolved: 2017-10-30

Status: Closed
Project: MariaDB ColumnStore
Component/s: ExeMgr
Affects Version/s: 1.1.1
Fix Version/s: 1.1.1

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: David Hill (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Debian 9


Sprint: 2017-21

 Description   

1.1.1 with UDAF updates, debian 9 build fails

from /home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/dbcon/joblist/tupleaggregatestep.cpp:23:
/usr/include/c++/6/bits/stl_pair.h:83:11: note: template<class ...> class std::tuple
class tuple;
^~~~~
/home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/dbcon/joblist/tupleaggregatestep.cpp:78:21: error: ‘tuple’ has not been declared
bool operator()(tuple<uint32_t, int, mcsv1sdk::mcsv1_UDAF*> a,
^~~~~
/home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/dbcon/joblist/tupleaggregatestep.cpp:78:26: error: expected ‘,’ or ‘...’ before ‘<’ token
bool operator()(tuple<uint32_t, int, mcsv1sdk::mcsv1_UDAF*> a,
^
/home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/dbcon/joblist/tupleaggregatestep.cpp: In member function ‘bool

{anonymous}

::cmpTuple::operator()(int)’:
/home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/dbcon/joblist/tupleaggregatestep.cpp:81:14: error: ‘a’ was not declared in this scope
if (get<0>(a) < get<0>(b))
^
/home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/dbcon/joblist/tupleaggregatestep.cpp:81:26: error: ‘b’ was not declared in this scope
if (get<0>(a) < get<0>(b))
^
/home/builder/mariadb-columnstore-server/mariadb-columnstore-engine/dbcon/joblist/tupleaggregatestep.cpp:83:14: error: ‘a’ was not declared in this scope
if (get<0>(a) == get<0>(b))



 Comments   
Comment by David Hall (Inactive) [ 2017-10-27 ]

We added the use of tuple, rather than pair for the duplicate detection. It looks like debian 8 has defined tuple as a default, while other OS's have not. By qualifying all tuple definitions and calls with boost:: the problem should be alleviated.

Comment by David Hill (Inactive) [ 2017-10-30 ]

debian 9 no builds

Generated at Thu Feb 08 02:25:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.