X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=YSXKmXk cjGYKVw/uc/VjxKhg3tQtkOIybgGWTg7M1xpqf2pZigpqiVxBdoAQVQRR94UuSU7 5b98EkGtazY9xJiSOZ2KHDpU2Pk/9FE9+S7dU1y1FA6IkdA7A6lEGLoSxRzj02hh J8o8GMg8L2gN0SazExS+psXArGxAjG1uEunk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=lN0YAr0HMAOno wjhjs+91CYSmMc=; b=ImjzKqbX5dofbXCWtmctQzEyNmiY//tEVegbHehva7eSL 4tQICcJSz2kdjGkCzSOfPoeQeHPzrE1B5VgcZmf4fziEM50IwX1Gi5DYa6TKXPn8 YNNIGyJkp+9NFg0ZwRi/MQWfhcAfn/6XsD5f7aBClPdRFfEJpd7yFP85ThlOgk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f174.google.com X-Received: by 10.50.164.199 with SMTP id ys7mr11859629igb.91.1442846310773; Mon, 21 Sep 2015 07:38:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Nick Kennedy Date: Mon, 21 Sep 2015 15:38:11 +0100 Message-ID: Subject: Re: cmake fails to run/build under Cygwin To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On 21/09/2015 13:10, Marco Atzeri wrote: > on W7 64 I see no issue. > As you have both cygwin and windows version of cmake on the path > may be they are interfering each other ? > I suggest to run "cmake --trace " to see where cmake is > blocking. > Have you tested others projects using Cmake ? > Or it is spinning on every one ? > Regards > Marco Thanks for taking the time to reply. I hadn't used `cmake --trace` before. When running it, I can see that the process gets stuck in "/usr/share/cmake-3.3.1/Modules/CMakeDetermineSystem.cmake(48): exec_program(uname ARGS -s OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_NAME )" I've manipulated that cmake file to use a static system name, and the problem now arises in "Modules/CMakeDetermineCompilerId.cmake" at execute_process(COMMAND ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_ARG1} ${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST} ${testflags} ${src} WORKING_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR} OUTPUT_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT ERROR_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT RESULT_VARIABLE CMAKE_${lang}_COMPILER_ID_RESULT ) It looks as though there is a problem with `execute_process` (and the deprecated `exec_program`). I haven't tried uninstalling the Win32 version of CMake, but it's definitely the CygWin version that is running. Best wishes, Nick -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple