Klocwork Project Analysis
Ragaeeb Haq
Ragaeeb.Haq at klocwork.com
Thu Sep 11 02:21:45 CEST 2008
Hi Mark,
Thank you for the reply. While trying to build the Amarok project, here
is problem we ran into:
I tried to follow your instructions on using kdelibs, but here is where
I am having the problem:
[klocwork at ops kdesvn-build-1.6.2]$ ./kdesvn-build --pretend Unable to
open configuration file!
We looked for:
./kdesvn-buildrc
/home/klocwork/.kdesvn-buildrc
kdesvn-build will continue using a default set of options. These
options may not apply to you, so feel free to visit the kdesvn-build
homepage
http://kdesvn-build.kde.org/
and access the kdesvn-build documentation. Also the latest release
package will have a sample configuration file that you can edit to your
liking.
<<< Build Process >>>
Would have run svn up --non-interactive Building qt-copy (1/15)
Waiting for source code update.
Source update complete for qt-copy: 0 files affected.
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
qt-copy doesn't need to be installed.
Would have run svn up --non-interactive
Would have run svn up --non-interactive
Overall time for qt-copy was 0 seconds.
Building kdesupport (2/15)
Waiting for source code update.
Source update complete for kdesupport: 0 files affected.
Would have run svn co --non-interactive
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu kdeedu
Would have run svn co --non-interactive
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork kdenetwork
Preparing build system for kdesupport.
Would have cleaned build system for kdesupport
Would have created kdesupport's build system.
Would have created /home/klocwork/kdesvn/build/kdesupport
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdesupport
-DBUILD_phonon=OFF -DCMAKE_CXX_FLAGS=-pipe
-DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdesupport.
Would have run make install
Would have installed kdesupport
Overall time for kdesupport was 0 seconds.
Building phonon (3/15)
Waiting for source code update.
Source update complete for phonon: 0 files affected.
Preparing build system for phonon.
Would have cleaned build system for phonon
Would have created phonon's build system.
Would have created /home/klocwork/kdesvn/build/phonon
Running cmake...
Would have run cmake /home/klocwork/kdesvn/phonon
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing phonon.
Would have run make install
Would have installed phonon
Overall time for phonon was 0 seconds.
Building kdelibs (4/15)
Waiting for source code update.
Source update complete for kdelibs: 0 files affected.
Preparing build system for kdelibs.
Would have cleaned build system for kdelibs
Would have created kdelibs's build system.
Would have created /home/klocwork/kdesvn/build/kdelibs
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdelibs
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdelibs.
Would have run make install
Would have installed kdelibs
Overall time for kdelibs was 0 seconds.
Building kdepimlibs (5/15)
Waiting for source code update.
Source update complete for kdepimlibs: 0 files affected.
Preparing build system for kdepimlibs.
Would have cleaned build system for kdepimlibs
Would have created kdepimlibs's build system.
Would have created /home/klocwork/kdesvn/build/kdepimlibs
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdepimlibs
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdepimlibs.
Would have run make install
Would have installed kdepimlibs
Overall time for kdepimlibs was 0 seconds.
Building kdebase (6/15)
Waiting for source code update.
Source update complete for kdebase: 0 files affected.
Preparing build system for kdebase.
Would have cleaned build system for kdebase
Would have created kdebase's build system.
Would have created /home/klocwork/kdesvn/build/kdebase
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdebase
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdebase.
Would have run make install
Would have installed kdebase
Overall time for kdebase was 0 seconds.
Building kdeartwork (7/15)
Waiting for source code update.
Source update complete for kdeartwork: 0 files affected.
Preparing build system for kdeartwork.
Would have cleaned build system for kdeartwork
Would have created kdeartwork's build system.
Would have created /home/klocwork/kdesvn/build/kdeartwork
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdeartwork
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdeartwork.
Would have run make install
Would have installed kdeartwork
Overall time for kdeartwork was 0 seconds.
Building kdemultimedia (8/15)
Waiting for source code update.
Source update complete for kdemultimedia: 0 files affected.
Preparing build system for kdemultimedia.
Would have cleaned build system for kdemultimedia
Would have created kdemultimedia's build system.
Would have created /home/klocwork/kdesvn/build/kdemultimedia
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdemultimedia
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdemultimedia.
Would have run make install
Would have installed kdemultimedia
Overall time for kdemultimedia was 0 seconds.
Building kdepim (9/15)
Waiting for source code update.
Source update complete for kdepim: 0 files affected.
Preparing build system for kdepim.
Would have cleaned build system for kdepim
Would have created kdepim's build system.
Would have created /home/klocwork/kdesvn/build/kdepim
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdepim
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdepim.
Would have run make install
Would have installed kdepim
Overall time for kdepim was 0 seconds.
Building kdeutils (10/15)
Waiting for source code update.
Source update complete for kdeutils: 0 files affected.
Preparing build system for kdeutils.
Would have cleaned build system for kdeutils
Would have created kdeutils's build system.
Would have created /home/klocwork/kdesvn/build/kdeutils
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdeutils
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdeutils.
Would have run make install
Would have installed kdeutils
Overall time for kdeutils was 0 seconds.
Building kdegraphics (11/15)
Waiting for source code update.
Source update complete for kdegraphics: 0 files affected.
Preparing build system for kdegraphics.
Would have cleaned build system for kdegraphics
Would have created kdegraphics's build system.
Would have created /home/klocwork/kdesvn/build/kdegraphics
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdegraphics
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdegraphics.
Would have run make install
Would have installed kdegraphics
Overall time for kdegraphics was 0 seconds.
Building kdegames (12/15)
Waiting for source code update.
Source update complete for kdegames: 0 files affected.
Preparing build system for kdegames.
Would have cleaned build system for kdegames
Would have created kdegames's build system.
Would have created /home/klocwork/kdesvn/build/kdegames
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdegames
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdegames.
Would have run make install
Would have installed kdegames
Overall time for kdegames was 0 seconds.
Building kdetoys (13/15)
Waiting for source code update.
Source update complete for kdetoys: 0 files affected.
Preparing build system for kdetoys.
Would have cleaned build system for kdetoys
Would have created kdetoys's build system.
Would have created /home/klocwork/kdesvn/build/kdetoys
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdetoys
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdetoys.
Would have run make install
Would have installed kdetoys
Overall time for kdetoys was 0 seconds.
Building kdeedu (14/15)
Waiting for source code update.
Source update complete for kdeedu: 0 files affected.
Preparing build system for kdeedu.
Would have cleaned build system for kdeedu
Would have created kdeedu's build system.
Would have created /home/klocwork/kdesvn/build/kdeedu
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdeedu
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdeedu.
Would have run make install
Would have installed kdeedu
Overall time for kdeedu was 0 seconds.
Building kdenetwork (15/15)
Waiting for source code update.
Source update complete for kdenetwork: 0 files affected.
Preparing build system for kdenetwork.
Would have cleaned build system for kdenetwork
Would have created kdenetwork's build system.
Would have created /home/klocwork/kdesvn/build/kdenetwork
Running cmake...
Would have run cmake /home/klocwork/kdesvn/kdenetwork
-DCMAKE_CXX_FLAGS=-pipe -DCMAKE_INSTALL_PREFIX=/home/klocwork/kde
Compiling, attempt 1...
Would have run make -j2
Build succeeded after 0 seconds.
Installing kdenetwork.
Would have run make install
Would have installed kdenetwork
Overall time for kdenetwork was 0 seconds.
<<< Build Done >>>
<<< PACKAGES SUCCESSFULLY BUILT >>>
qt-copy
kdesupport
phonon
kdelibs
kdepimlibs
kdebase
kdeartwork
kdemultimedia
kdepim
kdeutils
kdegraphics
kdegames
kdetoys
kdeedu
kdenetwork
[klocwork at ops kdesvn-build-1.6.2]$ ./kdesvn-build Unable to open
configuration file!
We looked for:
./kdesvn-buildrc
/home/klocwork/.kdesvn-buildrc
kdesvn-build will continue using a default set of options. These
options may not apply to you, so feel free to visit the kdesvn-build
homepage
http://kdesvn-build.kde.org/
and access the kdesvn-build documentation. Also the latest release
package will have a sample configuration file that you can edit to your
liking.
Script started processing at Fri Aug 22 12:19:02 2008 <<< Build Process
>>> Building qt-copy (1/15)
Waiting for source code update.
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)
Source update complete for qt-copy: 3 files affected.
Compiling, attempt 1...
Unable to build qt-copy!
Took 10 minutes, and 19 seconds.
Overall time for qt-copy was 12 minutes, and 7 seconds.
Building kdesupport (2/15)
Waiting for source code update.
Source update complete for kdesupport: 850 files affected.
Preparing build system for kdesupport.
Running cmake...
Unable to configure kdesupport with CMake!
Overall time for kdesupport was 1 second.
Building phonon (3/15)
Waiting for source code update.
Source update complete for phonon: 10 files affected.
Preparing build system for phonon.
Running cmake...
Unable to configure phonon with CMake!
Overall time for phonon was 0 seconds.
Building kdelibs (4/15)
Waiting for source code update.
Source update complete for kdelibs: 347 files affected.
Preparing build system for kdelibs.
Running cmake...
Unable to configure kdelibs with CMake!
Overall time for kdelibs was 1 second.
Building kdepimlibs (5/15)
Waiting for source code update.
Source update complete for kdepimlibs: 26 files affected.
Preparing build system for kdepimlibs.
Running cmake...
Unable to configure kdepimlibs with CMake!
Overall time for kdepimlibs was 1 second.
Building kdebase (6/15)
Waiting for source code update.
Source update complete for kdebase: 1097 files affected.
Preparing build system for kdebase.
Running cmake...
Unable to configure kdebase with CMake!
Overall time for kdebase was 0 seconds.
Building kdeartwork (7/15)
Waiting for source code update.
Source update complete for kdeartwork: 97 files affected.
Preparing build system for kdeartwork.
Running cmake...
Unable to configure kdeartwork with CMake!
Overall time for kdeartwork was 1 second.
Building kdemultimedia (8/15)
Waiting for source code update.
Source update complete for kdemultimedia: 154 files affected.
Preparing build system for kdemultimedia.
Running cmake...
Unable to configure kdemultimedia with CMake!
Overall time for kdemultimedia was 0 seconds.
Building kdepim (9/15)
Waiting for source code update.
Source update complete for kdepim: 469 files affected.
Preparing build system for kdepim.
Running cmake...
Unable to configure kdepim with CMake!
Overall time for kdepim was 1 second.
Building kdeutils (10/15)
Waiting for source code update.
Source update complete for kdeutils: 120 files affected.
Preparing build system for kdeutils.
Running cmake...
Unable to configure kdeutils with CMake!
Overall time for kdeutils was 8 seconds.
Building kdegraphics (11/15)
Waiting for source code update.
Source update complete for kdegraphics: 155 files affected.
Preparing build system for kdegraphics.
Running cmake...
Unable to configure kdegraphics with CMake!
Overall time for kdegraphics was 17 seconds.
Building kdegames (12/15)
Waiting for source code update.
Source update complete for kdegames: 131 files affected.
Preparing build system for kdegames.
Running cmake...
Unable to configure kdegames with CMake!
Overall time for kdegames was 24 seconds.
Building kdetoys (13/15)
Waiting for source code update.
Source update complete for kdetoys: 0 files affected.
Preparing build system for kdetoys.
Running cmake...
Unable to configure kdetoys with CMake!
Overall time for kdetoys was 2 seconds.
Building kdeedu (14/15)
Waiting for source code update.
bunzip2: kdeedu-svn.tar.bz2 is not a bzip2 file.
Use of uninitialized value in concatenation (.) or string at
./kdesvn-build line 1692.
Unable to decompress snapshot for kdeedu:
Source update complete for kdeedu: 7241 files affected.
Preparing build system for kdeedu.
Running cmake...
Unable to configure kdeedu with CMake!
Overall time for kdeedu was 11 minutes, and 55 seconds.
Building kdenetwork (15/15)
Waiting for source code update.
bunzip2: kdenetwork-svn.tar.bz2 is not a bzip2 file.
Use of uninitialized value in concatenation (.) or string at
./kdesvn-build line 1692.
Unable to decompress snapshot for kdenetwork:
Source update complete for kdenetwork: 4798 files affected.
Preparing build system for kdenetwork.
Running cmake...
Unable to configure kdenetwork with CMake!
Overall time for kdenetwork was 2 minutes, and 30 seconds.
<<< Build Done >>>
<<< PACKAGES FAILED TO BUILD >>>
qt-copy - ~/kdesvn/log/2008-08-22-04/qt-copy/build-1.log
kdesupport - ~/kdesvn/log/2008-08-22-04/kdesupport/cmake.log
phonon - ~/kdesvn/log/2008-08-22-04/phonon/cmake.log
kdelibs - ~/kdesvn/log/2008-08-22-04/kdelibs/cmake.log
kdepimlibs - ~/kdesvn/log/2008-08-22-04/kdepimlibs/cmake.log
kdebase - ~/kdesvn/log/2008-08-22-04/kdebase/cmake.log
kdeartwork - ~/kdesvn/log/2008-08-22-04/kdeartwork/cmake.log
kdemultimedia - ~/kdesvn/log/2008-08-22-04/kdemultimedia/cmake.log
kdepim - ~/kdesvn/log/2008-08-22-04/kdepim/cmake.log
kdeutils - ~/kdesvn/log/2008-08-22-04/kdeutils/cmake.log
kdegraphics - ~/kdesvn/log/2008-08-22-04/kdegraphics/cmake.log
kdegames - ~/kdesvn/log/2008-08-22-04/kdegames/cmake.log
kdetoys - ~/kdesvn/log/2008-08-22-04/kdetoys/cmake.log
kdeedu - ~/kdesvn/log/2008-08-22-04/kdeedu/cmake.log
kdenetwork - ~/kdesvn/log/2008-08-22-04/kdenetwork/cmake.log
Script finished processing at Fri Aug 22 12:46:30 2008 Your logs are
saved in /home/klocwork/kdesvn/log/2008-08-22-04
Let me know if you need the .log files.
Ragaeeb Haq
Klocwork
Professional Services
613-836-8899x323
Ragaeeb.Haq at klocwork.com
http://www.klocwork.com
-----Original Message-----
From: Mark Kretschmann [mailto:m.kretschmann at gmail.com]
Sent: Wednesday, September 10, 2008 1:37 PM
To: Ragaeeb Haq
Cc: amarok-devel at kde.org
Subject: Re: Klocwork Project Analysis
On 8/8/08, Ragaeeb Haq <Ragaeeb.Haq at klocwork.com> wrote:
> We are having some trouble building the Amarok project. The problems
> seem to be related to the KDE libraries. Are there any libraries or
> suggestions that you can provide us that will facilitate the build
> process?
Ragaeeb, could you please elaborate on what specifically is causing
you trouble to build, and maybe attach a log? We will do everything to
help you if you provide more details.
In general, Amarok 2 (from SVN trunk) needs the following dependencies:
* KDElibs 4.1
* KDEbase/runtime 4.1
* TagLib 1.5 (from the KDEsupport module)
* Qt 4.4 (needed by KDE)
We are still very keen on getting Amarok 2 analyzed by Klocwork. Hope
to hear back from you :)
--
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org
More information about the Amarok-devel
mailing list