public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygport and C:\Windows\system32\tar.exe
@ 2019-06-30  5:37 ` Federico Kircheis
  2019-06-30  7:01   ` Hans-Bernhard Bröker
  2019-07-01 10:43   ` Pavel Fedin
  0 siblings, 2 replies; 5+ messages in thread
From: Federico Kircheis @ 2019-06-30  5:37 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

Hello,

I'm working on Windows 10 freshly installed, installed cygwin too, and 
noticed that tar did not work on absolute files.

Apparently there is a tar.exe from Microsoft in system32.
https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/

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

How do you generally solve that problem?


Thanks in advance

[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 28829 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Sat Jun 29 22:21:04 2019

Windows 10 Professional N Ver 10.0 Build 17134 

Path:	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Windows\System32\Wbem
	C:\Windows\System32\OpenSSH
	C:\Windows\system32
	C:\Windows
	C:\Users\admin\AppData\Local\Microsoft\WindowsApps
	C:\ProgramData\chocolatey\bin
	C:\Users\admin\AppData\Local\Microsoft\WindowsApps
	C:\tools\neovim\Neovim\bin
	C:\cygwin_x64_dev\bin

Output from C:\cygwin_x64_dev\bin\id.exe
UID: 197608(admin)
GID: 197121(None)
197121(None)
114(Local account and member of Administrators group)
544(Administrators)
545(Users)
4(INTERACTIVE)
66049(CONSOLE LOGON)
11(Authenticated Users)
15(This Organization)
113(Local account)
4095(CurrentSession)
66048(LOCAL)
262154(NTLM Authentication)
405504(High Mandatory Level)

SysDir: C:\Windows\system32
WinDir: C:\Windows

PWD = '/home/admin'
HOME = '/home/admin'

USERDOMAIN = 'DESKTOP-4NSE9RE'
ChocolateyToolsLocation = 'C:\tools'
OS = 'Windows_NT'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '6'
PSModulePath = 'C:\Users\admin\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
PUBLIC = 'C:\Users\Public'
USERNAME = 'admin'
ChocolateyInstall = 'C:\ProgramData\chocolatey'
LOGONSERVER = '\\DESKTOP-4NSE9RE'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\admin\AppData\Local'
COMPUTERNAME = 'DESKTOP-4NSE9RE'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
!:: = '::\'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\admin'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL'
SYSTEMROOT = 'C:\Windows'
USERDOMAIN_ROAMINGPROFILE = 'DESKTOP-4NSE9RE'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 142 Stepping 11, GenuineIntel'
TMP = '/cygdrive/c/Users/admin/AppData/Local/Temp'
OneDrive = 'C:\Users\admin\OneDrive'
PROCESSOR_REVISION = '8e0b'
FPS_BROWSER_USER_PROFILE_STRING = 'Default'
NUMBER_OF_PROCESSORS = '2'
ProgramW6432 = 'C:\Program Files'
COMSPEC = 'C:\Windows\system32\cmd.exe'
APPDATA = 'C:\Users\admin\AppData\Roaming'
TERM = 'xterm'
WINDIR = 'C:\Windows'
OldPath = 'C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\Wbem;C:\Windows\System32\OpenSSH;C:\Windows\system32;C:\Windows;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;C:\ProgramData\chocolatey\bin'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
PROGRAMFILES = 'C:\Program Files'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/cygdrive/c/Users/admin/AppData/Local/Temp'
DriverData = 'C:\Windows\System32\Drivers\DriverData'
SESSIONNAME = 'Console'
ProgramFiles(x86) = 'C:\Program Files (x86)'
HOMEDRIVE = 'C:'
ChocolateyLastPathUpdate = '132063163167702102'
HOMEPATH = '\Users\admin'
EXECIGNORE = '*.dll'
_ = '/usr/bin/cygcheck'
OLDPWD = '/cygdrive/c/Users/admin/Desktop/work'

HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin_x64_dev'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin_x64_dev'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: 68ceee7bd64bcf28 Path: C:\cygwin_x64_dev

c:  hd  NTFS     65533Mb  22% CP CS UN PA FC    QU  Windows
d:  cd             N/A    N/A                       
z:  net VBoxSharedFolderFS  466956Mb  31%                       VBOX_df0

C:\cygwin_x64_dev      /          system  binary,auto
C:\cygwin_x64_dev\bin  /usr/bin   system  binary,auto
C:\cygwin_x64_dev\lib  /usr/lib   system  binary,auto
cygdrive prefix        /cygdrive  user    binary,posix=0,auto

Found: C:\cygwin_x64_dev\bin\awk
 -> C:\cygwin_x64_dev\bin\gawk.exe
Found: C:\cygwin_x64_dev\bin\bash.exe
Found: C:\tools\neovim\Neovim\bin\cat.exe
Found: C:\cygwin_x64_dev\bin\cat.exe
Warning: C:\tools\neovim\Neovim\bin\cat.exe hides C:\cygwin_x64_dev\bin\cat.exe
Found: C:\cygwin_x64_dev\bin\cp.exe
Found: C:\cygwin_x64_dev\bin\cpp.exe
Not Found: crontab
Found: C:\Windows\system32\find.exe
Found: C:\cygwin_x64_dev\bin\find.exe
Warning: C:\Windows\system32\find.exe hides C:\cygwin_x64_dev\bin\find.exe
Found: C:\cygwin_x64_dev\bin\gcc.exe
Found: C:\cygwin_x64_dev\bin\gdb.exe
Found: C:\cygwin_x64_dev\bin\grep.exe
Found: C:\cygwin_x64_dev\bin\kill.exe
Found: C:\cygwin_x64_dev\bin\ld.exe
Found: C:\cygwin_x64_dev\bin\ls.exe
Found: C:\cygwin_x64_dev\bin\make.exe
Found: C:\cygwin_x64_dev\bin\mv.exe
Found: C:\cygwin_x64_dev\bin\patch.exe
Found: C:\cygwin_x64_dev\bin\perl.exe
Found: C:\cygwin_x64_dev\bin\rm.exe
Found: C:\cygwin_x64_dev\bin\sed.exe
Found: C:\Windows\System32\OpenSSH\ssh.exe
Found: C:\cygwin_x64_dev\bin\ssh.exe
Warning: C:\Windows\System32\OpenSSH\ssh.exe hides C:\cygwin_x64_dev\bin\ssh.exe
Found: C:\cygwin_x64_dev\bin\sh.exe
Found: C:\Windows\system32\tar.exe
Found: C:\cygwin_x64_dev\bin\tar.exe
Warning: C:\Windows\system32\tar.exe hides C:\cygwin_x64_dev\bin\tar.exe
Found: C:\cygwin_x64_dev\bin\test.exe
Found: C:\cygwin_x64_dev\bin\vi.exe
Not Found: vim

   39k 2016/09/19 C:\cygwin_x64_dev\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygargp-0.dll" v0.0 ts=2016-09-18 18:13
   29k 2018/12/09 C:\cygwin_x64_dev\bin\cygatomic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygatomic-1.dll" v0.0 ts=2018-12-08 14:53
   19k 2018/12/20 C:\cygwin_x64_dev\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2018-12-20 01:48
  246k 2019/03/05 C:\cygwin_x64_dev\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygblkid-1.dll" v0.0 ts=2019-03-05 12:06
  129k 2019/05/13 C:\cygwin_x64_dev\bin\cygbrotlicommon-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlicommon-1.dll" v0.0 ts=2019-05-12 18:33
   48k 2019/05/13 C:\cygwin_x64_dev\bin\cygbrotlidec-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlidec-1.dll" v0.0 ts=2019-05-12 18:33
   64k 2017/02/22 C:\cygwin_x64_dev\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2017-02-21 23:22
   10k 2015/02/20 C:\cygwin_x64_dev\bin\cygcharset-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygcharset-1.dll" v0.0 ts=2015-02-20 09:07
   13k 2019/01/02 C:\cygwin_x64_dev\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcom_err-2.dll" v0.0 ts=2019-01-01 18:39
  203k 2017/04/25 C:\cygwin_x64_dev\bin\cygcroco-0.6-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygcroco-0.6-3.dll" v0.0 ts=2017-04-25 09:03
   39k 2017/09/03 C:\cygwin_x64_dev\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-0.dll" v0.0 ts=2017-09-03 00:18
  194k 2019/04/03 C:\cygwin_x64_dev\bin\cygcrypt-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-2.dll" v0.0 ts=2019-04-03 14:05
 2354k 2019/03/11 C:\cygwin_x64_dev\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.0.0.dll" v0.0 ts=2019-03-11 10:57
 2440k 2019/03/11 C:\cygwin_x64_dev\bin\cygcrypto-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.1.dll" v0.0 ts=2019-03-10 22:42
  553k 2019/05/23 C:\cygwin_x64_dev\bin\cygcurl-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygcurl-4.dll" v0.0 ts=2019-05-23 08:01
 1552k 2017/09/28 C:\cygwin_x64_dev\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb-5.3.dll" v0.0 ts=2017-09-28 12:05
  119k 2017/09/28 C:\cygwin_x64_dev\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_cxx-5.3.dll" v0.0 ts=2017-09-28 12:06
  569k 2017/09/28 C:\cygwin_x64_dev\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_sql-5.3.dll" v0.0 ts=2017-09-28 12:06
  154k 2013/10/20 C:\cygwin_x64_dev\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygedit-0.dll" v0.0 ts=2013-10-20 13:56
  181k 2018/09/27 C:\cygwin_x64_dev\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygexpat-1.dll" v0.0 ts=2018-09-27 10:30
   73k 2016/08/26 C:\cygwin_x64_dev\bin\cygexslt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygexslt-0.dll" v0.0 ts=2016-08-26 14:10
   30k 2014/10/14 C:\cygwin_x64_dev\bin\cygfam-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygfam-0.dll" v0.0 ts=2014-10-14 13:33
  347k 2019/03/05 C:\cygwin_x64_dev\bin\cygfdisk-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygfdisk-1.dll" v0.0 ts=2019-03-05 12:06
   27k 2015/11/17 C:\cygwin_x64_dev\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2015-11-17 14:14
   65k 2017/12/05 C:\cygwin_x64_dev\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2017-12-05 00:15
  137k 2019/03/29 C:\cygwin_x64_dev\bin\cyggc-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggc-1.dll" v0.0 ts=2019-03-29 14:16
   70k 2018/12/09 C:\cygwin_x64_dev\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2018-12-08 11:56
 1099k 2018/03/19 C:\cygwin_x64_dev\bin\cyggcrypt-20.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcrypt-20.dll" v0.0 ts=2018-03-19 12:09
   39k 2016/10/10 C:\cygwin_x64_dev\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-4.dll" v0.0 ts=2016-10-10 01:26
   13k 2016/10/10 C:\cygwin_x64_dev\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm_compat-4.dll" v0.0 ts=2016-10-10 01:26
  203k 2016/10/23 C:\cygwin_x64_dev\bin\cyggettextlib-0-19-8-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggettextlib-0-19-8-1.dll" v0.0 ts=2016-10-22 23:22
  272k 2016/10/23 C:\cygwin_x64_dev\bin\cyggettextsrc-0-19-8-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggettextsrc-0-19-8-1.dll" v0.0 ts=2016-10-22 23:27
 1398k 2018/02/11 C:\cygwin_x64_dev\bin\cyggio-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggio-2.0-0.dll" v0.0 ts=2018-02-11 11:03
  993k 2018/02/11 C:\cygwin_x64_dev\bin\cygglib-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygglib-2.0-0.dll" v0.0 ts=2018-02-11 11:01
   15k 2018/02/11 C:\cygwin_x64_dev\bin\cyggmodule-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmodule-2.0-0.dll" v0.0 ts=2018-02-11 11:01
  527k 2017/01/21 C:\cygwin_x64_dev\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2017-01-21 10:25
 1444k 2019/02/19 C:\cygwin_x64_dev\bin\cyggnutls-30.dll - os=4.0 img=0.0 sys=5.2
                  "cyggnutls-30.dll" v0.0 ts=2019-02-18 23:13
  289k 2018/02/11 C:\cygwin_x64_dev\bin\cyggobject-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggobject-2.0-0.dll" v0.0 ts=2018-02-11 11:02
  148k 2018/12/09 C:\cygwin_x64_dev\bin\cyggomp-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggomp-1.dll" v0.0 ts=2018-12-08 12:21
   95k 2018/03/19 C:\cygwin_x64_dev\bin\cyggpg-error-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggpg-error-0.dll" v0.0 ts=2018-03-19 11:27
  274k 2018/03/16 C:\cygwin_x64_dev\bin\cyggssapi_krb5-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyggssapi_krb5-2.dll" v0.0 ts=2018-03-15 19:38
    9k 2018/02/11 C:\cygwin_x64_dev\bin\cyggthread-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggthread-2.0-0.dll" v0.0 ts=2018-02-11 11:01
 1333k 2018/08/07 C:\cygwin_x64_dev\bin\cygguile-2.0-22.dll - os=4.0 img=0.0 sys=5.2
                  "cygguile-2.0-22.dll" v0.0 ts=2018-08-07 00:10
   33k 2017/02/13 C:\cygwin_x64_dev\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2017-02-11 14:39
  168k 2019/02/19 C:\cygwin_x64_dev\bin\cyghogweed-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyghogweed-4.dll" v0.0 ts=2019-02-18 22:59
 1009k 2015/02/20 C:\cygwin_x64_dev\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2015-02-20 09:07
  197k 2017/05/02 C:\cygwin_x64_dev\bin\cygidn-11.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn-11.dll" v0.0 ts=2017-05-01 17:18
  111k 2017/09/25 C:\cygwin_x64_dev\bin\cygidn2-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn2-0.dll" v0.0 ts=2017-09-24 19:16
   42k 2016/10/23 C:\cygwin_x64_dev\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2016-10-22 23:17
 1304k 2017/11/04 C:\cygwin_x64_dev\bin\cygisl-15.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-15.dll" v0.0 ts=2017-11-04 12:36
  192k 2018/03/16 C:\cygwin_x64_dev\bin\cygk5crypto-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygk5crypto-3.dll" v0.0 ts=2018-03-15 19:37
  754k 2018/03/16 C:\cygwin_x64_dev\bin\cygkrb5-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5-3.dll" v0.0 ts=2018-03-15 19:37
   37k 2018/03/16 C:\cygwin_x64_dev\bin\cygkrb5support-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5support-0.dll" v0.0 ts=2018-03-15 19:36
   45k 2015/11/19 C:\cygwin_x64_dev\bin\cyglber-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2-4-2.dll" v0.0 ts=2015-11-19 06:17
  246k 2015/11/19 C:\cygwin_x64_dev\bin\cygldap-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2-4-2.dll" v0.0 ts=2015-11-19 06:18
  262k 2015/11/19 C:\cygwin_x64_dev\bin\cygldap_r-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap_r-2-4-2.dll" v0.0 ts=2015-11-19 06:19
   35k 2018/05/29 C:\cygwin_x64_dev\bin\cygltdl-7.dll - os=4.0 img=0.0 sys=5.2
                  "cygltdl-7.dll" v0.0 ts=2018-05-29 07:34
  139k 2017/05/10 C:\cygwin_x64_dev\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2017-05-09 17:17
  125k 2018/03/18 C:\cygwin_x64_dev\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2018-03-18 07:17
  168k 2018/01/23 C:\cygwin_x64_dev\bin\cygman-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygman-2-7-6-1.dll" v0.0 ts=2018-01-23 12:22
   22k 2018/01/23 C:\cygwin_x64_dev\bin\cygmandb-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmandb-2-7-6-1.dll" v0.0 ts=2018-01-23 12:22
   33k 2017/12/05 C:\cygwin_x64_dev\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2017-12-05 00:15
   92k 2018/03/17 C:\cygwin_x64_dev\bin\cygmpc-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpc-3.dll" v0.0 ts=2018-03-17 09:05
  432k 2019/02/02 C:\cygwin_x64_dev\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-6.dll" v0.0 ts=2019-02-02 10:25
   69k 2017/12/05 C:\cygwin_x64_dev\bin\cygncurses++w-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncurses++w-10.dll" v0.0 ts=2017-12-05 00:21
  317k 2017/12/05 C:\cygwin_x64_dev\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2017-12-05 00:13
  205k 2019/02/19 C:\cygwin_x64_dev\bin\cygnettle-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygnettle-6.dll" v0.0 ts=2019-02-18 22:59
  144k 2019/03/27 C:\cygwin_x64_dev\bin\cygnghttp2-14.dll - os=4.0 img=0.0 sys=5.2
                  "cygnghttp2-14.dll" v0.0 ts=2019-03-26 20:05
 1013k 2019/02/20 C:\cygwin_x64_dev\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygp11-kit-0.dll" v0.0 ts=2019-02-19 23:21
   15k 2017/12/05 C:\cygwin_x64_dev\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2017-12-05 00:14
  467k 2019/04/05 C:\cygwin_x64_dev\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre-1.dll" v0.0 ts=2019-04-04 17:59
 2209k 2018/12/01 C:\cygwin_x64_dev\bin\cygperl5_26.dll - os=4.0 img=0.0 sys=5.2
                  "cygperl5_26.dll" v0.0 ts=2018-11-30 23:22
   39k 2015/04/09 C:\cygwin_x64_dev\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpipeline-1.dll" v0.0 ts=2015-04-09 13:04
   52k 2019/02/20 C:\cygwin_x64_dev\bin\cygpkgconf-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygpkgconf-3.dll" v0.0 ts=2019-02-19 18:06
   41k 2016/07/13 C:\cygwin_x64_dev\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2016-07-12 22:16
   53k 2017/08/11 C:\cygwin_x64_dev\bin\cygpsl-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygpsl-5.dll" v0.0 ts=2017-08-10 22:56
  315k 2018/12/09 C:\cygwin_x64_dev\bin\cygquadmath-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygquadmath-0.dll" v0.0 ts=2018-12-08 14:57
  219k 2017/02/13 C:\cygwin_x64_dev\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2017-02-11 14:39
   96k 2017/04/16 C:\cygwin_x64_dev\bin\cygsasl2-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygsasl2-3.dll" v0.0 ts=2017-04-16 11:15
   11k 2015/07/17 C:\cygwin_x64_dev\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 14:35
  150k 2019/03/05 C:\cygwin_x64_dev\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmartcols-1.dll" v0.0 ts=2019-03-05 12:06
 1104k 2019/05/14 C:\cygwin_x64_dev\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygsqlite3-0.dll" v0.0 ts=2019-05-14 07:27
  449k 2019/05/02 C:\cygwin_x64_dev\bin\cygssh-4.dll - os=4.0 img=4.7 sys=5.2
                  "cygssh-4.dll" v0.0 ts=2019-05-02 08:11
  408k 2019/03/11 C:\cygwin_x64_dev\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.0.0.dll" v0.0 ts=2019-03-11 10:58
  496k 2019/03/11 C:\cygwin_x64_dev\bin\cygssl-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.1.dll" v0.0 ts=2019-03-10 22:42
 1400k 2018/12/09 C:\cygwin_x64_dev\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2018-12-08 13:15
   67k 2018/03/19 C:\cygwin_x64_dev\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtasn1-6.dll" v0.0 ts=2018-03-19 13:41
   58k 2017/12/05 C:\cygwin_x64_dev\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2017-12-05 00:13
 1612k 2018/08/16 C:\cygwin_x64_dev\bin\cygunistring-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygunistring-2.dll" v0.0 ts=2018-08-16 12:33
   27k 2019/03/05 C:\cygwin_x64_dev\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguuid-1.dll" v0.0 ts=2019-03-05 12:06
 1222k 2019/03/26 C:\cygwin_x64_dev\bin\cygxml2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygxml2-2.dll" v0.0 ts=2019-03-25 17:39
  209k 2016/08/26 C:\cygwin_x64_dev\bin\cygxslt-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygxslt-1.dll" v0.0 ts=2016-08-26 14:10
   83k 2017/03/03 C:\cygwin_x64_dev\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2017-03-03 13:42
 3415k 2019/04/30 C:\cygwin_x64_dev\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2019-04-30 11:08
    Cygwin DLL version info:
        DLL version: 3.0.7
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 338
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


No Cygwin services found.


Cygwin Package Information
Last downloaded files to: C:\Users\admin\AppData\Local\Temp
Last downloaded files from: http://cygwin.mirror.constant.com/

Package                   Version             Status
_autorebase               001007-1            OK
alternatives              1.3.30c-10          OK
autoconf                  13-1                OK
autoconf2.1               2.13-12             OK
autoconf2.5               2.69-4              OK
automake                  10-1                OK
automake1.10              1.10.3-3            OK
automake1.11              1.11.6-3            OK
automake1.12              1.12.6-3            OK
automake1.13              1.13.4-2            OK
automake1.14              1.14.1-3            OK
automake1.15              1.15.1-1            OK
automake1.9               1.9.6-11            OK
base-cygwin               3.8-1               OK
base-files                4.3-2               OK
bash                      4.4.12-3            OK
binutils                  2.29-1              OK
build-docbook-catalog     1.5-2               OK
bzip2                     1.0.6-3             OK
ca-certificates           2.30-1              OK
coreutils                 8.26-2              OK
crypto-policies           20190218-1          OK
csih                      0.9.11-1            OK
cygport                   0.33.1-1            OK
cygrunsrv                 1.62-1              OK
cygutils                  1.4.16-2            OK
cygwin                    3.0.7-1             OK
cygwin-devel              3.0.7-1             OK
dash                      0.5.9.1-1           OK
desktop-file-utils        0.23-1              OK
diffstat                  1.61-1              OK
diffutils                 3.5-2               OK
docbook-xml42             4.2-4               OK
docbook-xsl               1.77.1-1            OK
dos2unix                  7.4.0-1             OK
editrights                1.03-1              OK
file                      5.32-1              OK
findutils                 4.6.0-1             OK
gamin                     0.1.10-15           OK
gawk                      5.0.1-1             OK
gcc-core                  7.4.0-1             OK
gcc-g++                   7.4.0-1             OK
gdb                       8.1.1-1             OK
getent                    2.18.90-4           OK
gettext                   0.19.8.1-2          OK
gettext-devel             0.19.8.1-2          OK
git                       2.21.0-1            OK
grep                      3.0-2               OK
groff                     1.22.4-1            OK
gsettings-desktop-schemas 3.24.1-1            OK
gzip                      1.8-1               OK
hostname                  3.13-1              OK
info                      6.6-1               OK
ipc-utils                 1.0-2               OK
less                      530-1               OK
lftp                      4.8.4-1             OK
libargp                   20110921-3          OK
libatomic1                7.4.0-1             OK
libattr1                  2.4.48-2            OK
libblkid1                 2.33.1-1            OK
libbrotlicommon1          1.0.7-1             OK
libbrotlidec1             1.0.7-1             OK
libbz2_1                  1.0.6-3             OK
libcharset1               1.14-3              OK
libcom_err2               1.44.5-1            OK
libcroco0.6_3             0.6.12-1            OK
libcrypt0                 2.1-1               OK
libcrypt2                 4.4.4-1             OK
libcurl4                  7.65.0-1            OK
libdb-devel               5.3.28-2            OK
libdb5.3                  5.3.28-2            OK
libedit0                  20130712-1          OK
libexpat1                 2.2.6-1             OK
libfam0                   0.1.10-15           OK
libfdisk1                 2.33.1-1            OK
libffi6                   3.2.1-2             OK
libgc1                    8.0.4-1             OK
libgcc1                   7.4.0-1             OK
libgcrypt20               1.8.2-1             OK
libgdbm4                  1.12-1              OK
libglib2.0_0              2.54.3-1            OK
libgmp10                  6.1.2-1             OK
libgnutls30               3.6.6-1             OK
libgomp1                  7.4.0-1             OK
libgpg-error0             1.28-1              OK
libgssapi_krb5_2          1.15.2-2            OK
libguile2.0_22            2.0.14-3            OK
libhogweed4               3.4.1-1             OK
libiconv                  1.14-3              OK
libiconv-devel            1.14-3              OK
libiconv2                 1.14-3              OK
libidn-devel              1.33-1              OK
libidn11                  1.33-1              OK
libidn2_0                 2.0.4-1             OK
libintl-devel             0.19.8.1-2          OK
libintl8                  0.19.8.1-2          OK
libisl15                  0.16.1-1            OK
libk5crypto3              1.15.2-2            OK
libkrb5_3                 1.15.2-2            OK
libkrb5support0           1.15.2-2            OK
libltdl7                  2.4.6-6             OK
liblzma5                  5.2.3-1             OK
libmpc3                   1.1.0-1             OK
libmpfr6                  4.0.2-1             OK
libncurses++w10           6.0-12.20171125     OK
libncurses-devel          6.0-12.20171125     OK
libncursesw10             6.0-12.20171125     OK
libnettle6                3.4.1-1             OK
libnghttp2_14             1.37.0-1            OK
libopenldap2_4_2          2.4.42-1            OK
libp11-kit0               0.23.15-1           OK
libpcre1                  8.43-1              OK
libpipeline1              1.4.0-1             OK
libpkgconf3               1.6.0-1             OK
libpopt-common            1.16-2              OK
libpopt0                  1.16-2              OK
libpsl5                   0.18.0-1            OK
libquadmath0              7.4.0-1             OK
libreadline7              7.0.3-3             OK
libsasl2-devel            2.1.26-11           OK
libsasl2_3                2.1.26-11           OK
libsigsegv2               2.10-2              OK
libsmartcols1             2.33.1-1            OK
libsqlite3_0              3.28.0-1            OK
libssh-common             0.8.7-1             OK
libssh4                   0.8.7-1             OK
libssl1.0                 1.0.2r-2            OK
libssl1.1                 1.1.1b-1            OK
libstdc++6                7.4.0-1             OK
libtasn1_6                4.13-1              OK
libtool                   2.4.6-6             OK
libunistring2             0.9.10-1            OK
libuuid-devel             2.33.1-1            OK
libuuid1                  2.33.1-1            OK
libxml2                   2.9.9-2             OK
libxslt                   1.1.29-1            OK
lndir                     1.0.3-1             OK
login                     1.13-1              OK
m4                        1.4.18-1            OK
make                      4.2.1-2             OK
man-db                    2.7.6.1-1           OK
mintty                    3.0.1-1             OK
ncurses                   6.0-12.20171125     OK
openssh                   8.0p1-2             OK
openssl                   1.1.1b-1            OK
p11-kit                   0.23.15-1           OK
p11-kit-trust             0.23.15-1           OK
patch                     2.7.4-1             OK
perl                      5.26.3-1            OK
perl-Authen-SASL          2.16-3              OK
Empty package perl-Carp
perl-Carp                 1.38-2              OK
perl-Digest-HMAC          1.03-6              OK
perl-Error                0.17027-1           OK
perl-IO-Socket-SSL        2.066-1             OK
perl-MailTools            2.21-1              OK
perl-MIME-tools           5.508-2             OK
perl-Mozilla-CA           20180117-1          OK
perl-Net-SMTP-SSL         1.04-2              OK
perl-Net-SSLeay           1.88-1              OK
perl-Scalar-List-Utils    1.50-1              OK
perl-TermReadKey          2.38-1              OK
perl-Test-Harness         3.42-1              OK
perl-TimeDate             2.30-3              OK
perl_autorebase           5.26.3-1            OK
perl_base                 5.26.3-1            OK
pkg-config                1.6.0-1             OK
pkgconf                   1.6.0-1             OK
publicsuffix-list-dafsa   20190419-1          OK
python-pip-wheel          19.0.3-1            OK
python-setuptools-wheel   40.8.0-1            OK
python2                   2.7.16-1            OK
python27                  2.7.16-1            OK
python3                   3.6.8-1             OK
python36                  3.6.8-1             OK
rebase                    4.4.4-1             OK
rsync                     3.1.2-1             OK
run                       1.3.4-2             OK
sed                       4.4-1               OK
sgml-common               0.6.3-3             OK
shared-mime-info          1.8-1               OK
tar                       1.28-1              OK
terminfo                  6.0-12.20171125     OK
texinfo                   6.6-1               OK
tzcode                    2018i-1             OK
tzdata                    2018i-1             OK
unzip                     6.0-17              OK
util-linux                2.33.1-1            OK
vim-minimal               8.1.1240-1          OK
w32api-headers            5.0.4-1             OK
w32api-runtime            5.0.4-1             OK
wget                      1.19.1-2            OK
which                     2.20-2              OK
windows-default-manifest  6.4-1               OK
xz                        5.2.3-1             OK
zlib0                     1.2.11-1            OK
Use -h to see help about each section

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cygport and C:\Windows\system32\tar.exe
  2019-06-30  5:37 ` cygport and C:\Windows\system32\tar.exe Federico Kircheis
