← Back to team overview

enterprise-support team mailing list archive

[Bug 1461129] [NEW] Target sql_embedded should depend on GenDigestServerSource

 

Public bug reported:

Copy of https://bugs.mysql.com/bug.php?id=77226

Description:
Source file 'sql_yacc.yy' needs generated file 'lex_token.h'. This file is generated by 'GenDigestServerSource', which is dependency for 'sql', but not for 'sql_embedded'. One cannot see it normally, but if you disable 'sql' and leave only 'sql_embedded' by editing 'CMakeLists.txt' you will get compile error.

How to repeat:
Check 'sql/CMakeLists.txt' and 'libmysqld/CMakeLists.txt'.

Suggested fix:
--- i/libmysqld/CMakeLists.txt
+++ w/libmysqld/CMakeLists.txt
@@ -81,7 +81,7 @@ SET(SQL_EMBEDDED_SOURCES

 ADD_CONVENIENCE_LIBRARY(sql_embedded ${SQL_EMBEDDED_SOURCES})
 DTRACE_INSTRUMENT(sql_embedded)
-ADD_DEPENDENCIES(sql_embedded GenError GenServerSource)
+ADD_DEPENDENCIES(sql_embedded GenError GenServerSource GenDigestServerSource)

 # On Windows, static embedded server library is called mysqlserver.lib
 # On Unix, it is libmysqld.a

** Affects: mysql-server
     Importance: Unknown
         Status: Unknown

** Affects: percona-server
     Importance: Undecided
         Status: New

** Affects: percona-xtrabackup
     Importance: High
     Assignee: Sergei Glushchenko (sergei.glushchenko)
         Status: In Progress

** Affects: percona-xtrabackup/2.2
     Importance: High
     Assignee: Sergei Glushchenko (sergei.glushchenko)
         Status: In Progress

** Affects: percona-xtrabackup/2.3
     Importance: High
     Assignee: Sergei Glushchenko (sergei.glushchenko)
         Status: In Progress

** Also affects: percona-server
   Importance: Undecided
       Status: New

** Bug watch added: MySQL Bug System #77226
   http://bugs.mysql.com/bug.php?id=77226

** Also affects: mysql-server via
   http://bugs.mysql.com/bug.php?id=77226
   Importance: Unknown
       Status: Unknown

** Summary changed:

- arget sql_embedded should depend on GenDigestServerSource
+ Target sql_embedded should depend on GenDigestServerSource

** Also affects: percona-xtrabackup/2.2
   Importance: Undecided
       Status: New

** Also affects: percona-xtrabackup/2.3
   Importance: Undecided
       Status: New

** Changed in: percona-xtrabackup/2.2
   Importance: Undecided => High

** Changed in: percona-xtrabackup/2.3
   Importance: Undecided => High

** Changed in: percona-xtrabackup/2.2
     Assignee: (unassigned) => Sergei Glushchenko (sergei.glushchenko)

** Changed in: percona-xtrabackup/2.3
     Assignee: (unassigned) => Sergei Glushchenko (sergei.glushchenko)

** Changed in: percona-xtrabackup/2.2
    Milestone: None => future-2.2-releases

** Changed in: percona-xtrabackup/2.3
    Milestone: None => future-2.3-releases

** Changed in: percona-xtrabackup/2.2
       Status: New => In Progress

** Changed in: percona-xtrabackup/2.3
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1461129

Title:
  Target sql_embedded should depend on GenDigestServerSource

To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1461129/+subscriptions


Follow ups

References