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

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 5.5.28a-galera
    • 5.5.29-galera
    • None

    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

      Attachments

        Activity

          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

          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
          seppo Seppo Jaakola added a comment -

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

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

          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?

          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?

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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.