@ 2019-06-30  7:01   ` Hans-Bernhard Bröker
  2019-06-30  7:24     ` Federico Kircheis
  2019-07-01 10:43   ` Pavel Fedin
  1 sibling, 1 reply; 5+ messages in thread
From: Hans-Bernhard Bröker @ 2019-06-30  7:01 UTC (permalink / raw)
  To: cygwin

Am 30.06.2019 um 07:37 schrieb 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.

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.


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cygport and C:\Windows\system32\tar.exe
  2019-06-30  7:01   ` Hans-Bernhard Bröker
@ 2019-06-30  7:24     ` Federico Kircheis
  2019-06-30  8:20       ` Andrey Repin
  0 siblings, 1 reply; 5+ messages in thread
From: Federico Kircheis @ 2019-06-30  7:24 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: cygport and C:\Windows\system32\tar.exe
  2019-06-30  7:24     ` Federico Kircheis
@ 2019-06-30  8:20       ` Andrey Repin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Repin @ 2019-06-30  8:20 UTC (permalink / raw)
  To: Federico Kircheis, cygwin

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: cygport and C:\Windows\system32\tar.exe
  2019-06-30  5:37 ` cygport and C:\Windows\system32\tar.exe Federico Kircheis
  2019-06-30  7:01   ` Hans-Bernhard Bröker
