Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3BE87E1A.74FF618B@yahoo.com> Date: Tue, 06 Nov 2001 19:19:38 -0500 From: Earnie Boyd Reply-To: CD List X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin-developers AT Cygwin DOT Com Subject: Re: A bug report without a patch so just delete it. References: <3BE8756E DOT ABF0CA02 AT yahoo DOT com> <20011106185844 DOT A7469 AT redhat DOT com> Content-Type: multipart/mixed; boundary="------------AD970022CC7EE000B1DF9CFC" This is a multi-part message in MIME format. --------------AD970022CC7EE000B1DF9CFC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Christopher Faylor wrote: > On Tue, Nov 06, 2001 at 06:42:38PM -0500, Earnie Boyd wrote: > >I've found an instance of where the path conversion routines fail. I've > >attached a relevant portion of an strace. The command > > cvs commit -m"foo" -r cygwin-binutils-2_11-20011002-1 > >fails with an error > > cvs commit: in directory doc > > cvs [commit aborted]: there is no version here; do 'cvs checkout' > >first > >which happens because cvs's filesubr.c doesn't stat doc as a dir because > >the path conversion routines have added and extra subdir doc/doc/. > > > >I should add that specifying doc on the command line gives good > >results. This also occurred in the previous release in case your > >interested so I guess I won't fall back to 1.3.3 ;^) > > Did you notice that the current working directory is > /usr/src/binutils/2.11/1/bfd/doc > No, it was /usr/src/binutils/2.11/1/bfd so something's confused somewhere. I do notice that there are successful stats of the same directory prior to failure. This point is the strace is the first occurrence of doc/doc. This error also occurs if the CWD is /usr/src/binutils/2.11/1. > > and you're trying to open a file called > > doc/CVS/Repository > > ? > > So, either cvs is confused, your your directory layout is garbled, or you > didn't actually include the relevant part of the strace which would > indicate where this was actually screwing up in cygwin. > I'll check the strace again. I've added the parts before this and reattached. -- Earnie. --------------AD970022CC7EE000B1DF9CFC Content-Type: text/plain; charset=us-ascii; name="pathconv.err.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pathconv.err.txt" 312 11987597 [main] cvs 325 fhandler_base::open: 0xFFFFFFFF = CreateFileA (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\CVS\Entries.Log, 0x80000000, 0x7, 0x255F384, 0x3, 0x2000080, 0) 139 11987736 [main] cvs 325 seterrno_from_win_error: /cygnus/netrel/src/cygwin-1.3.4-3/winsup/cygwin/fhandler.cc:403 errno 2 103 11987839 [main] cvs 325 geterrno_from_win_error: windows error 2 == errno 2 100 11987939 [main] cvs 325 fhandler_base::open: 0 = fhandler_base::open (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\CVS\Entries.Log, 0x110000) 104 11988043 [main] cvs 325 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\CVS\Entries.Log, 0x110000) 103 11988146 [main] cvs 325 fhandler_base::open: (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\CVS\Entries.Log, 0x110000) 199 11988345 [main] cvs 325 fhandler_base::open: 0xFFFFFFFF = CreateFileA (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\CVS\Entries.Log, 0x0, 0x7, 0x255F384, 0x3, 0x2000080, 0) 718 11989063 [main] cvs 325 seterrno_from_win_error: /cygnus/netrel/src/cygwin-1.3.4-3/winsup/cygwin/fhandler.cc:403 errno 2 118 11989181 [main] cvs 325 geterrno_from_win_error: windows error 2 == errno 2 102 11989283 [main] cvs 325 fhandler_base::open: 0 = fhandler_base::open (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\CVS\Entries.Log, 0x110000) 104 11989387 [main] cvs 325 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\CVS\Entries.Log, 0x110000) 107 11989494 [main] cvs 325 stat_worker: -1 = (CVS/Entries.Log, 0x255F914) 25479 12014973 [main] cvs 325 _open: open (doc/CVS/Repository, 0x0) 137 12015110 [main] cvs 325 normalize_posix_path: src doc/CVS/Repository^M 104 12015214 [main] cvs 325 cwdstuff::get: posix /usr/src/binutils/2.11/1/bfd/doc^M 101 12015315 [main] cvs 325 cwdstuff::get: (/usr/src/binutils/2.11/1/bfd/doc) = cwdstuff::get (0x255F484, 260, 1, 0), errno 2^M 104 12015419 [main] cvs 325 normalize_posix_path: /usr/src/binutils/2.11/1/bfd/doc/doc/CVS/Repository = normalize_posix_path (doc/CVS/Repository)^M 106 12015525 [main] cvs 325 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/binutils/2.11/1/bfd/doc/doc/CVS/Repository)^M 116 12015641 [main] cvs 325 mount_info::conv_to_win32_path: src_path /usr/src/binutils/2.11/1/bfd/doc/doc/CVS/Repository, dst c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\doc\CVS\Repository, flags 0xA, rc 0^M 524 12016165 [main] cvs 325 symlink_info::check: GetFileAttributesA (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\doc\CVS\Repository) failed^M --------------AD970022CC7EE000B1DF9CFC-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com