This is the mail archive of the cygwin@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]
Other format: [Raw text]

Re: A bug in makewhatis?


Hello Igor -

I really can't answer your questions now. I rolled my version of "makewhatis" back to one with a date of 12/16/2002 and everything works fine again. As I recall, the permissions on the whatis file were the usual -rw-r--r--. I know I was shown as the owner. I was able to delete the file manually using "rm" from within Cygwin. It was always created just as the makewhatis tool started.

As I said, the older version of makewhatis works without problems.

- Jack

Igor Pechtchanski wrote:
On Thu, 1 May 2003, John R Lyon wrote:


After a recent upgrade of Cygwin, I find that "makewhatis" does not
terminate normally.

This error message appears twice:

/usr/sbin/makewhatis: line 355: /var/cache/man/whatis: cannot overwrite
existing file

and it creates a zero-length file called "whatis" in /var/cache/man.
I've removed this file prior to running makewhatis only to have it
reappear in its zero-length condition when makewhatis terminates
unsuccessfully.

This happens on both XP and Win 2000 installations of Cygwin.
- Jack


Jack,

What are the permissions on that zero-length file?  Are you logging in as
a domain user?  Is that user in /etc/passwd?  Are all the relevant groups
in /etc/group?  Please attach the output of "cygcheck -svr" as per
<http://cygwin.com/problems.html>, and post the output of "ls -l
/var/cache/man/whatis" and "ls -ld /var/cache/man".
	Igor



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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