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

Bug 258400

Summary: [kde-testing] With '+kdeprefix' set, KDE-4.3 install compiles against files in KDE-4.2 installation
Product: Gentoo Linux Reporter: Rick Harris <rickfharris>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: critical    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rick Harris 2009-02-10 04:24:21 UTC
One example seen of this so far is akonadi-4.2.61 as it fails with undefined references when it links against kdepimlibs in /usr/kde/4.2/..., here's a CMake snippet ...

<snip>
-- Found the KDE4 kconfig_compiler preprocessor: /usr/kde/4.3/bin/kconfig_compiler                                                                           
-- Found automoc4: /usr/bin/automoc4                                                                                                                         
-- Found KdepimLibs: /usr/kde/4.2/lib/KdepimLibs-4.2.0/cmake/KdepimLibsConfig.cmake
</snip>

There may well be other packages that compile fine but may exhibit some strange and odd bugs at runtime.

I propose that we add the following line to kde4-base.eclass to ensure the correct files are compiled against.

# Ensure we compile against the correct KDE-4.x files
mycmakeargs="${mycmakeargs} -DCMAKE_PREFIX_PATH=${PREFIX}"
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-12 21:40:33 UTC
should be fixed in testing eclass, tho you wont be able to compile snapshots right now ;( blame upstream for weird naming conventions