Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258400 - [kde-testing] With '+kdeprefix' set, KDE-4.3 install compiles against files in KDE-4.2 installation
Summary: [kde-testing] With '+kdeprefix' set, KDE-4.3 install compiles against files i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 04:24 UTC by Rick Harris
Modified: 2009-02-12 21:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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