app-text/pandoc installs /usr/share/man/man5/pandoc_markdown.5.bz2 in 0600 permission. It (as is expected) should be 444 at least, and is now making mandb(1) and makewhatis(1) issue errors. Reproducible: Always Steps to Reproduce: 1. emerge app-text/pandoc # whether ~1.8.1.1-r1 in portage or ~1.9.1.1 in the gentoo-haskell overlay. 2. sudo -u man mandb # Or makewhatis, depending on whether you are using sys-apps/man-db or not. 3. ls -l /usr/share/man/man5/pandoc_markdown.5.bz2 Actual Results: 2. mandb: can't open /usr/share/man/man5/pandoc_markdown.5.bz2: Permission denied 3. -rw------- 1 root root 13537 Mar 8 00:48 /usr/share/man/man5/pandoc_markdown.5.bz2 Expected Results: 2. mandb(1) runs as expected. (which depends on 3:) 3. should be `-r--r--r--' at least. Possibly should be reported upstream, but I don't have that much time to confirm it is not a gentoo issue...
Can you check if =app-text/pandoc-1.9.1.2 has the issue (they are the same in overlay and in portage). Upgrade fixed ithe issue for me. It was one of the changes (uses installOrdinaryFiles instead of copyFiles) in Setup.hs.
Solved for me, thanks!