kdepim: build hang (trunk)

Dmitrij S. Kryzhevich krege_lists at sibmail.com
Tue Nov 24 16:46:56 CET 2009


I'm trying to build KDE from trunk (r. 1053354) and can't build kdepim 
(kdebindings the same, but it is not a problem in trunk). After 
globalsettings_base.cpp and globalsettings_base.h were generated they can't be 
compiled. They are in kmail part of kdepim. Gcc process hang in top, "eating" 
100% of core and about 669Mb of memory (growing with time).

Some additional info.
cmake runs with Fedora 12 specific arguments:
-DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS:BOOL=ON -
DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -
DDATA_INSTALL_DIR:PATH=/usr/share/kde4/apps -
DINCLUDE_INSTALL_DIR:PATH=/usr/include/kde4 -DLIB_INSTALL_DIR:PATH=/usr/lib64 
-DLIBEXEC_INSTALL_DIR:PATH=/usr/libexec/kde4 -DSYSCONF_INSTALL_DIR:PATH=/etc -
DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON ..

Distro, sure, Fedora 12 (x86_64).

Logs:
[ 36%] Building CXX object 
kmail/CMakeFiles/kmailprivate.dir/globalsettings_base.o
cd /builddir/build/BUILD/kdepim-4.3.77/x86_64-redhat-linux-gnu/kmail && 
/usr/lib64/ccache/c++   -DMAKE_KMAILPRIVATE_LIB -D_BSD_SOURCE -
D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -
D_REENTRANT -DKDE_DEPRECATED_WARNINGS -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -
m64 -mtune=generic  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-
align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-
exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual 
-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -
fexceptions -UQT_NO_EXCEPTIONS -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -
I/builddir/build/BUILD/kdepim-4.3.77/x86_64-redhat-linux-gnu/kmail -
I/builddir/build/BUILD/kdepim-4.3.77/kmail -
I/builddir/build/BUILD/kdepim-4.3.77 -
I/builddir/build/BUILD/kdepim-4.3.77/x86_64-redhat-linux-gnu -
I/builddir/build/BUILD/kdepim-4.3.77/libkdepim -
I/builddir/build/BUILD/kdepim-4.3.77/x86_64-redhat-linux-gnu/libkdepim -
I/builddir/build/BUILD/kdepim-4.3.77/libksieve -
I/builddir/build/BUILD/kdepim-4.3.77/mimelib -
I/builddir/build/BUILD/kdepim-4.3.77/libkleo -
I/builddir/build/BUILD/kdepim-4.3.77/messagelist -I/usr/include/kde4 -
I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/QtScriptTools -
I/usr/include/QtXmlPatterns -I/usr/include/QtWebKit -I/usr/include/QtHelp -
I/usr/include/QtAssistant -I/usr/include/QtDBus -I/usr/include/QtTest -
I/usr/include/QtUiTools -I/usr/include/QtScript -I/usr/include/QtSvg -
I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -
I/usr/include/QtNetwork -I/usr/include/QtDesigner -I/usr/include/Qt3Support -
I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -
I/usr/lib64/qt4/mkspecs/default   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o 
CMakeFiles/kmailprivate.dir/globalsettings_base.o -c 
/builddir/build/BUILD/kdepim-4.3.77/x86_64-redhat-linux-
gnu/kmail/globalsettings_base.cpp

Generated cpp file: http://pastebin.com/m316086fe (will be acceptable during a 
month).

# gcc -v
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --
enable-bootstrap --enable-shared --enable-threads=posix --enable-
checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-
exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-
c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --
with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-
multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-
ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic 
--with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC)

cmake 2.8.0, kdelibs and kdepimlibs the same version as kdepim

Build is in chroot (mock build).

Any help to build kdepim?

-- 

Regards,
Dmitrij S. Kryzhevich


More information about the Kde-buildsystem mailing list