Bug #24557 Test "make distcheck" fails
Submitted: 23 Nov 2006 20:08 Modified: 3 Dec 2006 17:58
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.32-BK, 5.0.30 OS:
Assigned to: Kent Boortz CPU Architecture:Any

[23 Nov 2006 20:08] Kent Boortz
Description:
The source package is to be usable for a build
outside the source tree. To verify this and 
that a "distclean" works, there is a test

  make distcheck

The 5.0.30 sources don't pass this test.

How to repeat:
Download the 5.0.30 sources, run

  BUILD/comp-dist
  make distcheck
[27 Nov 2006 12:24] Lenz Grimmer
See Bug #24619 for more details. Feel free to close either this one or the other as a duplicate.
[27 Nov 2006 13:56] Valeriy Kravchuk
Bug #24619 was marked as a duplicate of this one. See some details there.
[2 Dec 2006 22:16] 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:

  http://lists.mysql.com/commits/16354

ChangeSet@1.2323, 2006-12-02 23:16:47+01:00, kent@mysql.com +3 -0
  mysql_install_db.sh:
    If --srcdir and --windows is given, check if error message file
    is in source or build tree (bug#24557)
  Makefile.am:
    Cleaned up "ali_check" target, to satisfy "distcleancheck" (bug#24557)
  mysql_install_db.sh:
    Added --srcdir=DIR option, used from top Makefile.am in dist-hook
    target, to find "fill_help_tables.sql" in VPATH build (bug#24557)
  Makefile.am:
    Work around problem with "distcleancheck", "sql_yacc.cc" might be in both
    the source and build tree.
    Call "mysql_install_db" with new option --srcdir, to enable the script
    to find all that is needed, if source and build directory is not the same
    (bug#24557)