Bug #24809 | Libedit compile fails in "make distcheck" with automake 1.10 | ||
---|---|---|---|
Submitted: | 5 Dec 2006 1:31 | Modified: | 31 Oct 2007 9:45 |
Reporter: | Kent Boortz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.0.32-pre | OS: | Any (All) |
Assigned to: | Kent Boortz | CPU Architecture: | Any |
[5 Dec 2006 1:31]
Kent Boortz
[30 Oct 2007 18:51]
Kent Boortz
Automake will put the directory path to config.h specified in the configure script into a variable DEFAULT_INCLUDES in the generated make files. So that all make files can find the "central" header files. Now, in automake 1.10 an incompatible change was made. Earlier the line was in our case DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include in effect always honor header files in the source directory first (even if source/object directory are separate). In 1.10 the line is DEFAULT_INCLUDES = -I. -I$(top_builddir)/include -I$(srcdir) in effect honoring the central include directory before the one in the static source directory. In the case of "libedit" we try force the build to use the "config.h" in libedit before the one in the central sources.
[30 Oct 2007 19:54]
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/36695 ChangeSet@1.2551, 2007-10-30 20:54:31+01:00, kent@mysql.com +1 -0 Makefile.am: Ensure use of libedit "config.h" by adding "-I. -I$(srcdir)" to DEFS, work around for problem with automake 1.10 (bug#24809)
[1 Nov 2007 10:15]
Bugs System
Pushed into 6.0.4-alpha
[1 Nov 2007 10:16]
Bugs System
Pushed into 5.1.23-rc
[1 Nov 2007 10:17]
Bugs System
Pushed into 5.0.52
[28 Oct 2009 15:30]
Magnus Blåudd
The fix for this bug is no longer in the trees(checked 5.1.41) so it still occurs when doing "make distcheck" on OSX