Bug #28793 build-vs8.bat warning message:CMakeLists file was reached with an IF statement..
Submitted: 31 May 2007 1:49 Modified: 9 Jan 2008 20:55
Reporter: Miguel Solorzano Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1BK/6.0 OS:Windows (Vista)
Assigned to: Daniel Fischer CPU Architecture:Any

[31 May 2007 1:49] Miguel Solorzano
Description:
When running build-vs8.bat the below warning message is displayed:

C:\build\mysql-5.1>win\build-vs8.bat
O sistema não pode encontrar o arquivo especificado.
-- Check for working C compiler: cl
-- Check for working C compiler: cl -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: cl
-- Check for working CXX compiler: cl -- works
The end of a CMakeLists file was reached with an IF statement that was not closed properly.
Within the directory: C:/build/mysql-5.1
The arguments are: NOT tmp_manifest
-- Configuring done
-- Generating done
-- Build files have been written to: C:/build/mysql-5.1
        1 arquivo(s) copiado(s).

How to repeat:
Compile Windows source

Suggested fix:
.
[6 Jun 2007 12:48] Jean-Yves Délèze
The line 161 in the file "CMakeLists.txt" from the work directory (for example c:/workdir/CMakeLists.txt) contains an error :

Replacing :
     ENDIF(tmp_manifest)

by :
     ENDIF(NOT tmp_manifest)

fixes the problem.
[7 Jun 2007 6:55] Daniel Fischer
This is already fixed in our repository.
[25 Jul 2007 12:29] MySQL Verification Team
Reopening because still happens (compiling Falcon version):

C:\dev\mysql-5.1-falcon>win\build-vs8.bat
O sistema não pode encontrar o arquivo especificado.
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/cl.exe -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 8/VC/bin/cl.exe -- works
The end of a CMakeLists file was reached with an IF statement that was not closed properly.
Within the directory: C:/dev/mysql-5.1-falcon
The arguments are: NOT tmp_manifest
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dev/mysql-5.1-falcon
        1 arquivo(s) copiado(s).

Changeset:

[miguel@skybr mysql-5.1-falcon]$ bk changes | head
ChangeSet@1.2652.1.2, 2007-07-23 16:10:18-04:00, jas@fluffy.netfrastructure.com +2 -0
  Fix zapping of transaction reference count during
  Transaction::initialize to avoid pre-mature object
  deletion.

ChangeSet@1.2652.1.1, 2007-07-23 12:22:14-04:00, jas@rowvwade. +3 -0
  Reordered object field updates around locks in 
  Transaction::commitNoUpdates in minimize any cache
  coherency issues on many processor SMP.  This
  shouldn't affect anything, but ...
[miguel@skybr mysql-5.1-falcon]$
[9 Jan 2008 20:55] Daniel Fischer
Please don't re-open bugs just because they're not yet fixed in a team tree.