Bug #40700 aclocal warnings for missing cache-id's
Submitted: 13 Nov 2008 15:52 Modified: 13 Dec 2008 8:33
Reporter: Hakan Kuecuekyilmaz
Status: Closed
Category:Server: Falcon Severity:S3 (Non-critical)
Version:6.0.8 OS:Linux
Assigned to: Hakan Kuecuekyilmaz Target Version:6.0+
Tags: F_MISCELLANY
Triage: Triaged: D4 (Minor)

[13 Nov 2008 15:52] Hakan Kuecuekyilmaz
Description:
aclocal reports
    suspicious cache-id, must contain _cv_ to be cached

How to repeat:
Run a BUILD/compile-<xyz> script of your choice and look for

++++ aclocal
...
...
...
configure.in:2449: warning: AC_CACHE_VAL(falcon_cxx_enable_exceptions, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.in:2449: warning: AC_CACHE_VAL(falcon_cxx_enable_stl, ...): suspicious cache-id,
must contain _cv_ to be cached
configure.in:2449: warning: AC_CACHE_VAL(falcon_cxx_no_invalid_offsetof, ...): suspicious
cache-id, must contain _cv_ to be cached

Suggested fix:
Cache the AC_CACHE_VAL makro's properly.
[13 Nov 2008 16:54] Valeriy Kravchuk
What version of aclocal do you use? I do not see this problem with 1.9.5 and recent
6.0-bzr.
[13 Nov 2008 17:00] Hakan Kuecuekyilmaz
aclocal --version
aclocal (GNU automake) 1.10.1

Anyway, the problem is gone in the latest mysql-6.0-falcon tree.
[26 Nov 2008 16:34] Hakan Kuecuekyilmaz
I could verify the warnings on Mac OS X 10.4/PPC with latest mysql-6.0-falcon bzr tree:

[esslingen:~/work/mysql/mysql-6.0-falcon] hakan$ autoconf --version
autoconf (GNU Autoconf) 2.63

[esslingen:~/work/mysql/mysql-6.0-falcon] hakan$ BUILD/autorun.sh
...
...
...

storage/falcon/plug.in:11: warning: AC_CACHE_VAL(falcon_supported_by_machine, ...):
suspicious cache-id, must contain _cv_ to be cached

configure.in:2454: warning: AC_CACHE_VAL(falcon_cxx_enable_exceptions, ...): suspicious
cache-id, must contain _cv_ to be cached
configure.in:2454: warning: AC_CACHE_VAL(falcon_cxx_enable_stl, ...): suspicious cache-id,
must contain _cv_ to be cached
configure.in:2454: warning: AC_CACHE_VAL(falcon_cxx_no_invalid_offsetof, ...): suspicious
cache-id, must contain _cv_ to be cached

On my Linux machine with
 
hakan@lu0011:~/work/mysql-falcon-local-master$ autoconf --version
autoconf (GNU Autoconf) 2.61

I don't get the warning.
[26 Nov 2008 17:06] Hakan Kuecuekyilmaz
Also:

configure.in:1886: warning: AC_CACHE_VAL(mysql_use_mysys_new, ...): suspicious cache-id,
must contain _cv_ to be cached
[26 Nov 2008 17:25] 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/59961

2919 Hakan Kuecuekyilmaz	2008-11-26
      Fix for Bug#40700 aclocal warnings for missing cache-id's.
      
      Checked with autoconf 2.61 and 2.63 and
      aclocal 1.10.1.
[27 Nov 2008 10:06] Olav Sandstaa
Patch both looks correct and works correctly. Tested with autoconf 2.62 and automake
1.10.1.
[11 Dec 2008 15:19] Bugs System
Pushed into 6.0.9-alpha  (revid:hky@sun.com-20081126162523-yoklvp2pkk4cqwih) (version
source revid:hky@sun.com-20081126162523-yoklvp2pkk4cqwih) (pib:5)
[13 Dec 2008 8:33] MC Brown
No documentation needed.