Bug 226091 - Documentation generation hangs indefinitely
Summary: Documentation generation hangs indefinitely
Status: RESOLVED DUPLICATE of bug 209025
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 02:05 UTC by Henrik Pauli
Modified: 2010-02-11 03:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Strace of the CheckXML meinproc4 command run. (36.21 KB, application/x-gzip)
2010-02-10 02:07 UTC, Henrik Pauli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Pauli 2010-02-10 02:05:42 UTC
Version:            (using KDE 4.4.0)
Compiler:          GCC 4.4.2 Configured with: /var/uhubuild/work/compile/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++ --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --build=i686-uhu-linux --host=i686-uhu-linux --target=i686-uhu-linux --enable-targets=all --with-arch-32=i686 --with-arch-64=core2 --with-cpu-32=i686 --with-cpu-64=core2 --disable-multilib --with-tune=generic
OS:                Linux
Installed from:    Compiled From Sources

We’ve noticed this earlier with 4.3.x and have turned off KDE documentation with -DBUILD_doc=FALSE, but since it’s still an issue with 4.4.0, I’m finally reporting it.  No one else seems to be having this problem, so I’m at a loss entirely.

During compilation (kdelibs and some, but not all of the other packages), meinproc4 will hang, waiting for something indefinitely.  I noticed earlier that not all of the XML files cause this, so I could (if I was bored enough to do it) just patch them out one by one from the build process, and leave the rest of them in.

Here’s the bit of the compile output before it locks up:

kio_help4(28319) KBzip2Filter::compress:   bzCompress returned  4
kio_help4(28319) KBzip2Filter::terminate: bzCompressEnd returned  0
[ 98%] Built target rlogin-handbook
Scanning dependencies of target telnet-handbook
[ 98%] Generating index.cache.bz2
kio_help4(28332) KBzip2Filter::compress:   bzCompress returned  4
kio_help4(28332) KBzip2Filter::terminate: bzCompressEnd returned  0
[ 98%] Built target telnet-handbook
Scanning dependencies of target webdav-handbook
[ 98%] Generating index.cache.bz2
kio_help4(28345) KBzip2Filter::compress:   bzCompress returned  4
kio_help4(28345) KBzip2Filter::terminate: bzCompressEnd returned  0
[ 98%] Built target webdav-handbook
Scanning dependencies of target checkXML-manpage-man-checkXML
[ 98%] Generating checkXML.1
Writing checkXML.1 for refentry

And here’s the pstree of the make call (although I kinda expect Bugzilla to mangle it):

ub_make -eu /usr/bin/ub_make MAN1EXT=1 MAN2EXT=2 MAN3EXT=3 MAN4EXT=4 MAN5EXT=5 MAN6EXT=6 MAN7EXT=7 MAN8EXT=8
  └─make -j1 MAN1EXT=1 MAN2EXT=2 MAN3EXT=3 MAN4EXT=4 MAN5EXT=5 MAN6EXT=6 MAN7EXT=7 MAN8EXT=8
      └─make -f CMakeFiles/Makefile2 all
          └─make -f doc/checkXML/CMakeFiles/checkXML-manpage-man-checkXML.dir/build.make doc/checkXML/CMakeFiles/checkXML-manpage-man-checkXML.dir/build
              └─sh -c cd /var/uhubuild/work/compile/build/doc/checkXML && ../../bin/meinproc4.shell --stylesheet /var/uhubuild/work/compile/kdoctools/docbook/xsl/manpages/docbook.xsl --check --srcdir=/var/uhubuild/work/compile/kdoctools/ /var/uhubuild/work/compile/doc/checkXML/man-checkXML.1.docbook
                  └─meinproc4.shell ../../bin/meinproc4.shell --stylesheet /var/uhubuild/work/compile/kdoctools/docbook/xsl/manpages/docbook.xsl --check --srcdir=/var/uhubuild/work/compile/kdoctools/ /var/uhubuild/work/compile/doc/checkXML/man-checkXML.1.docbook
                      └─meinproc4 --stylesheet /var/uhubuild/work/compile/kdoctools/docbook/xsl/manpages/docbook.xsl --check --srcdir=/var/uhubuild/work/compile/kdoctools/ /var/uhubuild/work/compile/doc/checkXML/man-checkXML.1.docbook

I also attempted to strace it within the build system chroot by running:
strace -u uhubuild -ff -o /tmp/checkxml.strace ../../bin/meinproc4.shell --stylesheet /var/uhubuild/work/compile/kdoctools/docbook/xsl/manpages/docbook.xsl --check --srcdir=/var/uhubuild/work/compile/kdoctools/ /var/uhubuild/work/compile/doc/checkXML/man-checkXML.1.docbook

to which it output that /root/.kde4 cannot be created (certainly, the uhubuild user doesn’t have sufficient rights to that, but this should not happen during a compilation anyway...).  I will attach the resulting strace files as a single tar.gz


How do we go about fixing this?  Any ideas welcome, and if there’s more input needed, I’ll try to provide it.
Comment 1 Henrik Pauli 2010-02-10 02:07:46 UTC
Created attachment 40628 [details]
Strace of the CheckXML meinproc4 command run.
Comment 2 Henrik Pauli 2010-02-11 03:04:21 UTC
Brown paper bag.  Forgot I ever posted this before (and search didn’t turn up with anything...)

*** This bug has been marked as a duplicate of bug 209025 ***