X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=DD9T+brJzxERc7z2AITKLmkkc+KxOW2CMCeg2fIpbAs2GWjVo/3sk
	NbAvzEUgv0Kyi5T5BNhiCvB5Q0V/lM/cvN0tkLgcBoAXz+wW7hMjIRC9u38XtB2S
	+za9QDiRx1l4Zn2SfajXfYSGf3M7WQ1raL+rp3yDPMDfzzoZK6Vpi8=
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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=nZEn5SGp1s2s7xSCV0ku1Y+B+/E=; b=l/CFL53NlUI18DGFpT7kDDbA+rbj
	pBxc8MD9NCu26GSHm1cpxZtT0TPVm58LE6I/D7OYOu/Wx3thCyj5Zg04YboTiojt
	ms8fyK1So8L8fsnXZ9F7wOZOZnEEu+isY2hh6brgPINmdoxJ4eTGJkXJphCUdIQJ
	OvXCnL5vccj744A=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,TW_RW,TW_WX autolearn=no version=3.3.1
Date: Fri, 21 Jun 2013 14:29:34 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problems with file permissions during a build
Message-ID: <20130621122934.GD7362@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CAMCbSMpbqrh59KqpB3KKhZqdG45MpBzAOcnDxyoKTVPi8T7sUA@mail.gmail.com> <20130621083332.GI1620@calimero.vinschen.de> <CAMCbSMpykrTRSEnTynYHFra222gnXf58zNw01hFxDDMvNTioVQ@mail.gmail.com> <20130621110435.GA2781@calimero.vinschen.de> <CAMCbSMr3eqn6QEisqEpdKhG1B++eifSM+hOQ5W78nFSXR_MeTw@mail.gmail.com> <CAMCbSMpOg2tpQjd2Dz1r1XV7mo9q5Kmu_7ecJNe7qcpyGA=gqg@mail.gmail.com> <20130621113552.GG25850@calimero.vinschen.de> <CAMCbSModzkQTxoLhZWwYp-K5+1-ciCauyi7vzrd3nHQK1JaNLA@mail.gmail.com> <20130621121524.GB7362@calimero.vinschen.de> <CAMCbSMoV4DMuy8oYtx=sO5VhD+FRX--6GJEJ6pbMQXm+wmtiNQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAMCbSMoV4DMuy8oYtx=sO5VhD+FRX--6GJEJ6pbMQXm+wmtiNQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jun 21 14:18, Arjen Markus wrote:
> Oops, my mistake. The correct invocation of CMake is:
> 
> cmake -G "Unix Makefiles" ../
> 
> (These generators are part of CMake, not of the tar file)

Ok, thank you.  I never used cmake before so I didn't notice.

Other than that, I have not the problem you're reporting:

  $ cmake -G "Unix Makefiles" ../
  -- The C compiler identification is GNU 4.5.3
  CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (message):
    CMake no longer defines WIN32 on Cygwin!

    (1) If you are just trying to build this project, ignore this warning or
    quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
    the CMake cache.  If later configuration or build errors occur then this
    project may have been written under the assumption that Cygwin is WIN32.
    In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.

    (2) If you are developing this project, add the line

      set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required

    at the top of your top-level CMakeLists.txt file or set the minimum
    required version of CMake to 2.8.4 or higher.  Then teach your project to
    build on Cygwin without WIN32.
  Call Stack (most recent call first):
    /usr/share/cmake-2.8.9/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)
    CMakeLists.txt:3 (project)


  -- Check for working C compiler: /usr/bin/gcc.exe
  -- Check for working C compiler: /usr/bin/gcc.exe -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- CMake version = 2.8.9
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/corinna/tmp/cmake/work
  $ ls -l src/include
  total 13
  -rw-r--r--  1 corinna vinschen 1788 Jun 21 14:24 cmake_install.cmake
  drwxr-xr-x+ 1 corinna vinschen    0 Jun 21 14:24 CMakeFiles
  -rw-r--r--  1 corinna vinschen   41 Jun 21 14:24 gnulliver.h
  -rw-r--r--  1 corinna vinschen 5675 Jun 21 14:24 Makefile

Are you using all the latest Cygwin packages?

Are you running this in a directory under the /cygdrive prefix or under
a remote share?  If so, what if you build under a path within the normal
POSIX directory structure?

Running this call under strace might help to see if this is a problem
in Cygwin or cmake.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
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