@ 2019-07-01 10:43   ` Pavel Fedin
  1 sibling, 0 replies; 5+ messages in thread
From: Pavel Fedin @ 2019-07-01 10:43 UTC (permalink / raw)
  To: 'Federico Kircheis', cygwin

 This is solved by proper order of directories in your $PATH. Cygwin's /bin, /usr/bin, /usr/local/bin always come in front.
 You seem to have no Cygwin tar installed, hence the search continues down to native Windows one.

Kind regards,
Pavel Fedin
Senior Engineer
Samsung Electronics Research center Russia


> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Federico
> Kircheis
> Sent: Sunday, June 30, 2019 8:38 AM
> To: cygwin@cygwin.com
> Subject: cygport and C:\Windows\system32\tar.exe
> 
> Hello,
> 
> I'm working on Windows 10 freshly installed, installed cygwin too, and
> noticed that tar did not work on absolute files.
> 
> Apparently there is a tar.exe from Microsoft in system32.
> https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/
> 
> 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`.
> 
> How do you generally solve that problem?
> 
> 
> Thanks in advance


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-01 10:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e@epcas5p1.samsung.com>
2019-06-30  5:37 ` cygport and C:\Windows\system32\tar.exe 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
2019-07-01 10:43   ` Pavel Fedin

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