Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-697

LP:705213 - Compiling with BUILD/compile-pentium64-debug-all fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.3.9
    • Fix Version/s: 5.5.28a, 5.3.10, 5.2.13
    • Component/s: None
    • Labels:

      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment -

            Re: Compiling with BUILD/compile-pentium64-debug-all fails
            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../../../../../../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

            Show
            hakanküçükyılmaz Hakan Küçükyılmaz added a comment - Re: Compiling with BUILD/compile-pentium64-debug-all fails 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../../../../../../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
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 705213

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 705213
            Hide
            elenst Elena Stepanova added a comment -

            Cannot build 5.3 with BUILD/compile-pentium64-debug-all either
            NdbCondition.c:131:7: error: variable 'result' set but not used [-Werror=unused-but-set-variable]

            Show
            elenst Elena Stepanova added a comment - Cannot build 5.3 with BUILD/compile-pentium64-debug-all either NdbCondition.c:131:7: error: variable 'result' set but not used [-Werror=unused-but-set-variable]
            Hide
            psergey Sergei Petrunia added a comment -

            The errors are from compiling NDB cluster. MariaDB doesn't support cluster (there is no point - if you want to use the cluster, you need to get a special mysql-cluster tree which has lots of cluster features that the base version does not have).

            Show
            psergey Sergei Petrunia added a comment - The errors are from compiling NDB cluster. MariaDB doesn't support cluster (there is no point - if you want to use the cluster, you need to get a special mysql-cluster tree which has lots of cluster features that the base version does not have).

              People

              • Assignee:
                Unassigned
                Reporter:
                hakanküçükyılmaz Hakan Küçükyılmaz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: