delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/06/30/03:25:41

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=JxA36ClwfcO4WkK0
zvqU7daTK3/MGtVoYd7KGS7Imhj95V5d4Bl2Lou9tb7VlAtRIyU084eTLqyT9P5B
C3cbzleFDp9MNDhMU86wpo6X5cPjEZOWZ49yWt7l+eIDjxxBdyvWCZ06p99TsBPr
0sFwxru5Pz8sWRigdbjUqhSRbZ4=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=x2okUQPDxcqShO2pbJ0c20
qfZLg=; b=s1v2U5Sbww9ALqDC8Q8yVLdaYQuOl0Wd+f4LZwGOq0jDkdJ+vXWRSY
+LJYYeuT0F05IsO4fYK7YD7SslZ+yqeL1CbP0UB8sM1K5hJAHa4VQNTYTINjVeVt
vU3DRufh7aNo/m2n3X83wwXfLf4T9cCu/LB4CGIYbrNktVrhLcpaI=
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=Cygport
X-HELO: mail-wm1-f45.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=50ka2S3btbCFMPyqcXiWB3Fd9qxQtZrwQOb/7X3HaJY=; b=gJFlq8ZgYnrhYtRSO7cv2h5ffRuSQnN7pEQdtygTjbulbmZPAjskmuX4lnlSoQgSaM JuytdkgDNpBtq/2j1aVOUZSdoNdifRhj7FdIPno1560h2V4MDawGgm0V/JZDaBAKjuhD mn+pUMDnQCwwSwNVOFv3DDo5t2N6wZHZ0OG8idbLZe8GFQ/TILdIhq8vX5mtwaLaz3in tl+A4JTlromx4Oi95QY8p24z5tM392u0cVEs1/elhJ2ac0XgYJwv/qC3e8K9+/nWWhUx w9G/WMAmkZz277TqpI/gkwW/OOz2y2bMyTie7HaQHcLMULoxBOFD+BOqInEZ92zxE60F KFXA==
Subject: Re: cygport and C:\Windows\system32\tar.exe
To: cygwin AT cygwin DOT com
References: <bae0be8b-310d-e187-e8f7-f08d3495ce1c AT gmail DOT com> <58004f6c-2789-041d-8e75-65e602748db1 AT t-online DOT de>
From: Federico Kircheis <federico DOT kircheis AT gmail DOT com>
Message-ID: <9cb73766-d910-4114-d886-a98e41ee57c0@gmail.com>
Date: Sun, 30 Jun 2019 09:24:45 +0200
MIME-Version: 1.0
In-Reply-To: <58004f6c-2789-041d-8e75-65e602748db1@t-online.de>
X-IsSubscribed: yes

>> My problem is that cyport tries to invoke tar with an absolute file, and
>> of course C:\Windows\system32\tar.exe does not understand a path that
>> begins with `/cygdrive/c`.
> 
> No.  Your problem is that you're trying to use cygport from the wrong
> place, causing the PATH seen by it to be completely wrong.  Well, either
> that, or that you somehow failed to install Cygwin's own tar, even
> though it's part of the base system, so it should always be installed.

Mhm, You are of course right.

I've a clean system (plus a couple of programs), and cygwin.

I was able to reproduce the error directly from the cygwin terminal 
(with relative and absolute path), but now I'm unable to trigger it 
anymore :-S

> Cygport, like many of the more involved utilities delivered by Cygwin,
> is meant to be used from inside the Cygwin shell.  At the very least,
> you have to ensure that the PATH of the shell running cygport is set up
> properly, with Cygwin's `/bin' and/or `usr/bin' mounts at the front of it.
>> How do you generally solve that problem?
> 
> Basically by not even having it in the first place.

Of course, since cycheck reported it as possible issue I thought that 
was it.


Thank you.

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