From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 5.1) Description of problem: Running man-1.5i-6 from rawhide (this is broken on the Seawolf shipping version too, although I can't remember its version number offhand). Running makewhatis on its own (to use default manpath) or makewhatis -w to use manpath=man --path. In either case, the script processes the first token in the path OK but when it comes to the second and any subsequent elements, it simply skips them. I think the problem is at line 146 of the makewhatis script. First time around the loop, this test is negative because /var/cache/man/whatis doesn't exist. Next time though, it does exist because it was created by the first iteration of the loop so it simply drops through the "skipping - did it already" branch. I haven't quite been able to figure what this test is here for, but if somebody could fix it that would be great How reproducible: Always Steps to Reproduce: 1. Run makewhatis (with or without -w) 2. 3. Actual Results: New whatis database created containing only man pages in first directory specified in manpath Expected Results: Should have populated whatis database with man pages in any directory specified in manpath Additional info:
Created attachment 21202 [details] make makewhatis (man-1.5h1-20) process all manpath-directories
Fixed in 1.5i2-2 (the real fix is to ignore the -u flag if there is no previous whatis database)