Bug #40700 aclocal warnings for missing cache-id's
Submitted: 13 Nov 2008 14:52 Modified: 12 Mar 2010 15:43
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1.39, 5.0, 5.1, next OS:Linux
Assigned to: Timothy Smith CPU Architecture:Any
Tags: F_MISCELLANY
Triage: Triaged: D4 (Minor)

[13 Nov 2008 14:52] Hakan Küçükyılmaz
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 15: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 16:00] Hakan Küçükyılmaz
aclocal --version
aclocal (GNU automake) 1.10.1

Anyway, the problem is gone in the latest mysql-6.0-falcon tree.
[26 Nov 2008 15:34] Hakan Küçükyılmaz
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 16:06] Hakan Küçükyılmaz
Also:

configure.in:1886: warning: AC_CACHE_VAL(mysql_use_mysys_new, ...): suspicious cache-id, must contain _cv_ to be cached
[26 Nov 2008 16: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 9:06] Olav Sandstå
Patch both looks correct and works correctly. Tested with autoconf 2.62 and automake 1.10.1.
[11 Dec 2008 14: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 7:33] MC Brown
No documentation needed.
[1 Sep 2009 14:09] Kevin Lewis
Setting lead to Kostja.  He can re-assign more appropriately.
[15 Sep 2009 15:22] Sveta Smirnova
This is still exists. Bug is repeatable with automake version 1.10.
[4 Nov 2009 22:37] 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/89375

2839 Timothy Smith	2009-11-04
      Fix for Bug#40700: aclocal warnings for missing cache-id's
      
      Just change mysql_foo to mysql_cv_foo for one cache-id variable name.  There
      was only one bad variable name, present in 5.0 and 5.1, but not in the -pe
      branch.
[11 Nov 2009 20:44] 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/90162

2932 Magne Mahre	2009-11-11
      Bug#40700: aclocal warnings for missing cache-id's
            
      Just change mysql_foo to mysql_cv_foo for one cache-id variable name.  There
      was only one bad variable name, present in 5.0 and 5.1, but not in the -pe
      branch.
      
      
      Backported to 5.6.0  (mysql-next-mr-runtime)
[20 Nov 2009 12:54] Bugs System
Pushed into 5.6.0-beta (revid:davi.arnaut@sun.com-20091119234808-xbjpkwaxjt5x5c0b) (version source revid:davi.arnaut@sun.com-20091119234808-xbjpkwaxjt5x5c0b) (merge vers: 5.6.0-beta) (pib:13)
[20 Nov 2009 12:58] Bugs System
Pushed into 6.0.14-alpha (revid:kostja@sun.com-20091120124947-yi6h2jbgw0kbciwm) (version source revid:kostja@sun.com-20091119222407-5a7cjlhw06trtxnf) (merge vers: 6.0.14-alpha) (pib:13)
[30 Nov 2009 13:54] MC Brown
No documentation needed.
[2 Dec 2009 8:01] Bugs System
Pushed into 5.0.89 (revid:joro@sun.com-20091202075830-mzl79q7mc1v72pf1) (version source revid:timothy.smith@sun.com-20091104230649-wk3phkv1qer89qri) (merge vers: 5.0.88) (pib:13)
[2 Dec 2009 8:06] Bugs System
Pushed into 5.1.42 (revid:joro@sun.com-20091202080033-mndu4sxwx19lz2zs) (version source revid:kristofer.pettersson@sun.com-20091109223504-xvwgsdqiyuve6frt) (merge vers: 5.1.41) (pib:13)
[2 Dec 2009 14:32] MC Brown
No documentation needed.
[2 Dec 2009 14:37] MC Brown
No documentation needed.
[16 Dec 2009 8:36] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091216083311-xorsasf5kopjxshf) (version source revid:alik@sun.com-20091214191830-wznm8245ku8xo702) (merge vers: 6.0.14-alpha) (pib:14)
[16 Dec 2009 8:43] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091216082430-s0gtzibcgkv4pqul) (version source revid:alexey.kopytov@sun.com-20091124081906-6pqi7e7sajimog71) (merge vers: 5.5.0-beta) (pib:14)
[16 Dec 2009 8:49] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20091216083231-rp8ecpnvkkbhtb27) (version source revid:alik@sun.com-20091212203859-fx4rx5uab47wwuzd) (merge vers: 5.6.0-beta) (pib:14)
[17 Dec 2009 10:54] MC Brown
No documentation needed
[6 Mar 2010 10:52] Bugs System
Pushed into 5.5.3-m3 (revid:alik@sun.com-20100306103849-hha31z2enhh7jwt3) (version source revid:vvaintroub@mysql.com-20091120154107-6awpq04plug2xlri) (merge vers: 5.6.0-beta) (pib:16)
[12 Mar 2010 14:13] Bugs System
Pushed into 5.1.44-ndb-7.0.14 (revid:jonas@mysql.com-20100312135944-t0z8s1da2orvl66x) (version source revid:jonas@mysql.com-20100312115609-woou0te4a6s4ae9y) (merge vers: 5.1.44-ndb-7.0.14) (pib:16)
[12 Mar 2010 14:29] Bugs System
Pushed into 5.1.44-ndb-6.2.19 (revid:jonas@mysql.com-20100312134846-tuqhd9w3tv4xgl3d) (version source revid:jonas@mysql.com-20100312060623-mx6407w2vx76h3by) (merge vers: 5.1.44-ndb-6.2.19) (pib:16)
[12 Mar 2010 14:44] MC Brown
No documentation needed
[12 Mar 2010 14:44] Bugs System
Pushed into 5.1.44-ndb-6.3.33 (revid:jonas@mysql.com-20100312135724-xcw8vw2lu3mijrhn) (version source revid:jonas@mysql.com-20100312103652-snkltsd197l7q2yg) (merge vers: 5.1.44-ndb-6.3.33) (pib:16)
[12 Mar 2010 15:43] MC Brown
No changelog entry needed.