View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015279CMakeCMakepublic2014-12-03 16:412016-06-10 14:31
ReporterAlex Lamaison 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOSAll 64-bitOS Version
Product Version 
Target VersionFixed in Version 
Summary0015279: CMake fails with OpenWatcom in default install location
DescriptionA 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 ReproduceConfigure a project with Watcom Generator.

Notice 'Detecting C compiler ABI info' fail.
Additional InformationAn 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
TagsNo tags attached.
Attached Files

 Relationships
related to 0012548closedBrad King "Watcom WMake" generator fails if path to CMake contains parentheses 

  Notes
(0037375)
Brad King (manager)
2014-12-04 08:50

For reference, the fix to 0012548 was here:

 Watcom: Use shortpath to CMake if full path has parens
 http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23381d83 [^]
(0037376)
Brad King (manager)
2014-12-04 09:03

Issue 0012548 was about the parentheses in the path to the CMake binary. That was fixed. This is now the path to a source file used for compiler ABI detection.

I cannot reproduce the problem though. I tried CMake 3.0.2 and 3.1.0-rc2 in paths with " (x86)" in them and it works.
(0037378)
Brad King (manager)
2014-12-04 09:31

Re 0015279:0037376: I had tested with OpenWatcom 1.4. I can now reproduce the problem with OpenWatcom 1.9. It looks like that version made things worse and now does not like spaces either.
(0042680)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-12-03 16:41 Alex Lamaison New Issue
2014-12-04 08:48 Brad King Relationship added related to 0012548
2014-12-04 08:50 Brad King Note Added: 0037375
2014-12-04 09:03 Brad King Note Added: 0037376
2014-12-04 09:31 Brad King Note Added: 0037378
2016-06-10 14:29 Kitware Robot Note Added: 0042680
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team