delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/04/23:50:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20110226153826.GD9392@calimero.vinschen.de>
References: <AANLkTinTZ2Vw5yNypzn3UJX9Z0kK+tWmRZKKFSaH22oG AT mail DOT gmail DOT com> <20110226153826 DOT GD9392 AT calimero DOT vinschen DOT de>
Date: Sat, 5 Mar 2011 05:50:40 +0100
Message-ID: <AANLkTi=s+uAsR1jAczxnBf6BP0QvpFi+ZNSEApJm0mCL@mail.gmail.com>
Subject: Re: cygcheck failing verification on latest snapshots
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Sat, Feb 26, 2011 at 4:38 PM, Corinna Vinschen  wrote:
> On Feb 26 13:33, marco atzeri wrote:
>> On recent snapshots I noticed that
>> cygcheck is reporting as missing the files under the mount points
>> /usr/bin
>> /usr/lib
>>
>> $ mount
>> E:/cygwin2/bin on /usr/bin type ntfs (binary,auto)
>> E:/cygwin2/lib on /usr/lib type ntfs (binary,auto)
>> E:/cygwin2 on / type ntfs (binary,auto)
>> C: on /cygdrive/c type ntfs (binary,posix=3D0,user,noumount,auto)
>> E: on /cygdrive/e type ntfs (binary,posix=3D0,user,noumount,auto)
>>
>> $ cygcheck -c -v bash
>> Cygwin Package Information
>> Last downloaded files to: E:\downloads\cygwin
>> Last downloaded files from: http://matzeri.altervista.org
>>
>> Package =A0 =A0 =A0 =A0 =A0 =A0 =A0Version =A0 =A0 =A0 =A0Status
>> Missing directory: /usr/bin/ from package bash
>> Missing file: /usr/bin/bash.exe from package bash
>> Missing file: /usr/bin/bashbug from package bash
>> Missing file: /usr/bin/sh.exe from package bash
>> bash =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 4.1.10-4 =A0 =A0 =A0 Incomplete
>
> Works for me.
>
>
> Corinna
>

Thanks Corinna,
I just discovered the root cause and it is not related to the snapshot but =
to
/etc/fstab content.

I am using cygwin on an external hard disk and to avoid every time to
redefine the mount point I was using a fstab like this:

/cygwin2 / some_fs binary 0 0
/cygwin2/bin /usr/bin some_fs binary 0 0

instead of

e:/cygwin2 / some_fs binary 0 0
e:/cygwin2/bin /usr/bin some_fs binary 0 0

in the first case cygwin works, without problem whatever is the disk letter,
but cygcheck doesn't succeed to locate the mount points

$ cycheck mount
bash: cycheck: command not found

$ which mount
/usr/bin/mount

$ cygcheck  /usr/bin/mount
\cygwin2\bin\mount.exe
  E:\cygwin2\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\RPCRT4.dll
        C:\WINDOWS\system32\Secur32.dll

in the second case, as expected

$ cygcheck  mount
Found: E:\cygwin2\bin\mount.exe
E:\cygwin2\bin\mount.exe
  E:\cygwin2\bin\cygwin1.dll
    C:\WINDOWS\system32\ADVAPI32.DLL
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\RPCRT4.dll
        C:\WINDOWS\system32\Secur32.dll

Regards
Marco

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