[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i386/1898: XF4 Corrupted Man Page




>Number:         1898
>Category:       i386
>Synopsis:       Corrupted Man Page Halts make install on XF4 v4.1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 25 12:50:02 MDT 2001
>Last-Modified:
>Originator:     J.C. Roberts
>Organization:
net
>Release:        XF4 -current
>Environment:
	System      : OpenBSD 2.9
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
make install fails on XF4 v4.1.0 (-current) due to a corrupted man
page (XdbeGetVisualInfo / XdbeGetV*) in the
/usr/XF4/xc/doc/man/Xext/dbe/ directory.

----- Begin Error Message ------
install -o root -g wheel -m 444 README.i386 /usr/X11R6/README
/usr/libexec/makewhatis /usr/X11R6/man
Weird subject line in usr/X11R6/man/cat3/XdbeGetVisualInfo.0:
       XdbeGetVisulaInfo
Can't parse /usr/X11R6/man/cat3/XdbeGetVisualInfo.0 (not a manpage ?)
------ End Error Message ---

After using the fix below that just prevents this man page from being
installed, if you look at the preceding man page
(XdbeGetBackBufferAttributes) that is installed just before the one
named in the error (XdbeGetVisualInfo), you'll notice how the subject
line on it seems a bit long and contains no spaces. weird. Whether
this is relevant to the error is unknown.


>How-To-Repeat:
If your XF4 source is in /usr/XF4 
# cd /usr/XF4
# cvs -d $CVS_ROOT up -PAd
# make
# make install

>Fix:
This is _NOT_ the correct way to fix the problem but it does get you
past the install error. In a nutshell, you're preventing the install
of the problem man page by commenting it out in the make files.

# chmod 0777 Makefile Imakefile
# vi Imakefile
comment out these two lines:
    InstallManPageLong(XdbeGetV,$(MANDIR),XdbeGetVisualInfo)
    InstallManPage(XdbeGetV,$(MANDIR))

# vi Makefile
comment out everything between:
    all:: XdbeGetV.$(MANNEWSUFFIX)
and through
    cleandir::
       $(RM) XdbeGetV.0

All this does is stop the supposedly corrupted man page from
installing and allows the make install to finish properly but it does
_NOT_ really fix the problem. Unfortunately I know virtually nothing
about nroff, troff and groff and the tbl format used in man page
files. I've looked over the XdbeGetV.man and XdbeGetB.man files (and
their ._man versions) in the /usr/XF4/xc/doc/man/dbe directory but
don't really know what I'm looking at, let alone what I'm looking for.

I hope this helps.

Best Regards,
JCR

>Audit-Trail:
>Unformatted: