From: Andrey Repin <anrdaemon@yandex.ru>
To: Federico Kircheis <federico.kircheis@gmail.com>, cygwin@cygwin.com
Subject: Re: cygport and C:\Windows\system32\tar.exe
Date: Sun, 30 Jun 2019 08:20:00 -0000 [thread overview]
Message-ID: <10110680770.20190630110902@yandex.ru> (raw)
In-Reply-To: <9cb73766-d910-4114-d886-a98e41ee57c0@gmail.com>
Greetings, Federico Kircheis!
>>> 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
If you've started mintty by hands, it will inherit current environment.
In which case, you have to do some hand-waving to make it work more reliable.
>> 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.
--
With best regards,
Andrey Repin
Sunday, June 30, 2019 10:51:47
Sorry for my terrible english...
--
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
next prev parent reply other threads:[~2019-06-30 8:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e@epcas5p1.samsung.com>
2019-06-30 5:37 ` Federico Kircheis
2019-06-30 7:01 ` Hans-Bernhard Bröker
2019-06-30 7:24 ` Federico Kircheis
2019-06-30 8:20 ` Andrey Repin [this message]
2019-07-01 10:43 ` Pavel Fedin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10110680770.20190630110902@yandex.ru \
--to=anrdaemon@yandex.ru \
--cc=cygwin@cygwin.com \
--cc=federico.kircheis@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).