[HTCondor-devel] Error in Windows build from Git source


Date: Wed, 20 Sep 2023 11:04:10 +0930
From: Guy Markey <guymarkey@xxxxxxxxx>
Subject: [HTCondor-devel] Error in Windows build from Git source
Hi.
I recently cloned the source code for HTCondor from GitHub however there appears to be an error in the generation of theÂbuild.ninja file generated within VS. The error is

Error CMake Error:
 Running

 Â'C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe' '-C' 'C:/Projects/HTCondor/out/build/x64-Debug' '-t' 'recompact'

 failed with:

 Âninja: error: build.ninja:949: lexing error C:\Projects\HTCondor\ Âninja


The offending line within build.ninja is as follows.

#############################################
# Custom command for externals\bundles\krb5\1.19.2\krb5-prefix\src\krb5-stamp\krb5-install

build externals\bundles\krb5\1.19.2\krb5-prefix\src\krb5-stamp\krb5-install | ${cmake_ninja_workdir}externals\bundles\krb5\1.19.2\krb5-prefix\src\krb5-stamp\krb5-install: CUSTOM_COMMAND externals\bundles\krb5\1.19.2\krb5-prefix\src\krb5-stamp\krb5-build
 COMMAND = cmd.exe /C "cd /D C:\Projects\HTCondor\out\build\x64-Debug\externals\bundles\krb5\1.19.2\krb5-prefix\src\krb5 && "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_directory . C:/Projects/HTCondor/out/build/x64-Debug/bld_external/krb5-1.19.2/install/libÂ

Â"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -E copy_directory include C:/Projects/HTCondor/out/build/x64-Debug/bld_external/krb5-1.19.2/install/includeÂ

Â&& "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch C:/Projects/HTCondor/out/build/x64-Debug/externals/bundles/krb5/1.19.2/krb5-prefix/src/krb5-stamp/krb5-install"
 DESC = Performing install step for 'krb5'
 restat = 1

Line 949 is the line starting "COMMAND = cmd.exe /C..."
It appears that there is an imbalance in the quotation marks. I assume that all three lines should be a single line. Any clues as to how to fix this?

Regards
Guy
[← Prev in Thread] Current Thread [Next in Thread→]
  • [HTCondor-devel] Error in Windows build from Git source, Guy Markey <=