This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with autoconf-2.52 testsuite using current CVS Cygwin


 > Chuck, I tested your version and well ......it did not
 > perform nowhere near as good....and yes it produced
 > errors with file collisions..

Hmmm...I like the the version at courtesan.com; it's much better than 
mine.  The main difference is in the implementation of mkdtemp() and 
portability.  Anyway, I rebuilt autoconf (with the courtesan-mktemp.exe 
installed), and re-ran the tests, under stock cygwin-1.3.2.

It worked fine.

Then, I re-ran the tests (without rebuilding autoconf) but after having 
replaced cgywin1.dll with cygwin1-20010728.dll.

Some of the tests failed.  Interestingly, even on tests that passed, I 
get a lot of errors like this:

rm: cannot change to directory `1/2': Permission denied
rm: cannot remove directory `1': Directory not empty

ls -lF <build-dir>/tests/1 shows:
d--------- 0 cwilson None     0 Jul 29 17:30 2/

Note that the directory <build-dir>/tests/1/2/ was NOT created by mktemp 
or any of its brethren.  .../1/2 was directly created by the testing 
script -- but then cannot be removed.

This looks like a cygwin1.dll problem with file (directory?) creation, 
not mktemp implementations.

Hmm...try this:

$ mkdir foo
$ ls -ldF foo
drwxrwxr-x    2 cwilson None     0 Jul 29 18:40 foo/
$ rmdir foo

$ mkdir -p foo/bar
$ ls -ldF foo
drwxrwxr-x 2 cwilson None 0 Jul 29 18:40 foo/
$ ls -ldF foo/bar
d--------- 0 cwilson None 0 Jul 29 18:40 foo/bar/

Then this:

$ mkdir -p a/b/c/d/e/f
mkdir: cannot chdir to directory, `a/b': Permission denied

It looks like there's a problem with 'mkdir -p' in cygwin-CVS.  I'll dig 
around and see what's changed in there recently...unless anybody already 
knows offhand?

--Chuck


mkdir -

--Chuck





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]