Bug 318496 - does not compile within emerge subsystem
Summary: does not compile within emerge subsystem
Status: RESOLVED FIXED
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: buildsystem (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
: 318411 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-17 09:59 UTC by Przemek
Modified: 2013-05-24 14:12 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Przemek 2013-04-17 09:59:15 UTC
The error message is:


emerge debug: using sourcedir: p:\build\kdesupport\phonon-vlc-0.5.0-1\work\phonon-backend-vlc-0.6.1
emerge debug: cmake -G "NMake Makefiles"  -DCMAKE_CXX_FLAGS=-DWIN32 -DPHONON_BUILDSYSTEM_DIR="p:/share/phonon/buildsyste
m;p:/share/phonon-buildsystem"  -DCMAKE_INSTALL_PREFIX="p:/" -DCMAKE_INCLUDE_PATH="p:/include" -DCMAKE_LIBRARY_PATH="p:/
lib" -DCMAKE_PREFIX_PATH="p:/" -DCMAKE_BUILD_TYPE=RelWithDebInfo "p:\build\kdesupport\phonon-vlc-0.5.0-1\work\phonon-bac
kend-vlc-0.6.1"
emerge debug: executing command: cmake -G "NMake Makefiles"  -DCMAKE_CXX_FLAGS=-DWIN32 -DPHONON_BUILDSYSTEM_DIR="p:/shar
e/phonon/buildsystem;p:/share/phonon-buildsystem"  -DCMAKE_INSTALL_PREFIX="p:/" -DCMAKE_INCLUDE_PATH="p:/include" -DCMAK
E_LIBRARY_PATH="p:/lib" -DCMAKE_PREFIX_PATH="p:/" -DCMAKE_BUILD_TYPE=RelWithDebInfo "p:\build\kdesupport\phonon-vlc-0.5.
0-1\work\phonon-backend-vlc-0.6.1"
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works
CMake Error at /lib/cmake/phonon/PhononTargets.cmake:66 (message):
  The imported target "Phonon::phononexperimental" references the file

     "//lib/phononexperimental.lib"

  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)

The file p:/lib/phononexperimental.lib DOES exist, probably double // before lib/ is the problem.
I am not cmake expert so I couldn't fix it myself...

Reproducible: Always

Steps to Reproduce:
compile kde with emerge
after some time error message occurs.

Actual Results:  
does not compile (couldn't pass configuration phase)

Expected Results:  
compile successfully
Comment 1 Hannah von Reth 2013-04-17 12:14:10 UTC
Git commit a7c921fb7764a16b3b476de0cdb98bb9343fc077 by Patrick von Reth.
Committed on 17/04/2013 at 14:09.
Pushed by vonreth into branch 'kde-4.10'.

Revert "updated cmake to 2.8.11-rc1"

This reverts commit 3757fdfc29287ce8a3fc4506179469400f897836.
This will fix some cmake related build issues, where cmake couldnt fine
files located on a windows root partition.

M  +1    -4    portage/dev-util/cmake/cmake-2.8.4.2011622.py

http://commits.kde.org/emerge/a7c921fb7764a16b3b476de0cdb98bb9343fc077
Comment 2 Hannah von Reth 2013-04-17 12:53:49 UTC
*** Bug 318411 has been marked as a duplicate of this bug. ***
Comment 3 Przemek 2013-04-18 09:50:49 UTC
I have updated emerge to latest git (commit 5ff7783e4), re-installed cmake (emerge ---update cmake) and the problem still occurs. 
Additionaly, I have updated all remaining packaged to recent versions.

Anything I can do?
Comment 4 Przemek 2013-04-19 10:34:58 UTC
Hi again,

Reopening bug (see comment 3)

Moreover I have removed phonon-vlc from depencencies so that it is ommited in the process, and the same issue shows up with another library:

-- Looking for include files sys/types.h, sys/mman.h
-- Looking for include files sys/types.h, sys/mman.h - found
-- Found Qt-Version 4.8.4 (using p:/bin/qmake.exe)
CMake Error at /lib/cmake/grantlee/GrantleeTargets.cmake:66 (message):
  The imported target "grantlee_core" references the file

     "//lib/grantlee_core.lib"

  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/grantlee/GrantleeTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /lib/cmake/grantlee/GrantleeConfig.cmake:54 (include)
  kdeui/tests/proxymodeltestsuite/CMakeLists.txt:50 (find_package)


-- Configuring incomplete, errors occurred!