Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 256828

Summary: KTorrent 3.2-beta1-r1 does not build with KDE 4.2
Product: Gentoo Linux Reporter: Jan-Erik Skata <jeskata>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aagaande
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan-Erik Skata 2009-01-29 19:46:39 UTC
KTorrent does not build after installing KDE 4.2. Seems the cmakefile needs adaptation.

# emerge ktorrent
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-p2p/ktorrent-3.2_beta1-r1
 * ktorrent-3.2beta1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...                                                        
>>> Unpacking ktorrent-3.2beta1.tar.bz2 to /var/tmp/portage/net-p2p/ktorrent-3.2_beta1-r1/work                                                                  
>>> Source unpacked.                                                            
>>> Configuring source in /var/tmp/portage/net-p2p/ktorrent-3.2_beta1-r1/work/ktorrent-3.2beta1 ...                                                             
loading initial cache file /var/tmp/portage/net-p2p/ktorrent-3.2_beta1-r1/temp/gentoo_common_config.cmake                                                       
-- The C compiler identification is GNU                                         
-- The CXX compiler identification is GNU                                       
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc               
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works      
-- Detecting C compiler ABI info                                                
-- Detecting C compiler ABI info - done                                         
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++             
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works    
-- Detecting CXX compiler ABI info                                              
-- Detecting CXX compiler ABI info - done                                       
-- Looking for Q_WS_X11                                                         
-- Looking for Q_WS_X11 - found                                                 
-- Looking for Q_WS_WIN                                                         
-- Looking for Q_WS_WIN - not found.                                            
-- Looking for Q_WS_QWS                                                         
-- Looking for Q_WS_QWS - not found.                                            
-- Looking for Q_WS_MAC                                                         
-- Looking for Q_WS_MAC - not found.                                            
-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)                                
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so 
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found                                                                         
-- Looking for gethostbyname                                                    
-- Looking for gethostbyname - found                                            
-- Looking for connect                                                          
-- Looking for connect - found                                                  
-- Looking for remove                                                           
-- Looking for remove - found                                                   
-- Looking for shmat                                                            
-- Looking for shmat - found                                                    
-- Looking for IceConnectionNumber in ICE                                       
-- Looking for IceConnectionNumber in ICE - found                               
-- Found X11: /usr/lib64/libX11.so                                              
-- Looking for include files CMAKE_HAVE_PTHREAD_H                               
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                       
-- Looking for pthread_create in pthreads                                       
-- Looking for pthread_create in pthreads - not found                           
-- Looking for pthread_create in pthread                                        
-- Looking for pthread_create in pthread - found                                
-- Found Threads: TRUE                                                          
-- Found Automoc4: /usr/bin/automoc4                                            
-- Found Perl: /usr/bin/perl                                                    
-- Performing Test _OFFT_IS_64BIT                                               
-- Performing Test _OFFT_IS_64BIT - Success                                     
-- Performing Test HAVE_FPIE_SUPPORT                                            
-- Performing Test HAVE_FPIE_SUPPORT - Success                                  
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL                              
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success                    
-- Performing Test __KDE_HAVE_GCC_VISIBILITY                                    
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success                          
-- Phonon Version: 4.2.0                                                        
-- Found Phonon: /usr/lib64/libphonon.so                                        
-- Found Phonon Includes: /usr/include/KDE;/usr/include                         
-- Found KDE 4.2 include dir: /usr/kde/4.2/include                              
-- Found KDE 4.2 library dir: /usr/kde/4.2/lib64                                
-- Found the KDE4 kconfig_compiler preprocessor: /usr/kde/4.2/bin/kconfig_compiler                                                                              
-- Found automoc4: /usr/bin/automoc4                                            
-- Found GMP: /usr/include                                                      
-- checking for module 'qca2'                                                   
--   found qca2, version 2.0.1                                                  
-- Found QCA2: /usr/lib64/qca2/libqca.so                                        
-- Strigi API needs 'signed char'                                               
-- Found Strigi: /usr/lib64/libstreams.so                                       
CMake Error at /usr/kde/4.2/share/apps/cmake/modules/FindPlasma.cmake:13 (message):                                                                             
  FindPlasma.cmake is deprecated.  Now with KDE 4.2 Plasma is part of kdelibs   
  and automatically found using find_package(KDE4) instead.                     

  Replace the variables previously coming from FindPlasma.cmake as follows:

  PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND

  PLASMA_LIBS -> KDE4_PLASMA_LIBS

  PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already
  set anyway                                                                

  PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer
  has been found.                                                         

  If you see this error message in a module within KDE/, update it from svn,
  it has been fixed already.                                                

Call Stack (most recent call first):
  /usr/kde/4.2/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 (FIND_PACKAGE)                                                                        
  CMakeLists.txt:7 (macro_optional_find_package)                                


-- Configuring incomplete, errors occurred!
 *                                         
 * ERROR: net-p2p/ktorrent-3.2_beta1-r1 failed.
 * Call stack:                                 
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3189:  Called kde4-base_src_configure
 *             environment, line 2349:  Called cmake-utils_src_configure
 *             environment, line  787:  Called cmake-utils_src_configureout
 *             environment, line  806:  Called die                         
 * The specific snippet of code:                                           
 *       cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} "${S}" || die "Cmake failed";                                                             
 *  The die message:                                                            
 *   Cmake failed                                                               
 *                                                                              
 * If you need support, post the topmost build error, and the call stack if relevant.                                                                           
 * A complete build log is located at '/var/log/portage/net-p2p:ktorrent-3.2_beta1-r1:20090129-194509.log'.                                                     
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/ktorrent-3.2_beta1-r1/temp/environment'.                                                 
 *                                                                              

>>> Failed to emerge net-p2p/ktorrent-3.2_beta1-r1, Log file:

>>>  '/var/log/portage/net-p2p:ktorrent-3.2_beta1-r1:20090129-194509.log'

 * Messages for package net-p2p/ktorrent-3.2_beta1-r1:

 *
 * ERROR: net-p2p/ktorrent-3.2_beta1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3189:  Called kde4-base_src_configure
 *             environment, line 2349:  Called cmake-utils_src_configure
 *             environment, line  787:  Called cmake-utils_src_configureout
 *             environment, line  806:  Called die
 * The specific snippet of code:
 *       cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} "${S}" ||die "Cmake failed";
 *  The die message:
 *   Cmake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-p2p:ktorrent-3.2_beta1-r1:20090129-194509.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/ktorrent-3.2_beta1-r1/temp/environment'.
 *


Reproducible: Always
Comment 1 Anders Aagaard 2009-01-30 08:53:59 UTC
worth mentioning that the same package does build for me without issues, and did so in kde4.2rc as well, on an updated ~amd64 system.
Comment 2 Duncan 2009-01-30 10:26:49 UTC
Dup of bug #255227, which is closed WONTFIX (reason, it's beta, use the non-beta version or wait for the next beta or full 3.2) but DOES have a patch that works.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-30 11:50:24 UTC

*** This bug has been marked as a duplicate of bug 25522 ***