Bug 24289

Summary: man page build failure
Product: xorg Reporter: Oswald Buddenhagen <ossi>
Component: Lib/XiAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: marcoz, memsize, peter.hutterer
Version: git   
Hardware: Other   
OS: All   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:

Description Oswald Buddenhagen 2009-10-03 07:25:18 UTC
libXi/man (master) > make XChangeDeviceDontPropagateList.3
/usr/bin/asciidoc -b docbook -d manpage -o XChangeDeviceDontPropagateList.xml /home/ossi/src/dl/xorg/lib/libXi/man/XChangeDeviceDontPropagateList.txt
/usr/bin/xmlto man XChangeDeviceDontPropagateList.xml
Note: meta source : no *info/productname or alternative            XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta source : see http://docbook.sf.net/el/productname       XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta source : no refentry/refmeta/refmiscinfo@class=source   XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta version: no *info/productnumber or alternative          XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta version: see http://docbook.sf.net/el/productnumber     XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta version: no refentry/refmeta/refmiscinfo@class=version  XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Warn: meta source : no fallback for source, so inserted a fixme    XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta manual : no titled ancestor of refentry                 XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual   XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta manual : see http://docbook.sf.net/el/refmiscinfo       XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Warn: meta manual : no fallback for manual, so inserted a fixme    XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Warn: meta author : no refentry/info/author                        XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: meta author : see http://docbook.sf.net/el/author            XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Warn: meta author : no author data, so inserted a fixme            XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList
Note: Writing XChangeDeviceDontPropagateList,_XGetDeviceDontPropagateList.libmansuffix
mv -f XChangeDeviceDontPropagateList.libmansuffix XChangeDeviceDontPropagateList.man
mv: cannot stat `XChangeDeviceDontPropagateList.libmansuffix': No such file or directory
make: *** [XChangeDeviceDontPropagateList.man] Error 1
rm XChangeDeviceDontPropagateList.xml
Comment 1 Julien Cristau 2009-10-03 07:40:56 UTC
On Sat, Oct  3, 2009 at 07:25:19 -0700, bugzilla-daemon@freedesktop.org wrote:

> libXi/man (master) > make XChangeDeviceDontPropagateList.3
> /usr/bin/asciidoc -b docbook -d manpage -o XChangeDeviceDontPropagateList.xml

what version of asciidoc is this?
Comment 2 Oswald Buddenhagen 2009-10-03 09:30:20 UTC
8.4.4 per debian unstable.
Comment 3 Julien Cristau 2009-10-03 09:40:52 UTC
> --- Comment #2 from Oswald Buddenhagen <ossi@kde.org>  2009-10-03 09:30:20 PST ---
> 8.4.4 per debian unstable.

you need 8.4.5 for the Xi manpages generation to work, afaik.
Comment 4 Oswald Buddenhagen 2009-10-03 09:43:13 UTC
well, then at least configure needs to be fixed.
Comment 5 Peter Hutterer 2009-10-05 22:04:33 UTC
(In reply to comment #4)
> well, then at least configure needs to be fixed.

how can we check for the asciidoc version in configure?
Comment 6 Oswald Buddenhagen 2009-10-06 01:03:37 UTC
asciidoc --version | sed -n 's,^asciidoc \(.*\)$,\1,p'
would extract the version. not sure how to best proceed from there. maybe there is some pre-made autoconf macro to compare versions or at least convert a version string to an easily ascii-comparable hex number (like 0x080405), otherwise it's some additional sed magic. you might also use a direct egrep regexp on the original string.
Comment 7 Peter Hutterer 2009-10-06 04:27:31 UTC
hm. i was hoping there was some automatic options rather than reverting to sed magic.
Comment 8 Jeremy Huddleston Sequoia 2011-10-06 11:34:20 UTC
Is this still an issue with all the doc-fu that has happened in the past 2 
years?
Comment 9 Oswald Buddenhagen 2011-10-06 23:45:57 UTC
this was fixed by commit 93aca158

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.