delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/18/11:30:17

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:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; q=dns; s=default; b=BXbgiOJXRM/Xvu0U
cbsBllRjCtdMMAtjtNg3N9Hj5MaisfPQNt9PUSzEl5LTVQA4KQmLi+Cw3+RyP8qV
O/CDaVHAuo3AIUWPVozMoldsyoU9C16AFVRHYTw/2eV/eTPdV0+KlDNRULXxB+Iy
fKlMx2e9PEtqdDcdpdqPrumABCw=
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:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; s=default; bh=OCvoVdcNz7XmI7IcUvQFNt
YAmBA=; b=vp7jhjRuCLP6x1ygRQd3bbuZIPSf9qz7MpFAGv41FFxNhRUoOuDsZ+
XvCR27L3TIenGgvAys/N0KPkirTNyuh+W5oPd/wcVCXS5t6vv4BJ9SrWUPISt5q1
6bKijC+EJjg/R2rV2unwByIeaPg9beJ/g5+6czGXZOMWwa80CW2EQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=0.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f193.google.com
MIME-Version: 1.0
X-Received: by 10.107.47.21 with SMTP id j21mr30675521ioo.17.1431962994318; Mon, 18 May 2015 08:29:54 -0700 (PDT)
In-Reply-To: <CAKA7CgOLyixr3O1yzR+JoYdoOZxoiAzA_OhL5haGCBOy5-6C6A@mail.gmail.com>
References: <CAKA7CgOLyixr3O1yzR+JoYdoOZxoiAzA_OhL5haGCBOy5-6C6A AT mail DOT gmail DOT com>
Date: Mon, 18 May 2015 11:29:54 -0400
Message-ID: <CAKA7CgO1rCkeQu9vHKGY6h48rDTDBBmtNRzDnkdSRxSRVQ6gmQ@mail.gmail.com>
Subject: Re: Issue while running Visual Studio's devenv through ssh
From: The General <the DOT third DOT general AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t4IFUCXI013138

I am aware that I am getting a Visual Studio error. The reason this problem is
tied to Cygwin is when I log into W, open a Cygwin console, and run build.bat
it works, but when I execute the procedure described below (executing build.bat
from U through ssh using Cygwin's sshd running on W) it fails.

Also, sorry if this shows up as a separate topic, I neglected to subscribe to
the list before posting my previous message. For that reason I've included my
whole post below.

On May 15, 2015, at 1:08 PM, The General <the DOT third DOT general AT gmail DOT com> wrote:
>
>> 1>Stdafx.cpp : fatal error C1902: Program database manager mismatch;
>> please check your installation
>
>Thatâs a Visual Studio error, not a Cygwin error.
>
>Perhaps you have this problem:
>
>  http://stackoverflow.com/questions/12325096/
>
>If thatâs not it, youâll need to tie this problem to some Cygwin-specific
>behavior for this thread to be on-topic.
>
>On Fri, May 15, 2015 at 3:08 PM, The General <the DOT third DOT general AT gmail DOT com>
>wrote:
>> I have some code that needs to be built on a windows machine (W), but
>> my primary development/deploy environment is an Ubuntu server (U). The
>> goal is to fully automate the build/deploy process so that it can be
>> kicked off from U.
>>
>> Before I describe the problem let me explain my process.
>>
>> U is an Ubuntu 12.04.5 VM running on ESXI
>> W is a Windows 7 VM (Version 6.1.7601) running on ESXI, it has Cygwin
>> installed (with the openssl and git packages included) and UAC
>> disabled.
>>
>> I am running the following command from U:
>> ssh win_user AT 1 DOT 2 DOT 3 DOT 4 'cd
>> /cygdrive/c/Users/win_user/git_repo/windows_code && ./build.bat'
>> I have set up public key authentication from U to W, but I also
>> experience the below issue when I include the '-o
>> PreferredAuthentications=password' switch.
>>
>> build.bat is stored locally on W and looks like this:
>> @echo off
>> git pull
>> call "C:\Program Files (x86)\Microsoft Visual Studio
>> 10.0\VC\vcvarsall.bat" amd64
>> devenv /nologo "windows_code.sln" /Build "Release|x64"
>> The git pull command is pulling changes from a remote git server (G).
>> I have also set up public key authentication from W to G, disabling
>> this doesn't seem to have any effect.
>>
>> The problem:
>> After I got the above working I took a snapshot of W. If I reset to
>> that snapshot and run the ssh command on U everything works. If I
>> leave W idle for a few hours and try again I get the following from
>> devenv:
>> 1>------ Rebuild All started: Project: windows_code, Configuration:
>> Release x64 ------
>> 1>  Stdafx.cpp
>> 1>Stdafx.cpp : fatal error C1902: Program database manager mismatch;
>> please check your installation
>>
>> Right now I'm at a loss as to why this will work after a snapshot
>> reset, but will stop working if the machine is left alone for awhile.
>> Resetting to the most recent snapshot, rebooting the VM, and then
>> running the ssh command from U will also generate the above error.
>>
>> A temporary solution is to manually reset the VM before kicking off
>> the job, but I'd like to figure out why it stops working after awhile.
>>
>> Any feedback is much appreciated, and if anyone needs more information
>> please don't hesitate to ask.

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019