Bug #43394 compile-ndb-autotest produces errors when building InitConfigFileParser.cpp
Submitted: 4 Mar 2009 21:36 Modified: 17 Mar 2009 18:57
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S1 (Critical)
Version:mysql-5.1-telco-6.4 OS:Any
Assigned to: Frazer Clement CPU Architecture:Any

[4 Mar 2009 21:36] Jonathan Miller
Description:
../../../../storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:22:27: error: EventLogger.hpp: No such file or directory
if gcc -DHAVE_CONFIG_H -DNDEBUG  -g -DERROR_INSERT -DACC_SAFE_QUEUE -I. -I. -I../../../../include -I../../../../storage/ndb/include/kernel -I../../../.. -I../../../../include -I../../../../storage/ndb/include -I../../../../include -I../../../../storage/ndb/include -I../../../../storage/ndb/include/ndbapi -I../../../../storage/ndb/include/util -I../../../../storage/ndb/include/portlib -I../../../../storage/ndb/test/include -I../../../../storage/ndb/include/mgmapi   -DERROR_INSERT  -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer  -g   -fno-implicit-templates -fno-exceptions -fno-rtti -MT testNdbApi.o -MD -MP -MF ".deps/testNdbApi.Tpo" -c -o testNdbApi.o testNdbApi.cpp; \
        then mv -f ".deps/testNdbApi.Tpo" ".deps/testNdbApi.Po"; else rm -f ".deps/testNdbApi.Tpo"; exit 1; fi
../../../../storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:25: error: expected initializer before ‘*’ token
../../../../storage/ndb/src/mgmsrv/InitConfigFileParser.cpp: In member function ‘Config* InitConfigFileParser::parseConfig(const char*)’:
../../../../storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:66: error: ‘g_eventLogger’ was not declared in this scope
gmake[5]: *** [testMgm-InitConfigFileParser.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
../../../../storage/ndb/test/include/NDBT_Table.hpp: In constructor ‘NDBT_Table::NDBT_Table(const char*, int, const NdbDictionary::Column*)’:
../../../../storage/ndb/test/include/NDBT_Table.hpp:72: warning: unused variable ‘ret’
../../../../storage/ndb/test/include/NDBT_Table.hpp: In constructor ‘NDBT_Table::NDBT_Table(const char*, int, NdbDictionary::Column**)’:
../../../../storage/ndb/test/include/NDBT_Table.hpp:89: warning: unused variable ‘ret’
testNdbApi.cpp: In function ‘int runTestMaxNdb(NDBT_Context*, NDBT_Step*)’:
testNdbApi.cpp:49: warning: unused variable ‘maxErrors’
../../../../storage/ndb/test/include/NDBT_Table.hpp: In constructor ‘NDBT_Table::NDBT_Table(const char*, int, const NdbDictionary::Column*)’:
../../../../storage/ndb/test/include/NDBT_Table.hpp:72: warning: unused variable ‘ret’
../../../../storage/ndb/test/include/NDBT_Table.hpp: In constructor ‘NDBT_Table::NDBT_Table(const char*, int, NdbDictionary::Column**)’:
../../../../storage/ndb/test/include/NDBT_Table.hpp:89: warning: unused variable ‘ret’
testNdbApi.cpp: In function ‘int runTestIgnoreError(NDBT_Context*, NDBT_Step*)’:
testNdbApi.cpp:1652: warning: enumeration value ‘NoExecTypeDef’ not handled in switch
testNdbApi.cpp:1652: warning: enumeration value ‘Prepare’ not handled in switch
testNdbApi.cpp:1652: warning: enumeration value ‘Rollback’ not handled in switch
testNdbApi.cpp:1656: warning: enumeration value ‘DefaultAbortOption’ not handled in switch
testNdbApi.cpp:1613: warning: unused variable ‘result’
testNdbApi.cpp: In function ‘int runCheckNdbObjectList(NDBT_Context*, NDBT_Step*)’:
testNdbApi.cpp:1709: warning: unused variable ‘pTab’
testDict.cpp: At global scope:
testDict.cpp:3976: warning: ‘void st_print_obj(const char*, const char*, int)’ defined but not used
testDict.cpp:4009: warning: ‘void st_set_commit_trg(ST_Con&, ST_Trg&)’ defined but not used
testDict.cpp:6020: warning: ‘int st_test_sr_commit(ST_Con&, int)’ defined but not used
gmake[5]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-5.1-telco-6.4-2009-03-04.24113/storage/ndb/test/ndbapi'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-5.1-telco-6.4-2009-03-04.24113/storage/ndb/test/ndbapi'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-5.1-telco-6.4-2009-03-04.24113/storage/ndb/test'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-5.1-telco-6.4-2009-03-04.24113/storage/ndb'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/data0/ACRT_CLONES/builds/clone-mysql-5.1-telco-6.4-2009-03-04.24113/storage'
gmake: *** [all-recursive] Error 1

How to repeat:
pull and build with ./BUILD/compile-ndb-autotest
[4 Mar 2009 23:40] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/68287

2914 Frazer Clement	2009-03-04
      Bug#43394 Quick fix
      modified:
        storage/ndb/test/ndbapi/Makefile.am
[4 Mar 2009 23:44] Bugs System
Pushed into 5.1.32-ndb-6.4.4 (revid:frazer@mysql.com-20090304233928-qmn15daj9c16wtxj) (version source revid:frazer@mysql.com-20090304233928-qmn15daj9c16wtxj) (merge vers: 5.1.32-ndb-6.4.4) (pib:6)
[17 Mar 2009 18:57] Jon Stephens
Does not appear relevant for end-users and doesn't appear in a release in any case. Closed without taking further action.