[cmake-developers] [CMake 0015279]: CMake fails with OpenWatcom in default install location

J Decker d3ck0r at gmail.com
Thu Dec 4 03:52:41 EST 2014


found this old bug related to the same thing...
https://www.cmake.org/Bug/view.php?id=12548#c27706
... and the fix?
http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23381d83

On Wed, Dec 3, 2014 at 1:41 PM, Mantis Bug Tracker <
mantis at public.kitware.com> wrote:

>
> The following issue has been SUBMITTED.
> ======================================================================
> http://www.cmake.org/Bug/view.php?id=15279
> ======================================================================
> Reported By:                Alex Lamaison
> Assigned To:
> ======================================================================
> Project:                    CMake
> Issue ID:                   15279
> Category:                   CMake
> Reproducibility:            always
> Severity:                   minor
> Priority:                   normal
> Status:                     new
> ======================================================================
> Date Submitted:             2014-12-03 16:41 EST
> Last Modified:              2014-12-03 16:41 EST
> ======================================================================
> Summary:                    CMake fails with OpenWatcom in default install
> location
> Description:
> A fix was committed for this issue but I don't think it works:
> http://www.cmake.org/Bug/view.php?id=12548
>
> Recap: The OpenWatcom compiler fails to compile any configure checks if
> CMake is
> installed in the default location on Windows (C:\Program Files (x86)\CMake)
> because of the parentheses (or maybe the spaces).
>
> I'm still seeing the problem in CMake 3.1-rc2 on Windows 8 (64-bit).  The
> problem goes away if I install CMake in a path without spaces/parentheses.
>
> Steps to Reproduce:
> Configure a project with Watcom Generator.
>
> Notice 'Detecting C compiler ABI info' fail.
>
>
> Additional Information:
> An example log from a failed run:
>
> Detecting C compiler ABI info failed to compile with the following output:
> Change Dir:
> C:/Users/Alexander/Projects/libssh2/bin/watcom/CMakeFiles/CMakeTmp
>
> Run Build Command:"wmake" "cmTryCompileExec3677462268\fast"
> Open Watcom Make Version 1.9
>
> Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.
>
> Source code is available under the Sybase Open Watcom Public License.
>
> See http://www.openwatcom.org/ for details.
>
>         C:\WATCOM\BINNT\wmake.exe -f
> CMakeFiles\cmTryCompileExec3677462268.dir\build.make -h
> CMakeFiles\cmTryCompileExec3677462268.dir\build
>
> C:\PROGRA~2\CMake\bin\cmake.exe -E cmake_progress_report
> C:\Users\Alexander\Projects\libssh2\bin\watcom\CMakeFiles\CMakeTmp\CMakeFiles
> 1
>
> Building C object
> CMakeFiles/cmTryCompileExec3677462268.dir/CMakeCCompilerABI.c.obj
>
> C:\WATCOM\binnt\wcl386.exe   -zq -bt=nt -w3 -dWIN32 -br -bm -d2 -d+
> -foCMakeFiles\cmTryCompileExec3677462268.dir\CMakeCCompilerABI.c.obj -c -cc
> "C:\Program Files (x86)\CMake\share\cmake-3.1\Modules\CMakeCCompilerABI.c"
>
> Open Watcom C32 Optimizing Compiler Version 1.9
>
> Portions Copyright (c) 1984-2002 Sybase, Inc. All Rights Reserved.
>
> Source code is available under the Sybase Open Watcom Public License.
>
> See http://www.openwatcom.org/ for details.
>
> Error! E1139: Command line contains more than one file to compile
>
> Error! E1139: Command line contains more than one file to compile
>
> Error! Unable to open
> '(x86)\CMake\share\cmake-3.1\Modules\CMakeCCompilerABI.c'
>
> Error: Compiler returned a bad status compiling "C:\Program Files
> (x86)\CMake\share\cmake-3.1\Modules\CMakeCCompilerABI.c"
>
> Error(E42): Last command making
> (CMakeFiles\cmTryCompileExec3677462268.dir\CMakeCCompilerABI.c.obj)
> returned a
> bad status
>
> Error(E02): Make execution terminated
>
> Error(E42): Last command making (cmTryCompileExec3677462268\fast) returned
> a bad
> status
>
> Error(E02): Make execution terminated
>
> ======================================================================
>
> Issue History
> Date Modified    Username       Field                    Change
> ======================================================================
> 2014-12-03 16:41 Alex Lamaison  New Issue
> ======================================================================
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141204/fc2fad78/attachment.html>


More information about the cmake-developers mailing list