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

Galera: build fails with undefined reference to `wsrep_row_upd_check_foreign_constraints'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.5.28a-galera
    • Fix Version/s: 5.5.29-galera
    • Component/s: None
    • Labels:

      Description

      [ 99%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
      Linking CXX executable mysqld
      ../storage/xtradb/libxtradb.a(row0upd.c.o): In function `row_upd_del_mark_clust_rec':
      maria-5.5-galera/storage/xtradb/row/row0upd.c:2305: undefined reference to `wsrep_row_upd_check_foreign_constraints'
      collect2: ld returned 1 exit status
      make[2]: *** [sql/mysqld] Error 1
      make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Error 2
      make: *** [all] Error 2
      
      revision-id: seppo.jaakola@codership.com-20130205224610-7ub234jq9h90sthr
      revno: 3376
      branch-nick: maria-5.5-galera
      

      Built as

      cmake . -DCMAKE_BUILD_TYPE=Debug && make
      

      According to buildbot, same happens with

        cmake -DBUILD_CONFIG=mysql_release ..
        make -j4 package AM_EXTRA_MAKEFLAGS=VERBOSE=1
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            seppo Seppo Jaakola added a comment -

            fixed by merging revision 3846 from lp:~codership/codership-mysql/5.5-23
            This merge point is milestone 23.7.2 in LP

            Show
            seppo Seppo Jaakola added a comment - fixed by merging revision 3846 from lp:~codership/codership-mysql/5.5-23 This merge point is milestone 23.7.2 in LP
            Hide
            seppo Seppo Jaakola added a comment -

            Note that the build command builds native mysql server without wsrep provider

            Show
            seppo Seppo Jaakola added a comment - Note that the build command builds native mysql server without wsrep provider
            Show
            seppo Seppo Jaakola added a comment - Fix pushed in: http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3377
            Hide
            elenst Elena Stepanova added a comment -

            Hi Seppo,

            >> Note that the build command builds native mysql server without wsrep provider

            It used to build WITH wsrep, but in a recent revision you removed cmake/wsrep.cmake and re-created it, so previous changes were lost. Was it necessary and what other regressions to the old behavior should we expect to have?

            Show
            elenst Elena Stepanova added a comment - Hi Seppo, >> Note that the build command builds native mysql server without wsrep provider It used to build WITH wsrep, but in a recent revision you removed cmake/wsrep.cmake and re-created it, so previous changes were lost. Was it necessary and what other regressions to the old behavior should we expect to have?
            Hide
            elenst Elena Stepanova added a comment -

            Serg reapplied lost changes to wsrep.cmake and confirmed that nothing else was missing.

            Show
            elenst Elena Stepanova added a comment - Serg reapplied lost changes to wsrep.cmake and confirmed that nothing else was missing.

              People

              • Assignee:
                seppo Seppo Jaakola
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m