FS#15311 - [man-db] Missing images / depends

Attached to Project: Arch Linux
Opened by kujub (kujub) - Monday, 29 June 2009, 08:09 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 04 October 2009, 16:35 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Images are missing when doing 'man -H<browser> kill' or similar to display some man page as HTML. (in the kill page look at paragraph synopsis and signals) The images are generated as empty png files below /tmp/. This makes man-db unusable when using a browser because essential parts like synopsis are missing on some pages.

Packages psutils and netpbm are needed to be installed. Please add to depends or at least optdepends.


Additional info:
* package version(s)

Steps to reproduce:
Hint: To get the page displayed in firefox you need a wrapper adding some sleep, because firefox forks and returns before it displays the page causing man to remove the tmp files.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 04 October 2009, 16:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  commited to trunk for next groff build
Comment by Roman Kyrylych (Romashka) - Monday, 29 June 2009, 10:00 GMT
Adding psutils or netpbm as depends is certainly not a way to go, we're trying to keep Core clean.
I'm also not sure why we should do any special wrapper for firefox. :-/
Comment by Jan de Groot (JGC) - Monday, 29 June 2009, 11:32 GMT
As said in the debian bugreport: groff should have netpbm and psutils as optdepends. man-db doesn't use these tools directly in any way. As for the firefox wrapper: when there's a firefox window open already, there's no way to detect the fact that firefox has loaded the images. This issue hits many other browsers like epiphany, seamonkey and probably konqueror also. Let's see what the upstream maintainer comes up with, but until then I don't think we should add a wrapper script specifically for firefox.
Comment by kujub (kujub) - Monday, 29 June 2009, 13:54 GMT
I only mentioned the wrapper issue here to help anyone who wants to verify the bug by trying himself. ;)
Comment by Andreas Radke (AndyRTR) - Friday, 04 September 2009, 22:23 GMT
added tobias beeing the groff maintainer.
Comment by Andreas Radke (AndyRTR) - Sunday, 04 October 2009, 16:18 GMT
the man-db maintainer mailed me this:

"I don't think this is my problem - in any case, the optdepends probably
belongs on your groff package, not man-db, as groff is the thing that
invokes those programs."

I'll add those 2 packages as optdepends to groff.