Compiling with BUILD/compile-pentium64-debug-all fails

Bug #705213 reported by Hakan Küçükyılmaz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
New
Undecided
Unassigned

Bug Description

Compiling with BUILD/compile-pentium64-debug-all fails on Ubuntu 10.10 x86_64 and openSUSE 11.1 x86_64

How to repeat:
* Use lp:maria/5.2
* Run BUILD/compile-pentium64-debug-all
* See
libtool: compile: ccache g++ -DHAVE_CONFIG_H -DNDB_DEBUG_FULL -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD -I. -I../../../../../../include -I. -I../../../../../../include -I../../../../../../storage/ndb/include -I../../../../../../include -I../../../../../../mysys -I../../../../../../storage/ndb/include -I../../../../../../storage/ndb/include/kernel -I../../../../../../storage/ndb/include/transporter -I../../../../../../storage/ndb/include/debugger -I../../../../../../storage/ndb/include/mgmapi -I../../../../../../storage/ndb/include/mgmcommon -I../../../../../../storage/ndb/include/ndbapi -I../../../../../../storage/ndb/include/util -I../../../../../../storage/ndb/include/portlib -I../../../../../../storage/ndb/include/logger -g -Wall -Wextra -Wunused -Wwrite-strings -Wno-unused-parameter -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mtune=native -m64 -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -fno-implicit-templates -fno-exceptions -fno-rtti -MT DictTabInfo.lo -MD -MP -MF .deps/DictTabInfo.Tpo -c DictTabInfo.cpp -fPIC -DPIC -o .libs/DictTabInfo.o
In file included from ../../../../../../storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:24,
                 from DictTabInfo.cpp:17:
../../../../../../storage/ndb/include/util/NdbSqlUtil.hpp:23: error: conflicting declaration ‘typedef struct charset_info_st CHARSET_INFO’
../../../../../../include/m_ctype.h:41: error: ‘CHARSET_INFO’ has a previous declaration as ‘typedef const struct charset_info_st CHARSET_INFO’
make[6]: *** [DictTabInfo.lo] Error 1

Tags: 5.2
Changed in maria:
milestone: none → 5.2
Revision history for this message
Hakan Küçükyılmaz (hakan-askmonty) wrote :
Download full text (4.0 KiB)

In lp:maria/5.1 it fails with:
libtool: link: ccache gcc -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror -DFORCE_INIT_OF_VARS -Wno-unused-parameter -g -Wall -Wextra -Wunused -Wwrite-strings -Wno-unused-parameter -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mtune=native -m64 -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysqltest_embedded mysqltest.o ../../libmysqld/.libs/libmysqld.a -ldl ../../storage/ndb/src/.libs/libndbclient.a ../../regex/.libs/libregex.a -lz ../../extra/yassl/src/.libs/libyassl.a ../../extra/yassl/taocrypt/src/.libs/libtaocrypt.a -lrt -lresolv -lcrypt -lnsl -lm -lpthread
../../storage/ndb/src/.libs/libndbclient.a(mgmapi.o): In function `ndb_mgm_get_configuration':
/home/hakan/work/monty_program/maria-5.1/storage/ndb/src/mgmapi/mgmapi.cpp:2179: undefined reference to `base64_needed_decoded_length'
/home/hakan/work/monty_program/maria-5.1/storage/ndb/src/mgmapi/mgmapi.cpp:2180: undefined reference to `base64_decode'
collect2: ld returned 1 exit status
make[4]: *** [mysqltest_embedded] Error 1

In lp:maria/5.3 it fails with:
make[6]: Entering directory `/home/hakan/work/monty_program/maria-5.3/storage/ndb/src/common/debugger/signaldata'
/bin/bash ../../../../../../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -DNDB_DEBUG_FULL -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD -I. -I../../../../../../include -I. -I../../../../../../include -I../../../../../../storage/ndb/include -I../../../../../../include -I../../../../../../mysys -I../../../../../../storage/ndb/include -I../../../../../../storage/ndb/include/kernel -I../../../../../../storage/ndb/include/transporter -I../../../../../../storage/ndb/include/debugger -I../../../../../../storage/ndb/include/mgmapi -I../../../../../../storage/ndb/include/mgmcommon -I../../../../../../storage/ndb/include/ndbapi -I../../../../../../storage/ndb/include/util -I../../../../../../storage/ndb/include/portlib -I../../../../../../storage/ndb/include/logger -g -Wall -Wextra -Wunused -Wwrite-strings -Wno-unused-parameter -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mtune=native -m64 -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -fno-implicit-templates -fno-exceptions -fno-rtti -MT DictTabInfo.lo -MD -MP -MF .deps/DictTabInfo.Tpo -c -o DictTabInfo.lo DictTabInfo.cpp
libtool: compile: ccache g++ -DHAVE_CONFIG_H -DNDB_DEBUG_FULL -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD -I. -I../../../../../../include -I. -I../../../../../../include -I../../../../../../storage/ndb/include -I../../../../../../include -I../../../../../../mysys -I../../../../../../storage/ndb/include -I../../../../../../storage/ndb/include/kernel -I../../../../../../storage/ndb/include/transporter -I../../../../../../storage/ndb/include/debugger -I../../../../../../storage/ndb/include/mgmapi -I../../../../../../storage/ndb/include/mgmcommon -I../../../../../../storage/ndb/include/ndbapi -I../../../../../../storage/ndb/include/util -I../../../../../../storage/ndb/include/portlib -I../../../.....

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.