groff results in empty pngs (pnm* tools not on system)

Jeremy Huddleston jeremyhu at
Wed Jun 16 15:00:10 PDT 2010

In the process of building libX11, I noticed that a ton of empty  
images are being created.

The command that results in the empty images is:
~/src/freedesktop/src/libX11/specs/XIM (master) $ /usr/bin/groff -e -t  
-ms -dxV="libX11 1.3.4" -I. ../../specs/macros.t -Thtml -P-Dimages -P- 
Ixim-image 2> index.xim.html.raw > xim.html

~  $ ls -al /usr/X11/share/doc/libX11/specs/XIM/images/
total 0
drwxr-xr-x 61 root wheel 2074 Jun 16 12:15 .
drwxr-xr-x  6 root wheel  204 Jun 16 12:15 ..
-rw-r--r--  1 root wheel    0 Jun 16 11:48 xim-image1.png
-rw-r--r--  1 root wheel    0 Jun 16 11:48 xim-image10.png

The stderr from the above command shows a bunch of lines like:
Calling `pnmcut 165 158 583 397 < /var/folders/82/3fx+36+h6bh12wg5m 
+xpm4ym++++fn/T/groff-page-KcEGLl | pnmcrop -quiet | pnmtopng - 
background rgb:f/f/f -transparent rgb
:f/f/f > images/xim-image1.png
' returned status 32512

There is no pnmcut available on the system.  Why are pnm* getting run  
by groff?  Is that something that "we" (X11) have setup (and should  
therefore be checking in util-macros), or is that a dependency of  
groff which Mac OSX is not shipping (and I should therefore bug  
someone else).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3333 bytes
Desc: not available
URL: <>

More information about the xorg-devel mailing list