[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problems building kde     meinproc
From:       Craig Howard <kde () choward ! ca>
Date:       2005-09-09 23:56:20
Message-ID: 200509091956.20901.kde () choward ! ca
[Download RAW message or body]

On Friday 09 September 2005 19:24, Craig Howard wrote:
> My error is similar, but my system can find meinproc
> 95% compiling ./kdewidgets/kdewidgets.cpp
> 95% compiling /home/craig/local/kde/src/kdelibs/kstyles/keramik/keramik.cpp
> 95% 95% generating ./doc/kdelibs/artsmessage.1
> generating ./doc/kdelibs/checkXML.1
> 95%
> compiling
> /home/craig/local/kde/src/kdelibs/kstyles/keramik/pixmaploader.cpp 95%
> compiling /home/craig/local/kde/src/kdelibs/kstyles/keramik/gradients.cpp
> 95% compiling
> /home/craig/local/kde/src/kdelibs/kstyles/keramik/colorutil.cpp 95% 95%
> generating ./doc/kdelibs/kdeoptions.7
> generating ./doc/kdelibs/dcop.1
> mv: cannot stat `manpage.troff': No such file or directory
> Error creating ./doc/kdelibs/artsmessage.1. Exit status 1.
> mv: cannot stat `manpage.troff': No such file or directory
> Error creating ./doc/kdelibs/kdeoptions.7. Exit status 1.
> libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
> 
> This is from a clean checkout of kdelibs on gcc4 (I've successfully built
> using the new compiler in the past, but I don't think that applies in this
> case anyways).

Ok, I think I narrowed this one down.  It looks like a concurrency problem.  
It's generating 5 manpages and they're all trying to write to manpage.troff

(I've got make aliased to unsermake)

; make -n
if test -n "../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools"; then 
echo ../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools --check 
--cache ../doc/kspell/index.cache.bz2 \
                /home/craig/local/kde/src/kdelibs/doc/kspell/index.docbook; \
                ../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools --check 
--cache ../doc/kspell/index.cache.bz2 \
/home/craig/local/kde/src/kdelibs/doc/kspell/index.docbook;  fi
if test -n "../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools" && test -n 
"/home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl"; then 
echo generating ../doc/kdelibs/artsmessage.1; ../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools --check 
--stylesheet /home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl \
/home/craig/local/kde/src/kdelibs/doc/kdelibs/man-artsmessage.1.docbook;  mv \
manpage.troff ../doc/kdelibs/artsmessage.1; fi if test -n "../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools" && test -n 
"/home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl"; then 
echo generating ../doc/kdelibs/qtoptions.7; ../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools --check 
--stylesheet /home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl \
/home/craig/local/kde/src/kdelibs/doc/kdelibs/man-qtoptions.7.docbook;  mv \
manpage.troff ../doc/kdelibs/qtoptions.7; fi if test -n "../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools" && test -n 
"/home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl"; then 
echo generating ../doc/kdelibs/checkXML.1; ../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools --check 
--stylesheet /home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl \
/home/craig/local/kde/src/kdelibs/doc/kdelibs/man-checkXML.1.docbook;  mv \
manpage.troff ../doc/kdelibs/checkXML.1; fi if test -n "../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools" && test -n 
"/home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl"; then 
echo generating ../doc/kdelibs/kdeoptions.7; ../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools --check 
--stylesheet /home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl \
/home/craig/local/kde/src/kdelibs/doc/kdelibs/man-kdeoptions.7.docbook;  mv \
manpage.troff ../doc/kdelibs/kdeoptions.7; fi if test -n "../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools" && test -n 
"/home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl"; then 
echo generating ../doc/kdelibs/dcop.1; ../kdoctools/meinproc 
--srcdir=/home/craig/local/kde/src/kdelibs/kdoctools --check 
--stylesheet /home/craig/local/kde/src/kdelibs/kdoctools/customization/kde-man.xsl \
/home/craig/local/kde/src/kdelibs/doc/kdelibs/man-dcop.1.docbook;  mv manpage.troff \
../doc/kdelibs/dcop.1; fi

You'll notice that each one of those commands is trying to write to 
manpage.troff.  When I run this, some of the 5 succeed and some fail.

; make
../kdoctools/meinproc --srcdir=/home/craig/local/kde/src/kdelibs/kdoctools 
--check 
--cache ../doc/kspell/index.cache.bz2 \
/home/craig/local/kde/src/kdelibs/doc/kspell/index.docbook generating \
../doc/kdelibs/artsmessage.1 generating ../doc/kdelibs/kdeoptions.7
generating ../doc/kdelibs/dcop.1
generating ../doc/kdelibs/checkXML.1
generating ../doc/kdelibs/qtoptions.7
mv: cannot stat `manpage.troff': No such file or directory
Error creating ../doc/kdelibs/artsmessage.1. Exit status 1.
mv: cannot stat `manpage.troff': No such file or directory
Error creating ../doc/kdelibs/kdeoptions.7. Exit status 1.

Now, if I run make again, with only two to generate, no problems.

; make
generating ../doc/kdelibs/artsmessage.1
generating ../doc/kdelibs/kdeoptions.7
; make

I don't know enough about the build system to know where to start fixing this 
one, but I hope this is enough info to help someone else fix this.
-- 

Craig Howard
 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic