public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygcheck failing verification on latest snapshots
@ 2011-02-26 12:33 marco atzeri
  2011-02-26 15:38 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: marco atzeri @ 2011-02-26 12:33 UTC (permalink / raw)
  To: cygwin

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=0,user,noumount,auto)
E: on /cygdrive/e type ntfs (binary,posix=0,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              Version        Status
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                 4.1.10-4       Incomplete

$ ls -l /usr/bin/bash*
-rwxr-xr-x 1 Marco Administrators 536078 Feb 26 00:01 /usr/bin/bash.exe
-rwxr-xr-x 1 Marco Administrators   6942 Feb 26 00:00 /usr/bin/bashbug


$ uname -a
CYGWIN_NT-5.1 MATZERI-FSC-EU 1.7.8s(0.236/5/3) 20110221 20:36:00 i686 Cygwin

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

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

* Re: cygcheck failing verification on latest snapshots
  2011-02-26 12:33 cygcheck failing verification on latest snapshots marco atzeri
@ 2011-02-26 15:38 ` Corinna Vinschen
  2011-03-05  4:50   ` marco atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2011-02-26 15:38 UTC (permalink / raw)
  To: cygwin

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=0,user,noumount,auto)
> E: on /cygdrive/e type ntfs (binary,posix=0,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              Version        Status
> 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                 4.1.10-4       Incomplete

Works for me.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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] 3+ messages in thread

* Re: cygcheck failing verification on latest snapshots
  2011-02-26 15:38 ` Corinna Vinschen
@ 2011-03-05  4:50   ` marco atzeri
  0 siblings, 0 replies; 3+ messages in thread
From: marco atzeri @ 2011-03-05  4:50 UTC (permalink / raw)
  To: cygwin

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=0,user,noumount,auto)
>> E: on /cygdrive/e type ntfs (binary,posix=0,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              Version        Status
>> 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                 4.1.10-4       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

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

end of thread, other threads:[~2011-03-05  4:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-26 12:33 cygcheck failing verification on latest snapshots marco atzeri
2011-02-26 15:38 ` Corinna Vinschen
2011-03-05  4:50   ` marco atzeri

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