Discussion:
"No such file"
Roe, Kevin L.
2010-03-15 23:42:37 UTC
Permalink
I just checked out my repository and got the error:

cvs checkout: cannot write [filename]: No such file or directory

What does this mean and how do I fix it?

-Kevin
Roe, Kevin L.
2010-03-16 19:24:45 UTC
Permalink
I'm going to try to add more information in the effort to get a response.

My system setup:
64 bit XP
Dual quad-core
Cygwin 1.7.1

The situation:
I check out a module of my repository (located on a remote machine) and a handful of files do not get downloaded due to the "no such file" error described below. I then try to update the same module and get the same error on the same files. I check it out again and get exactly the same response on exactly the same files.
I have checked the permissions on the files in the repository.
I have removed some watches that were on some of the files.


Bottom line:
I have a very repeatable problem with no evidence of a cause I've found.

If you have any suggestions, please respond.

If this is the incorrect forum, please advise.


-Kevin


-----Original Message-----
From: info-cvs-bounces+roe2=***@nongnu.org [mailto:info-cvs-bounces+roe2=***@nongnu.org] On Behalf Of Roe, Kevin L.
Sent: Monday, March 15, 2010 4:43 PM
To: info-***@nongnu.org
Subject: "No such file"

I just checked out my repository and got the error:

cvs checkout: cannot write [filename]: No such file or directory

What does this mean and how do I fix it?

-Kevin
Larry Jones
2010-03-16 20:57:23 UTC
Permalink
Roe, Kevin L. writes:
>
> The situation:
>
> I check out a module of my repository (located on a remote machine)
> and a handful of files do not get downloaded due to the "no such file"
> error described below. I then try to update the same module and get the
> same error on the same files. I check it out again and get exactly the
> same response on exactly the same files.

Please run the update again with the -t global option to get a trace and
post it. My guess is that the affected files have funky names that are
confusing cygwin and/or Windows.
--
Larry Jones

Hello, local Navy recruitment office? Yes, this is an emergency... -- Calvin
Roe, Kevin L.
2010-03-17 16:57:27 UTC
Permalink
Here is the trace for a checkout. I've removed most of the file and left just two similarly named files. One failed and one succeeded.



S-> RCS_checkout (/usr/gapps/AEAG/cvs_modules/Utilities/p_change.pl,v, 1.8, , , (function))
cvs checkout: cannot write Utilities/p_change.pl: No such file or directory
S-> server_register(p_change.pl, 1.8, , , , , )
S-> Register(p_change.pl, 1.8, , , )



S-> RCS_checkout (/usr/gapps/AEAG/cvs_modules/Utilities/p_check.pl,v, 1.2, , , (function))
U Utilities/p_check.pl
-> rename(.new.p_check.pl,p_check.pl)
-> Register(p_check.pl, 1.2, Tue Jan 12 00:23:42 2010, , )
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink_file(CVS/Entries.Log)
S-> server_register(p_check.pl, 1.2, , , , , )
S-> Register(p_check.pl, 1.2, , , )




-Kevin

-----Original Message-----
From: Larry Jones [mailto:***@siemens.com]
Sent: Tuesday, March 16, 2010 1:57 PM
To: Roe, Kevin L.
Cc: info-***@nongnu.org
Subject: Re: "No such file"

Roe, Kevin L. writes:
>
> The situation:
>
> I check out a module of my repository (located on a remote machine)
> and a handful of files do not get downloaded due to the "no such file"
> error described below. I then try to update the same module and get the
> same error on the same files. I check it out again and get exactly the
> same response on exactly the same files.

Please run the update again with the -t global option to get a trace and
post it. My guess is that the affected files have funky names that are
confusing cygwin and/or Windows.
--
Larry Jones

Hello, local Navy recruitment office? Yes, this is an emergency... -- Calvin
Larry Jones
2010-03-17 18:30:43 UTC
Permalink
Roe, Kevin L. writes:
>
> S-> RCS_checkout (/usr/gapps/AEAG/cvs_modules/Utilities/p_change.pl,v, 1.8, , , (function))
> cvs checkout: cannot write Utilities/p_change.pl: No such file or directory

Hmmmm, that looks like some kind of a bug/incompatibility in cygwin.
You need to ask the cygwin folks what would cause

open(".new.p_change.pl", O_WRONLY | O_CREAT | O_TRUNC, 0777)

to fail with errno set to ENOENT.
--
Larry Jones

I wonder if you can refuse to inherit the world. -- Calvin
Roe, Kevin L.
2010-03-17 22:46:29 UTC
Permalink
So here is the latest from the cygwin folks:

> -----Original Message-----
> From: cygwin-***@cygwin.com [mailto:cygwin-***@cygwin.com] On
> Behalf Of Eric Blake
> Sent: Wednesday, March 17, 2010 2:41 PM
> To: ***@cygwin.com
> Subject: Re: 1.7.1: cvs version built in is unstable
>
> On 03/17/2010 03:39 PM, Roe, Kevin L. wrote:
> > This appears to be related to another problem I am encountering. I
> have described it in the thread "cp: skipping file 'file.txt', as it
> was replaced while being copied"
> >
> > The same drive that has the CVS issue has the "cp" issue and the
> other drive has neither issue.
>
> The problem is thus that the drive gives bogus inode values, but cygwin
> does not know how to detect that those values are bogus to use its
> fallback based on file name hashing.
>
> Is this with cygwin 1.7.1 or a snapshot? Corinna has done some work in
> CVS for various buggy file systems, but you may have encountered yet
> one more.
>
> --
> Eric Blake ***@redhat.com +1-801-349-2682
> Libvirt virtualization library http://*libvirt.org



-----Original Message-----
From: Larry Jones [mailto:***@siemens.com]
Sent: Wednesday, March 17, 2010 11:31 AM
To: Roe, Kevin L.
Cc: info-***@nongnu.org
Subject: Re: "No such file"

Roe, Kevin L. writes:
>
> S-> RCS_checkout (/usr/gapps/AEAG/cvs_modules/Utilities/p_change.pl,v, 1.8, , , (function))
> cvs checkout: cannot write Utilities/p_change.pl: No such file or directory

Hmmmm, that looks like some kind of a bug/incompatibility in cygwin.
You need to ask the cygwin folks what would cause

open(".new.p_change.pl", O_WRONLY | O_CREAT | O_TRUNC, 0777)

to fail with errno set to ENOENT.
--
Larry Jones

I wonder if you can refuse to inherit the world. -- Calvin
Loading...