[Nas] Malformed man pages

Jon Trulson jon at radscan.com
Wed Oct 12 19:27:49 MDT 2011

On Wed, 12 Oct 2011, Jon Trulson wrote:

> On Wed, 12 Oct 2011, Steve McIntyre wrote:
>> On Sun, Oct 09, 2011 at 12:45:58PM -0600, Jon Trulson wrote:
>>> On Sun, 9 Oct 2011, Erik Auerswald wrote:
>>>> Hi,
>>>> On 10/09/2011 07:50 PM, Steve McIntyre wrote:
>>>>> I've had a weird bug reported (http://bugs.debian.org/639543) against
>> I've just done exactly that and looked again. Looking right at the end
>> of the build process, I'm seeing:
>> ========================================================================
>> .....
>> if test -z "true" ; then \
>>           cd `dirname SoWrFile` && \
>>           ln -s `basename SoWrFile.man` `basename SoWrFile._man`; \
>>        else \
>>                     cpp -undef -traditional
>> -D__apploaddir__=/etc/X11/app-def
> [...]
> I think you are right Steve something is wrong here.  I do not see you
> symptoms, but I see other oddities.  For reference, I will include a
> snippet that I see:

Ok, so I didn't want to wait for the weekend :)  Two issues (at least
for me):

1. man pages being preprocessed.  Not sure when this changed, but it
seems xorg's imake rules do this by default on linux now.  Lazy
programmers, sigh.  Attached is a patch for nas that should make them
stop.  Please try it.

2.  After I made this change, the man pages were generated properly
again.  However, I also had the kubuntu nas-devel package installed,
which supplies gzip compressed (and broken) man pages.  I removed this
package.  Then after building nas:

man install
make install.man

'man AuStartFlow' and friends look correct again.

And to be sure, I then rebuilt nas again from scratch with the
installed dev bits I'd just compiled and installed.  Man pages seem
fine still.  Yay.

Let me know what you find.

Jon Trulson

Q:  How many IBM CPU's does it take to do a logical right shift?
A:  33.  1 to hold the bits and 32 to push the register.
-------------- next part --------------
Index: config/NetAudio.tmpl
--- config/NetAudio.tmpl	(revision 281)
+++ config/NetAudio.tmpl	(working copy)
@@ -53,6 +53,10 @@
 #endif /* WIN32 */
+/* Some recent xorg breakage? We do not need to preprocess man pages. */
+#undef DontPreprocessManPages
+#define DontPreprocessManPages YES
  * Older X11 systems used to define SharedLibX and friends if the
  * installed X11 system was built with shared libs.   Newer X11's use

More information about the Nas mailing list