Bug 227335

Summary: KPackagekit fails to build on KDE SC 4.4
Product: [Unmaintained] kpackagekit Reporter: ocampagne
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED NOT A BUG    
Severity: normal CC: dantti12
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ocampagne 2010-02-17 10:59:07 UTC
Version:           0.5.4 (using KDE 4.4.0)
Compiler:          cmake 2.8.0 
OS:                Linux
Installed from:    Archlinux Packages

I have all dependencies previously installed. Following the build instructions at kde-look I obtain the following.

-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1170 (message):
Qt compiled without support for -fvisibility=hidden. This will break
plugins and linking of some applications. Please fix your Qt installation.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:5 (find_package)

The Arch devs mentioned that they compile qt with the default upstream configuration, so it shouldn't fail.

To reproduce: Build KPackagkit 0.5.4 under KDE SC 4.4
Comment 1 ocampagne 2010-02-17 13:14:24 UTC
Sorry. qt version is 4.6.2.
To reproduce is build kpackagekit 0.5.4 on KDE SC 4.4 with qt 4.6.2. I cannot confirm it would've built fine on a older qt version.
Comment 2 Daniel Nicoletti 2010-02-18 14:15:31 UTC
As the error says it's at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake
which is a KDE4 script that looks for kde libraries, this bug must be reported against another kde product which I don't know why, maybe build system if there is such product.
Thanks.