Bug #58261 The distribution package contains autotools cache directories
Submitted: 17 Nov 2010 16:37 Modified: 13 Dec 2010 13:50
Reporter: John Bollinger Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.29 OS:Any
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: build

[17 Nov 2010 16:37] John Bollinger
Description:
The MySQL Workbench 5.2.29 tarball, as downloaded from wb.mysql.com on 2010-Nov-17, contains autotools cache directories:

autom4te.cache
ext/yassl/autom4te.cache
ext/yassl/taocrypt/autom4te.cache

These directories contain cached information from autoconf / automake / etc. runs on a host different from the build host.  When the autotools are run on the build host (as currently is required, though it shouldn't be), they may rely on cached values from these files that are incorrect for the actual build environment.

How to repeat:
Download and unpack mysql-workbench-gpl-5.2.29-src.tar.gz

Suggested fix:
The autom4te.cache directories everywhere in the source tree should be excluded from the distribution package.  I would normally expect this to happen automatically if the autotools were used to build the distribution (i.e. "make dist"), though that does require some attention to ensuring that Automake knows all the files that are supposed to be distributed.

If the distribution is to be built other than via the Autotools, then something such as

find . -type d -name autom4te.cache -prune -exec rm -rf {} \;

prior to making the tarball would also do the job.
[17 Nov 2010 20:32] Alfredo Kojima
This has been fixed, thank you for the report.
[8 Dec 2010 22:28] Johannes Taxacher
fix confirmed in repository
[13 Dec 2010 13:50] Tony Bedford
An entry has been added to the 5.2.31 changelog:

The MySQL Workbench tarball contained cached Autotools information.