[cmake-developers] [CMake 0015279]: CMake fails with OpenWatcom in default install location
Mantis Bug Tracker
mantis at public.kitware.com
Wed Dec 3 16:41:51 EST 2014
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
======================================================================
More information about the cmake-developers
mailing list