Mantis - pkgconfig
Viewing Issue Advanced Details
1747 regular use minor always 2006-08-16 22:24 2009-05-10 15:43
jeff SunFire V250  
dam Solaris 9 (sparc) Generic  
normal 117171-14  
closed  
0.20 fixed  
none    
none  
0001747: manual page fails to pass through nroff(1)
When you attempt to read the pkg-get(1) manual page using Sun\'s standard nroff(1), there is no output. This is due to the .DW and .DE macros at the top of the source file. if you eliminate these lines, the manual page will then format properly.

Apparently, these custom macros are an attempt to work around some nutty problem in groff(1).
cat pkg-config.1 | | tbl | nroff -h -man | col -x | less -s

There is no output. Delete the first 224 lines in the file and repeat. Everything is fine.
More work will have to be done to rectify all problems if support for nroff/troff/gnroff/groff is desired.
Issue History
2009-04-19 21:50 dam Assigned To komadori => dam
2009-04-19 21:50 dam Note Added: 0005984
2009-04-19 21:50 dam Status closed => feedback
2009-04-19 21:50 dam Resolution fixed => reopened
2009-04-19 21:51 dam Status feedback => assigned
2009-04-23 13:35 dam Note Added: 0006010
2009-04-23 13:35 dam Status assigned => resolved
2009-04-23 13:35 dam Resolution reopened => fixed
2009-05-10 15:43 dam Note Added: 0006083
2009-05-10 15:43 dam Status resolved => closed

Notes
(0003740)
james   
2006-08-17 04:38   
A workaround is to pre-format the page with groff and package in man/cat - but if editing the page works do that.

See /opt/csw/man/cat1/groff.1. Trust the groff writers to not understand nroff :-)

Some people periodically purge (rm) man/cat or run catman -c so be careful, chmod -w is a hint. Machines are now so fast, have been for years, I never cache in cat.
(0003755)
komadori   
2006-08-19 22:22   
I have submitted a new package with the offending macros removed.
(0005984)
dam   
2009-04-19 21:50   
I wasn't aware of this issue when I released an updated package and apparently the fix was not pushed upstream.
(0006010)
dam   
2009-04-23 13:35   
Fixed in 0.23,REV=2009.04.23
(0006083)
dam   
2009-05-10 15:43   
Released to current