[MDEV-4142] Galera: build fails with undefined reference to `wsrep_row_upd_check_foreign_constraints' Created: 2013-02-06  Updated: 2013-02-07  Resolved: 2013-02-07

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.28a-galera
Fix Version/s: 5.5.29-galera

Type: Bug Priority: Blocker
Reporter: Elena Stepanova Assignee: Seppo Jaakola
Resolution: Fixed Votes: 0
Labels: galera

Issue Links:
Relates

 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



 Comments   
Comment by Seppo Jaakola [ 2013-02-07 ]

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

Comment by Seppo Jaakola [ 2013-02-07 ]

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

Comment by Seppo Jaakola [ 2013-02-07 ]

Fix pushed in: http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3377

Comment by Elena Stepanova [ 2013-02-07 ]

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?

Comment by Elena Stepanova [ 2013-02-07 ]

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

Generated at Thu Feb 08 06:54:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.