Bug #37024 Wrong location of messagefiles
Submitted: 28 May 2008 1:27 Modified: 18 Jun 2008 4:51
Reporter: Alexey Stroganov Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:5.1.25-release OS:Linux
Assigned to: Timothy Smith CPU Architecture:Any

[28 May 2008 1:27] Alexey Stroganov
Found out that for packages below location of message files is wrong(share/mysql instead of share/ ) that leads to problem with mysql_install_db and starting server itself. In 5.1.24 all is ok. For the same issue that was fixed some time ago see BUG#30678.


/data0/ranger/mysql-5.1.25-rc-linux-i686-glibc23> ./scripts/mysql_install_db --basedir=. --datadir=data/
Installing MySQL system tables...
080528  3:23:29 [ERROR] Can't find messagefile '/data0/ranger/mysql-5.1.25-rc-linux-i686-glibc23/share/english/errmsg.sys'
080528  3:23:29 [ERROR] Aborting

080528  3:23:29 [Note]

Installation of system tables failed!  Examine the logs in
data/ for more information.

$ cd share
$ ln -s mysql/english english

How to repeat:
- unpack mysql-5.1.25-rc-linux-i686-glibc23.tar.gz package 

 cd  mysql-5.1.25-rc-linux-i686-glibc23
 ./scripts/mysql_install_db --basedir=. --datadir=data/

or just try to start server
[28 May 2008 4:04] Timothy Smith
A bad merge caused the 5.0 version of make_binary_distribution.sh to be copied over the 5.1 version.  This results in several symptoms in the packaging - files either missing or installed into the wrong locations.

The fix should be to revert make_binary_distribution.sh to the version before the bad merge.
[28 May 2008 4:17] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:


ChangeSet@1.2653, 2008-05-28 06:17:04+02:00, tsmith@mysql.com +1 -0
  Bug #37024: Wrong location of messagefiles
  make_binary_distribution.sh got clobbered by the 5.0 version during a merge.
  This caused a few packaging problems, including message files put in the wrong
  place and some missing files.  Fix is just to revert back to the 5.1 version
  from before the merge.
[28 May 2008 9:04] Daniel Fischer
Patch was approved in discussion.
[28 Jul 2008 16:51] Bugs System
Pushed into 5.1.26-rc  (revid:joerg@mysql.com-20080619153300-tv151an4nrq1rnr2) (version source revid:joerg@mysql.com-20080619153300-tv151an4nrq1rnr2) (pib:3)
[12 Dec 2008 23:30] Bugs System
Pushed into 6.0.6-alpha  (revid:sp1r-tsmith/mysqldev@mysql.com/production.mysql.com-20080528041704-19102) (version source revid:jonas@mysql.com-20080808094047-4e1yiarqa2t3opg3) (pib:5)