Bug 318411

Summary: Problem of compiling kde with emerge.
Product: [Unmaintained] kde-windows Reporter: mparchet <mparchet>
Component: buildsystemAssignee: KDE-Windows <kde-windows>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vonreth
Priority: NOR    
Version: 4.10   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mparchet 2013-04-15 22:11:14 UTC
Hello,
I followed the instruction as indicated in “Getting started/build/windows/emerge” because I need  kdepimlibs, kde4-config and akonadi to make a program.
I compile on a mac on windows 7 32 bit using bootcamp. I have already compiled emerge qt. My computer has been compiling   kdelibs for 33 hours. After this time, I got a fatal error.


Could you help me ?

Best regards

mparchet


Reproducible: Always

Steps to Reproduce:
1. compile phonon-vlc-0.5.0-1
2.
3.
Actual Results:  
creating: r:\build\kdesupport\phonon-vlc-0.5.0-1\work\mingw4-RelWithDebInfo-0.6.
1
entering: r:\build\kdesupport\phonon-vlc-0.5.0-1\work\mingw4-RelWithDebInfo-0.6.
1
emerge debug: cmake -G "MinGW Makefiles"  -DCMAKE_CXX_FLAGS=-DWIN32 -DPHONON_BUI
LDSYSTEM_DIR="r:/share/phonon/buildsystem;r:/share/phonon-buildsystem"  -DCMAKE_
INSTALL_PREFIX="r:/" -DCMAKE_INCLUDE_PATH="r:/include" -DCMAKE_LIBRARY_PATH="r:/
lib" -DCMAKE_PREFIX_PATH="r:/" -DCMAKE_BUILD_TYPE=RelWithDebInfo "r:\build\kdesu
pport\phonon-vlc-0.5.0-1\work\phonon-backend-vlc-0.6.1"
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: r:/mingw/bin/gcc.exe
-- Check for working C compiler: r:/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: r:/mingw/bin/g++.exe
-- Check for working CXX compiler: r:/mingw/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /lib/cmake/phonon/PhononTargets.cmake:66 (message):
  The imported target "Phonon::phononexperimental" references the file

     "//lib/libphononexperimental.dll.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/lib/cmake/phonon/PhononTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /lib/cmake/phonon/PhononConfig.cmake:18 (include)
  cmake/modules/FindPhonon.cmake:9 (find_package)
  CMakeLists.txt:7 (find_package)


-- Configuring incomplete, errors occurred!
emerge fatal error: while running configure cmd: cmake -G "MinGW Makefiles"  -DC
MAKE_CXX_FLAGS=-DWIN32 -DPHONON_BUILDSYSTEM_DIR="r:/share/phonon/buildsystem;r:/
share/phonon-buildsystem"  -DCMAKE_INSTALL_PREFIX="r:/" -DCMAKE_INCLUDE_PATH="r:
/include" -DCMAKE_LIBRARY_PATH="r:/lib" -DCMAKE_PREFIX_PATH="r:/" -DCMAKE_BUILD_
TYPE=RelWithDebInfo "r:\build\kdesupport\phonon-vlc-0.5.0-1\work\phonon-backend-
vlc-0.6.1"
emerge fatal error: running python r:\emerge\portage\kdesupport\phonon-vlc\phono
n-vlc-0.5.0-1.py compile
emerge debug: Task: Emerge stopped after: 1 day, 9:56:49.335000
r:\>loLL v

Expected Results:  
I would like to continue the compilation if you think that it's the good way to compile kdepimlibs, kde4-config and akonadi
Comment 1 mparchet 2013-04-17 12:50:01 UTC
Hello,

I have make a mistake in step reproduce.

Here is the correct step.

1. Switch to git checkout kde-4.10
2  :r: or kdevent
3. Compile emerge qt
4. Compile kdelibs.

This process can take several houres. to accelerate the process I deactivated the antivirus program.

I recommended to do a complete virus annalyse after all compiles.

Best regards

mparchet
Comment 2 Hannah von Reth 2013-04-17 12:53:49 UTC
Please update emerge and then reinstall cmake.
"cd emerge
git pull
emerge -i cmake
emerge kdelibs"

*** This bug has been marked as a duplicate of bug 318496 ***
Comment 3 mparchet 2013-04-17 19:38:32 UTC
Hello,

Good work, I compiled kdelibs witch successfuly.

Tanks again.

Best regards

mparchet